protected void GridView2_SelectedIndexChanged(object sender, EventArgs e) { DetailsView1.DataSource = admin.bookDetaile(GridView2.SelectedValue.ToString()); DetailsView1.DataBind(); }