I want to read the rows inside a user object, but when I try to fill it to a DataTable, Dts.Variables
is not a recognized namespace.
public override void PreExecute()
{
base.PreExecute();
DataTable dt = new DataTable();
OleDbDataAdapter adapter = new OleDbDataAdapter();
adapter.Fill(dt, Dts.Variables["User::CRMDataSet"].Value);
foreach (DataRow row in dt.Rows)
{
//insert what you want to do here
}
}
The available namespaces are not related as well.
May I know how can I resolve this?