BiteByter Posted February 1, 2007 Posted February 1, 2007 I am populating a datatable directly from an oledbdatareader. My SQL query is using a bunch of aggregate functions so I didn't want to use the same field names in the datatable. So I keep getting this error: System.ArgumentException: Column 'ColumnName' does not belong to table . at System.Data.DataRow.GetDataColumn(String columnName) at System.Data.DataRow.get_Item(String columnName) at search.getlist() Any ideas? Also this is a ASP application. I'm guessing it has something to do with table mappings. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.