Rowupdating get textbox value
I've tried going into the Cells with Data Control Field Cell, but I still just get the old value. After banging my head on my desk for a little while I thought I would post the answer: Don't rebind the Grid View on Post Back! After only binding when Not Is Post Back in my Page_Load event everything works wonderfully. Josh and when I side I have this protected void gv License Split_Row Updating(object sender, Grid View Update Event Args e) The value of tbx New is always empty. NET), but the same thing can be said for Sql Data Adapter if you only use reflection. Without referencing the namespace, how would one declare a delegate's method that has a parameter type that exists in a namespace not being referenced (does that make sense? I have included some sample code to illustrate the problem. Text Bind Cart() End Sub ---------------------------------------- Bind Cart receives the datatable from another class, sets the datasource on the gridview and calls databind. Literally two minutes after posting this I found the solution. I am trying to use reflection to add an event handler for the Row Updated event of the Oracle Data Adapter object (ODP. Again, I am illustrating my problem here using Sql types, because not everyone has ODP.
Can someone take a look and see what I'm doing wrong?
Reflection; // TAKE THE FOLLOWING TWO LINES OUT TO DEPEND SOLELY ON REFLECTION using System.
Row Updating My Grid is populated with that information and has an Edit link on the Grid. My buddy sitting nexct to me figured it out by adding the If is Post Back = False on the page load. The below code grabs the values we need: (CType((row.
My buddy sitting nexct to me figured it out by adding the If is Post Back = False on the page load. The below code grabs the values we need: (CType((row.