K
Kyle
I am having a major issue with strongly typed datasets. I have been
using the Server Explorer in VS.net 2003 to add tables from the
database into a DataSet. I cannot access the rows or columns of some
of the DataTables. What can I do to fix this, or why can I not do
this? I cannot find any information on the topic.
Here is an example:
TypedDataSet ds = new TypedDataSet();
// fill tables
int id = ds.Customers[0].CustomerID; <-- For some tables, this works
int id = ds.Orders*** <-- sometimes I cannot access [int] or columns
I cannot access anything like ds.Orders.OrderIDColumn. They do not
show up in the IDE and I cannot build the project. It is like they do
not exist. Please help me fix this. Thanks!
Kyle
using the Server Explorer in VS.net 2003 to add tables from the
database into a DataSet. I cannot access the rows or columns of some
of the DataTables. What can I do to fix this, or why can I not do
this? I cannot find any information on the topic.
Here is an example:
TypedDataSet ds = new TypedDataSet();
// fill tables
int id = ds.Customers[0].CustomerID; <-- For some tables, this works
int id = ds.Orders*** <-- sometimes I cannot access [int] or columns
I cannot access anything like ds.Orders.OrderIDColumn. They do not
show up in the IDE and I cannot build the project. It is like they do
not exist. Please help me fix this. Thanks!
Kyle