Following are the steps,
SqlConnection sqlConnection = new SqlConnection ( connectionString ); SqlDataAdapter sqlDataAdapter = new SqlDataAdapter ( "Select * From TableName", sqlConnection ); DataSet dataSet = new DataSet (); sqlDataAdapter.Fill ( dataSet, 4, 10, "TableName" ); GridView1.DataSource = dataSet; GridView1.DataBind ();
Siva Prasad Palaparthi, Software Engineer
|
No responses found. Be the first to respond and make money from revenue sharing program.
|