Hi,

I am developing a s/w. I am trying to update data in table. While I save the data, it will update into table. I have a gridview which binds table data through dataset. While I update the changes it is not reflecting in the grid view.

What I will do inorder to update the changes into gridview.

Thanks in advance!!!!

hi
r u searching here?

following code may help you

'da is your dataadapter through you fill dataset
'ds is your dataset

dim cmb as new commandbuilder(da) 'initialize commandbuilder
da.update(ds,"tablename")

' keep in mind the primary key is essential for update
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.