Hello, I'm trying to assign a datatable to a CR in C# in VS2005 and I keep getting the error "Invalid Report Source". I tried a few different ways. Code below.
oRpt.Database.Tables[0].SetDataSource(oDT);
oRpt.SetDataSource(oDT);
I've validated the oDT (datatable) has rows.
Obviously, I'm doing something wrong. How to assign a datatable with rows as the datasource to a CR?
TIA
hd