Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
update grid view's row
January 13, 2011
hi all, all columns in my table are having duplicates.no primary keys.i can display grid view by giving slection parameter.but when i select a perticular row ro update, i couldn't.so anyone can explain how to update grid view's selected row.
Posted Date: January 14, 2011 Points: 5
As of i know without primary key it is not possible to do insert operation to Dataset and Grid View.
Why not you create a temporary primary key attached to the Datasource (Some how Tricky).
Posted Date: January 17, 2011 Points: 5
in the gridview u can take the template field.inside the template field u can take two image buttons for edit and update each.
and then in the command events of those buttons u can write the code for editing the row and then updating the row.
.Net Developer,Global Infobase Solutions.
To post reply
Related Questions Related Questions
update grid view row
images in grid view
ASP.NET - Grid View and List View with Paging
grid view in .net mobile application
Paging in grid view
grid view, form view and detail view controls
Paging with grid view in vb.net
I have problem in displaying database in data grid view
How to get values from Grid View from a particular website .
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend