----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Clouds Message 2 in Discussion Hi ! whenever a row is changed you can update a particular row in a dataset (that row u can get by keeping the id of the rows in some hidden server field and on the click of the serverside button based on this id get the row from the dataset and update that row).. Once the user is done with the modifications .... on final submit... while saving the rows in the database using dataset.. get all the rows which are modifed using the rowstate property. Thus u will get a new dataset with only the rows modified (including changed and newly added) and send that dataset to the dataadapter.. dataadapter based on the rowstate will automatically fire either insert or update statements... and thats the beauty of ADO.NET ;) Regards Badal -----Original Message----- From: BDOTNET [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:00 AM To: [EMAIL PROTECTED] Subject: Help needed !!! New Message on BDOTNET Help needed !!! Reply Recommend Message 1 in Discussion From: PAshashijk I wanted a help on Datagrid in .Net. I have created a Editable Datagrid with Databound server controls like Labels and Textboxes. I need to update the database with the changes made in the Datagrid on click of a button (server control). How can I track the rows (multiple) changed and update the database? Shashi View other groups in this category. DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
