All columns in my dataset are read only -- How do I make them updateable
From: Hugh Barnett (hughbarnett_at_cox.net)
Date: 11/02/04
- Next message: Marius: "Re: Adding a parent for existing child row. (typed datasets)"
- Previous message: Jason L James: "Re: Typed datasets using oleDB"
- Messages sorted by: [ date ] [ thread ]
Date: 2 Nov 2004 12:09:15 -0800
Using Visual Studio wizards, I generated an Odbc connection to a
Sybase DB; an Odbc data adapter that uses stored procedures for the
select and update commands; and a data set. I added a data grid and
set the data source property to the data set and the data member
property to the stored procedure.
The columns in the data set are all read only = true, and when I run
the fill, I get the data, but nothing is updateable.
How can I make the columns updateable? I tried adding the code
DataSet1.spSelectRequests.ColorIDColumn.ReadOnly = False, thinking
that the column ColorID would become updateable, but that didn't work.
Thanks.
Hugh Barnett
National Spinning Co.
- Next message: Marius: "Re: Adding a parent for existing child row. (typed datasets)"
- Previous message: Jason L James: "Re: Typed datasets using oleDB"
- Messages sorted by: [ date ] [ thread ]