Rowupdating current row
Please remember to click “Mark as Answer” on the post that helps you. Source Error: The Data Source assignment is just for the sake of the demo. The Data Control Field for the Cell knows the structure of its Cells, and will use that knowledge when you call Extract Values From Cells. So if you extract values from the 7th column, you should be fine.Please remember to click “Mark as Answer” on the post that helps you. Find Control("brief_Descrip"), Text Box) I have one Bound Field, that I am addressing as such. They are Read Only, making their values the old values.This can be beneficial to other community members reading the thread. Will i still be able to get the value for the 7th column from the dictionary? My gridview also has over 3000 rows, I display 50 rows per page. To String() ' Establishes values sent to STORED PROCEDURE item Data Source. And one Template Field for which I use Find Control. Have you checked if there is anything in the Dictionary? The Find Control won't work, as the Text Box that the Bund Field has created doesn't have the field name for ID. Please remember to click “Mark as Answer” on the post that helps you.When all you've got is a Hammer, Every Problem looks like a Nail. I don't understand your datasource lines, I have a Data Bind sub routine I call at each need to bind data. This can be beneficial to other community members reading the thread. Please remember to click “Mark as Answer” on the post that helps you.When all you've got is a Hammer, Every Problem looks like a Nail. I have done this, it only shows the correct properties for things like Sort Expression, and the other one I mentioned. (Data Bind in Page_Load without checking Is Post Back is at the top.) And you're welcome. When all you've got is a Hammer, Every Problem looks like a Nail. I wanted to update this thread with more accurate information regarding the solution that solved the problem. Public Shared Function Find Control Recursive(By Val container As Control, By Val name As String) As Control If (container. Controls Dim found Ctrl As Control = Find Control Recursive(ctrl, name) If found Ctrl Is Not Nothing Then Return found Ctrl End If Next Return Nothing End Function I hope this helps someone else. Because this Gridview is inside of a Content Placeholder ofa Master page which in itself is inside of another Content Placeholder of another Master page I had to use the following lines of code to get the above code to locate the Gridview....
New Values("brief_Descrip")) = "" Then update Description = "" Else update Description = e. To String() End If Dim update Key As Integer = row. Text If update Description = "" Or update Description = "Null" Then update Description = "Null" End If I am guessing you are Data Binding in code-behind. (Or possibly one that implements IData Source.) If so, examine the Row (use Find Control if possible) to get the Controls holding the edited values from the Cells. However, you can also examine the Cells of the Row. Cells(6), Data Control Field Cell) Dim field1Field As Bound Field = Direct Cast(field1Cell. If you use Template Fields, you should go for the Extract Values method, and extract the values from each Cell. This can be beneficial to other community members reading the thread.
I need to clean up all the scrap code and I will try and post the final solution. Thanks for your help superguppie, I truly appreciate the commitment to work through the challenges. Dim Main Content As Content Place Holder = CType(Page. Find Control("Content Place Holder1"), Content Place Holder) Dim Main Content2 As Content Place Holder = CType(Main Content.