I had created a dataset (Dataset1) and drag database table (tbl_customer) through solution explorer on dataset.
Then i create a report and add same table(tbl_customer) using ADO.NET dataset option. Drag fields on reports.
Reportviewercontrol is added on webform.
Webform is created. On page load event. here i put some code. I am totally new to this. So please help me to figure this out.
protected void Page_Load(object sender, EventArgs e)
{
string SQL = "select * from tbl_customer";
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "MyConnString";
SqlDataAdapter da = new SqlDataAdapter(SQL,conn);
DataSet1 ds = new DataSet1();
da.Fill(ds,"tbl_customer");
}
Please tell me now, how to bind report with this.
thankyou