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

23 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...

The downloads are not working anymore

Anonymous said...

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

nilashri 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. 

Mounika 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

Anonymous 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

Unknown said...

Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

devops online training

aws online training

data science with python online training

data science online training

rpa online training

jvimala said...

Hello, I read your blog occasionally, and I own a similar one, and I was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me insane, so any assistance is very much appreciated.
Android Training in Chennai | Best Android Training in Chennai
Matlab Training in Chennai | Best Matlab Training in Chennai
Best AWS Training in Chennai | AWS Training in Chennai
Selenium Training in Chennai | Best Selenium Training in chennai
Devops Course Training in Chennai | Best Devops Training in Chennai

Realtime Experts said...

Really very nice blog information for this one and more technical skills are improve,i like that kind of post.Automation Anywhere Training in Bangalore

raju said...

nice....
inplant training in chennai
inplant training in chennai for it.php
panama web hosting
syria hosting
services hosting
afghanistan shared web hosting
andorra web hosting
belarus web hosting
brunei darussalam hosting
inplant training in chennai

Unknown said...

Good post. I learn something new and challenging on sites I stumbleupon on a daily basis. It's always interesting to read content from other writers and practice a little something from their web sites.
Tech geek

varsha said...

I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging
AWS training in chennai | AWS training in anna nagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery

subha said...

The future of automation testing tool is on the positive tool. As the demand of quality web application keeps on increasing, the tool like Selenium IDE is getting very popular all over the world. good luck.
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

lavanya said...

I always like and such a super contents of these post.Excellent and very cool idea and great content

Java training in Chennai

Java training in Bangalore

Java training in Hyderabad

Java Training in Coimbatore

Java Online Training

Jayalakshmi said...

Amazing post found to be very impressive while going through this post. Thanks for sharing and keep posting such an informative content.
data science training in chennai

data science training in tambaram

android training in chennai

android training in tambaram

devops training in chennai

devops training in tambaram

artificial intelligence training in chennai

artificial intelligence training in tambaram

shiny said...

I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging


angular js training in chennai

angular js training in annanagar

full stack training in chennai

full stack training in annanagar

php training in chennai

php training in annanagar

photoshop training in chennai

photoshop training in annanagar

deiva 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.

java training in chennai

java training in omr

aws training in chennai

aws training in omr

python training in chennai

python training in omr

selenium training in chennai

selenium training in omr


kale said...

betmatik
kralbet
betpark
tipobet
slot siteleri
kibris bahis siteleri
poker siteleri
bonus veren siteler
mobil ödeme bahis
CCN0UW

Post a Comment