Posted on: 5/15/2013 5:42:06 PM | Views : 228

hi. dunno y it could not show the data that i have selected and click on the button.
i have to close //GridView1.DataSource = Table; //GridView1.DataBind();
is because it will comes to error like 
Both DataSource and DataSourceID are defined on 'GridView1'.  Remove one definition.  after i close //GridView1.DataSource = Table; & //GridView1.DataBind();, then it error free but there nothing show the data that i have selected and click on the button.
here my code behind
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; //to use the configurationManager using System.Data.SqlClient; // to communicate with SQL database using System.Data; //to use the dataset or datatable using System.Text; // for string builder
public ...

Go to the complete details ...