You could take a look: protected void Page_Load(object sender, Event Args e) protected void Bind Data() protected void btn Only_Click(object sender, Image Click Event Args e) protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
From this article, you will have a clear view of the Grid View data insert, delete, and update operations.
Sql Client; public partial class _Default : System.
Hi cms9651, Form your description and code, it is hard for me to understand your problem.
But ensure that the control/link is inside the gridview, only then can we cast sender as grid view.
This code is a bit complex but just add it knowing that we may refer to it in the future.
before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).
Every one can use it to compare the new value with old ones. It's a bit different of a set up, as all the controls are in a single column (maybe this is causing the problems? I do not receive any runtime errors, so it must be logic. ASP The order in which your events are firing might be the problem.Make sure you have the same set up as the one below and modify it to suit your needs. However, now I am all confused and lost with the Grid View. In the code below I have shown how you can extract the new values from the textboxes inside the Grid View. Once, you got the values you just need to send them to the database. The Row Updating event is raised before changes to a single Data Row are applied to Teradata database.