We must add this below Namespace for getting OleDbDataAdapter class:
using System.Data.OleDb;
private void fill_Shipping()
{
OleDbDataAdapter Oda = new OleDbDataAdapter();
DataSet ds = new DataSet();
Oda.Fill(ds, rsShippingAddr, "MyTable");
DataList1.DataSource = ds;
DataList1.DataBind();
}
0 comments:
Post a Comment