I had already provided you the cs and vb code. Just download the sample from the snippets link. You will get all the cs and vb files.
Extract and open the project with new website option in vs and then copy paste the code and html with the existing code and execute the procedure. Thats all.
Note: You need to change all the code with your database table.