HighTechTalks DotNet Forums  

updating row in datagrid

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss updating row in datagrid in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
gayathri
 
Posts: n/a

Default updating row in datagrid - 03-02-2007 , 07:35 AM






how to update all the rows at a time in my datagrid column ...with out using
Update statement................????


Reply With Quote
  #2  
Old   
Scott M.
 
Posts: n/a

Default Re: updating row in datagrid - 03-02-2007 , 11:14 AM






You configure a DataAdapter's 4 command objects (INSERT, UPDATE, DELETE,
SELECT) and then you make changes to your local DataSet (which is indirectly
done via the DataGrid). When you want to update all the DataSet changes,
you call the update method of the DataAdapter.


"gayathri" <u32188@uwe> wrote

Quote:
how to update all the rows at a time in my datagrid column ...with out
using
Update statement................????




Reply With Quote
  #3  
Old   
gayathri
 
Posts: n/a

Default Re: updating row in datagrid - 03-02-2007 , 12:30 PM



Hi scott,
Thanks for your immediate response
i would be very thankful if u can provide me some coding regarding it..
..
Scott M. wrote:
Quote:
You configure a DataAdapter's 4 command objects (INSERT, UPDATE, DELETE,
SELECT) and then you make changes to your local DataSet (which is indirectly
done via the DataGrid). When you want to update all the DataSet changes,
you call the update method of the DataAdapter.

how to update all the rows at a time in my datagrid column ...with out
using
Update statement................????


Reply With Quote
  #4  
Old   
Scott M.
 
Posts: n/a

Default Re: updating row in datagrid - 03-02-2007 , 02:25 PM



There is a large amount of code that is involved.

Check out MSDN.micorosoft.com and query dataadapter.update.



"gayathri" <u32188@uwe> wrote

Quote:
Hi scott,
Thanks for your immediate response
i would be very thankful if u can provide me some coding regarding
it..

Scott M. wrote:
You configure a DataAdapter's 4 command objects (INSERT, UPDATE, DELETE,
SELECT) and then you make changes to your local DataSet (which is
indirectly
done via the DataGrid). When you want to update all the DataSet changes,
you call the update method of the DataAdapter.

how to update all the rows at a time in my datagrid column ...with out
using
Update statement................????




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.