>I have called a stored proc which returns a DS from SQL. I inserted a row into a table in the DS, then called:
>
>
>public void UpdateDataSet(DataSet DS, string TableName)
>{
> try
> {
> _oAdapter.Update(DS, TableName);
> }
> catch (Exception e)
> {
> _oException = e;
> }
>}
>
>
>I'm getting the exception: "Dynamic SQL generation is not supported against a SelectCommand that does not return any base table information"
>
>I need some help here.
Are you sure TableName exists as a table in the DataSet? And what are the DataAdapter's SelectCommand and UpdateCommand set to?