Rowupdating code behind

The above piece of code will also do the same as label in Item Template and Textbox in the Edit Item Template.

By default all the boundfields will be trasferred as Textboxes in Edit Mode.

In case of the bound field’s we need to check what column it is and need to use index of that cloumn, which is little hard and even in future if we change the column order If you see the Last Template Field part in the above code, I am using the link buttons for edit, update, delete and cancel.So am calling the method Bind Grid Data method which is overloaded . The visitors to a web site can typically be divided into two groups: the users and the administrators.Now I will show you the C# code behind file of the above ASP.

NET page that will handle different Grid View events to provide complete editing functionality.

In the above code, I set two properties Show Edit Button and Show Cancel Button of Command Field.


  1. Pingback:

  2. eric   •  

    Většina pokojů má balkon nebo zasklenou lodžii, zařízení odpovídá stáří hotelu, na pokoji je lednice (1x týdně doplňován minibar a každá osoba má denně nárok na láhev vody v rámci využití programu all inclusive nebo ultra all inclusive).

  3. eric   •  

    Of course, there is nothing wrong with this; it is a strategy that has stood the test of time.

  4. eric   •  

    See full summary » Mu-Hyuk, A Korean adopted to Australia, is a tough but very attractive street guy.

  5. eric   •  

    There’s something for everyone — if you don’t like the vibe, just wait a minute or walk a few feet.

  6. eric   •  

    These FREE performances are brought to Grand Rapids each summer by Classic Rock 97LAV.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>