Critical Problem : MyTableAdapter.Adapter.SelectCommand is null.
-
Hi i'm working with dataSetDesigner in my app,lately when i create a new tableAdapter, it's select command is null at runTime, but it configure correctly in dataSetDesigner. where is my problem and how to solve it ? thanks
Without seeing the code you use to create the new tableAdapter, it is probably impossible to tell. Post a code fragment - just the relevant bits - and use the "code block" widget to preserve any formatting. Then perhaps we can help...
I have learnt that you can not make someone love you, all you can do is stalk them and hope they panic and give in. Apathy Error: Don't bother striking any key.
-
Hi i'm working with dataSetDesigner in my app,lately when i create a new tableAdapter, it's select command is null at runTime, but it configure correctly in dataSetDesigner. where is my problem and how to solve it ? thanks
-
Hi it's simply creating new tableAdapter object from my tableAdapter class like this :
InstitutionDataSetTableAdapters.BookSalesHeaderTableAdapter adapter = new Institution.InstitutionDataSetTableAdapters.BookSalesHeaderTableAdapter();
//adapter.Adapter.SelectCommand is null at runtime