Posted on: 3/22/2014 5:17:26 AM | Views : 230

i want to selct multiple rows with checkbox using shift key in gridview please help me... my code is:-
private void fillGrid() { if (Session["UserName"] == null) { Response.Redirect("~/Login.aspx"); } string post2="Center"; GridView1.DataSource = c1.SelectDs("Select Case_Ref,Forename,Email_Address,Gender,Town,Country from tbl_Fpd Where UserName='" + Session["UserName"].ToString() + "' And Post='" + post2 + "'"); GridView1.DataBind(); } protected void btnGetSelected_Click(object sender, EventArgs e) { DataTable dt = new DataTable(); dt.Columns.Add("Case_Ref"); dt.Columns.Add("Forename"); dt.Columns.Add("Email_Address"); dt.Columns.Add("Gender"); dt.Columns.Add("Town"); ...

Go to the complete details ...