Last post Jan 02, 2009 03:44 AM by XIII
Jan 02, 2009 03:31 AM|Spider.net|LINK
1) I create a Buttonat run time i want to write an Click event in Code behind for that control. How to create the click event at run time for the button using VB.NET.
2) I want to convert the below c# code to VB.NET
GridView1.Sorting += new GridViewSortEventHandler(GridView1_Sorting); // Covertion needed to VB.NET
Jan 02, 2009 03:44 AM|XIII|LINK
phew it's been a while since I did VB.NET but it should be like this:
Addhandler GridView1.Sorting, AddressOf GridView1_Sorting