----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Praba Message 2 in Discussion Perhaps you might be trying to insert/update using the Stored Procedure � so you can try something like this: IF (EXISTS (SELECT xx FROM xx WHERE xx = @xx AND xx2 = @xx2 )) � Do the Update � .. .. Thanks, -Praba -----Original Message----- From: BalajiKrishnan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 2:37 PM To: BDOTNET Subject: Requirment -HELP PLS New Message on BDOTNET Requirment -HELP PLS Reply Reply to Sender Recommend Message 1 in Discussion From: BalajiKrishnan Hi All, First the Data from the excel file is taken and displayed in a datagrid. Now the Data should be inserted into the database table.(The table already exist in the database) Before inserting the record I'll check whether the record exist or not in the DB table,if exist the record will be updated else inserted. Now my requirment comes here So I need to provide a edit option in the datagrid. Once the particular record is edited i cannot update the record in the DB Table.Bcos the record may or may not be there in the db table. So how can i do this.......... thanks in advance. Balaji View other groups in this category. ----------------------------------------------------------- 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]
