Asp net gridview rowupdating boundfield Skinny girl cha lines

In this article I explained it using Bound Field In my Next Article I will show How to Edit Update Grid View Using Template Field.

There are several ways for getting those dynamically generated textbox values we use that in different scenarios.

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.

One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").I want a way to just write something like Data Source["value"] to get the value. This will cause a clash, as you will be sending two columns with the same name.If that isn't the problem, the you will need to post more code.After searching long and hard I found a great article that solved my issue.Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.

Search for asp net gridview rowupdating boundfield:

asp net gridview rowupdating boundfield-61asp net gridview rowupdating boundfield-14asp net gridview rowupdating boundfield-88

I can display the data from related table(foreign key values) but then I'm facing issue while editing the data for foreign keys.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “asp net gridview rowupdating boundfield”