Hi,
I have created a simple web form that contains a button and a GridView. Upon pressing the button the GridView should populate with data from a sql server database.
I have added the following code:
protected void Button1_Click(object sender, EventArgs e)
{
DataTable dt = new DataTable();
try
{
User objUser = Go to the complete details ...