I have refered ur article
http://www.aspsnippets.com/Articles/Simple-Insert-Select-Edit-Update-and-Delete-in-ASPNet-GridView-control.aspx
What if there are no rows in the table than how to add rows in the grid?
If i wanna use grid for entry purpose not having a single row then how could i use the above code.