Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
private DBDataSet dBDataSet;
         private System.Windows.Forms.BindingSource dataBindingSource;
         private PensionerMIS.DBDataSetTableAdapters.DataTableAdapter dataTableAdapter;



when i run the program, i found the foll msg ........ dbdataset and dataTableAdapter is never assigned to and will always use its default value null,


what should i do, same code for another query is running fine, seems no change in code that what is the reason
Posted
Updated 11-Jul-11 20:26pm
v2

You are never setting the dBDataSet, dataTableAdapter.
Something like dataTableAdapter = new DataTableAdapter ( ... )
 
Share this answer
 
ok i got it, in designer class it is not automatically declaring the dataset and adapter,

u r right & thks Mr Patel
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900