Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help updating a DataSource from a DataSet

Status
Not open for further replies.

RiverGuy

Programmer
Jul 18, 2002
5,011
US
Hmmm, I would like my dataGrid to be able to update my dataSource. I'm using a DataSet though for the source. Is this totally the wrong idea? I'm thinking it might be.

Anyways, the dataAdapter I have is genereated through code. I made my update command as such for the adapter:

"Update Table Set Table.Field = @Field"

I then used the DataAdapter.Update(DataSource) method, to try and update the dataSource.

What is the best approach to this?
 
Actually I figured it out, but I'm just not finding how to get the value out of a cell in a datagrid.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top