[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Updating more than one row in datagrid

I want to update more than one row in datagrid.Single row updation is working perfect.But when i try to go to next rw it says insufficent key information for inserting or updating. Iam manually writing code for updation, so is it possible to capture the row change event of datagrid so i can prevent the datagrid from updating by itself?
Iam stuck up at this point, mabe one of u out there could figure an answer easily.
thanks ,
0
Rajesh_Vijayan
Asked:
Rajesh_Vijayan
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
use a disconnected recordset (set rs.activeconnection = nothing)
0
 
Rajesh_VijayanAuthor Commented:
Thanks,i have got it right from the solution u have provided.
rgds,
0
 
Éric MoreauSenior .Net ConsultantCommented:
so you need to accept this now!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now