Dynamically Templated GridView with Edit, Delete and Insert Options ( VB.NET Version)

Quite a while back I wrote an article titled “Dynamically Templated GridView with Edit, Delete and Insert Options” on aspalliance.com in which I provided complete solution to build a GridView with template fields generated at run time with in-place Insert, Delete and Edit operations. I also gave complete description to implement ITemplate interface effectively. Before writing this article I googled a lot for such a solution for my university project but I could not find any, then I had to go for my own form scratch. When I came up with this and used it in my project successfully I thought to share it with complete description.

During this period where I received lot of appreciation mails for providing this ready to use piece of functionality, I also got many mails for its VB.NET version but unfortunately I could not find time to do so. Now I have converted it into VB.NET and have also done small refactoring for ADO.NET logic.  You can download both versions from following links.


Download VB.NET Version
Download C-Sharp Version

8 comments:

Lucy said...

I have a copy of your vb code.When i click on the edit button or insert button the edit_button_Click event or insert_button_Click event are not firing. please help

Lucy said...

i changed byval e as to imageClickEventArgs from EventArgs on edit_button_click. I was getting "method does not have the same signature as delegate 'Delegate sub ImageClickEventHandler'. I have your vb code. When i click on the edit button or insert button the edit_button_Click event or insert_button_Click event are not firing. please help

Jed said...

few revisions/fixes on the VB.NET Version

•Page_Load Event doesn't have "Handles Me.Load"
•Event Handler for Edit/Update must be "ImageClickEventArgs" not "EventArgs"

Anonymous said...

dfgv

Anonymous said...

i download the vb version...its perfectly running. but i got 2 grid view after click the connect & populate button why?

Flora Liza Geslani said...

Read all the related Posts:



How to do Website Compatibility Testing (Made Simple)


7 steps to select Automated Software Testing Tools


64 Software Manual Testing Interview Questions


Why need Software Testing Tools?


Overview of Manual Software Testing


Embedded Software Testing - Overview


Automation vs Manual Software Testing


Standard definition of software testing


What parameters to consider for Performance Testing?

Anonymous said...

The downloads are not working anymore

Anonymous said...

Can you please update the VB.net download. I really need this code for VB.net

Post a Comment