roshanstevv
Member
- Joined
- Feb 8, 2007
- Messages
- 12
- Programming Experience
- 1-3
I am using Table Adapters for retrieving the data..
I have wirtten a Query for retriving the data from the database by right clicking the table adapter and clicking on configure and choosing a correct stored procedure for the operation..( hera iam retriveing values from 4 Feilds) say name mainqueryRetrieve
now I need to retreive data by checking some conditon. I done this by right Clicking the table adapter and clicking ton add query and selecting the correct stored procedure( here iam retrieving values from 10 Feilds since there is inner joins and other tables values) say name otherQueryRetrieve
I receieve a message as shown
"The new command text return data with schema diferent from the schema of the main query.Check the quey command text if ti si not desired"
when i call the newly created method otherQueryRetrieve its don call this..it calls mainqueryRetrieve
is there any method to overcome this?
thanks in advance
I have wirtten a Query for retriving the data from the database by right clicking the table adapter and clicking on configure and choosing a correct stored procedure for the operation..( hera iam retriveing values from 4 Feilds) say name mainqueryRetrieve
now I need to retreive data by checking some conditon. I done this by right Clicking the table adapter and clicking ton add query and selecting the correct stored procedure( here iam retrieving values from 10 Feilds since there is inner joins and other tables values) say name otherQueryRetrieve
I receieve a message as shown
"The new command text return data with schema diferent from the schema of the main query.Check the quey command text if ti si not desired"
when i call the newly created method otherQueryRetrieve its don call this..it calls mainqueryRetrieve
is there any method to overcome this?
thanks in advance