-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Ravikumarcbe
Message 10 in Discussion
Hi Sanjay, Sitaraman, Manoj, Thanx for your immediate response. My problem got
solved. I have done the database update as follows. please tell me your suggestion
Updation part involves more than one table, so for Adding a new record i have done as
1. I have created one datatable 2. Binded that newly created table to datagrid
3. Formated the datagrid 4. If I add a new record into the datatable it got
reflected in the datagrid 5. If I press the save button I'm passing(assigning to
property of bo) that datatable to bo. 6. I'm updating the various tables(database
tables) using this table by reading row by row Edit Part 1.Reading data from
the database using dataadapter and it's binded to datagrid 2.If I make any
changes in datagrid it got reflected in datagrid. 3. If I delete any rows from
the datagrid it got reflected in datagrid also.. 4. If I press the save button ,
updating in the database by( " here I'm checking the rowstate if rowstate is
DataRowState.Deleted then I'm deleting or marked as deleted in database table"
but I'm not able to access the deleted the row's information for that I did
datarow.RejectChanges() after that I done the updation " Please suggest
me this is ok or it should be changed to some other way Thanx in advance Rgds,
Ravi
-----------------------------------------------------------
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]