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

18 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?

Anonymous 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

SRI said...

Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.

rpa Training in Chennai

rpa Training in bangalore

rpa Training in pune

blueprism Training in Chennai

blueprism Training in bangalore

blueprism Training in pune

rpa online training

SRI said...

Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.

selenium Training in Chennai

amazon web services Training in Chennai

rpa Training in Chennai

Saro said...

Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.

rpa Training in Chennai

rpa Training in bangalore

rpa Training in pune

blueprism Training in Chennai

blueprism Training in bangalore

blueprism Training in pune

rpa online training

Saro said...

All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.

automation anywhere training in chennai

automation anywhere training in bangalore

automation anywhere training in pune

automation anywhere online training

blueprism online training

rpa Training in sholinganallur

rpa Training in annanagar

iot-training-in-chennai

blueprism-training-in-pune

automation-anywhere-training-in-pune

Nila shri said...

Thanks Admin for sharing such a useful post, I hope it’s useful to many individuals for developing their skill to get good career.
Data Science training in marathahalli
Data Science training in btm
Data Science training in rajaji nagar
Data Science training in chennai
Data Science training in kalyan nagar
Data Science training in electronic city
Data Science training in USA
Data science training in pune



simbu said...

This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 
This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 

Mouni yoga said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
python training in pune
python online training
python training in OMR

ragul ragul said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Devops training in velachery
Devops training in annanagar
Devops training in sholinganallur

shines rose said...

Well you use a hard way for publishing, you could find much easier one!
Blueprism training in tambaram

Blueprism training in annanagar

Blueprism training in velachery

john brito said...

Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
AWS Training in Bangalore |Best AWS Training Institute in Bangalore BTM, Marathahalli
AWS Training in Chennai | AWS Training Institute in Chennai Velachery, Tambaram, OMR

Post a Comment