Hola, algo asi
Código ASP:
Ver originalSqlConnection sconn = new SqlConnection("my connecton");
sconn.Open();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM table where user='" + user +"'", sconn);
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
sconn.Close();