Rowupdating object sender gridviewupdateeventargs Niger pono photo

Posted by / 08-Jul-2017 10:39

STEP 5 : Connection with Data Set using Different connection method let’s try with first method using Data Set.In the template field I will Place a label or some controls, So that it’s very easy to access those controls in the code behind by using Find Control method. Item Template is the content to display for the items in the Template Field.

To avoid this we need to keep the property Read Only as false, Then in the edit mode nothing will happenes. The reason I use Template Field instead of Bound Field is that, it is very easy to grab those controls in the codebehind if we user labels or textboxes.open visual studio – In above screen we can see, there are five column in User Mst Table in sql.The first column is ID which is identification of user, so it must be unique.If he clicks edit (or) in the edit mode he can be able to see the Textbox.The above piece of code will also do the same as label in Item Template and Textbox in the Edit Item Template.

rowupdating object sender gridviewupdateeventargs-51rowupdating object sender gridviewupdateeventargs-73rowupdating object sender gridviewupdateeventargs-36