Dear all,
Am using Linkbutton in gridview. how to use link buttonId..
SqlConnection con = new SqlConnection(strCS);
con.Open();
SqlCommand cmd = new SqlCommand("select SchoolID from tblSchool where SchoolName='" + + "'", con);
SqlDataReader dr;
dr = cmd.ExecuteReader();
if (dr.Read())
{
SchoolID = dr[0].ToString();
}
Response.Redirect("Universitydetail.aspx?SchoolID=" + SchoolID);
//Response.Redirect("http://sharpya.in/Universitydetail.aspx?UnivID=2");
con.Close();
chandru