Click here to Skip to main content
15,886,703 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Error:-
A field or property with the name 'Comp_Id' was not found on the selected data source...
plz help me.
Posted
Comments
Michael_Jacsi 9-Jun-12 8:30am    
Can you Post some detail Description We cant understand your exact problem
krumia 9-Jun-12 9:16am    
Please post which database you are using, what is the SQL query?
Did you Google this error?

See if these help:
http://stackoverflow.com/questions/5680652/a-field-or-property-with-the-name-was-not-found-on-the-selected-data-source
http://stackoverflow.com/questions/6077904/a-field-or-property-with-the-name-was-not-found-on-the-selected-data-source
http://forums.asp.net/t/1067910.aspx/1?A+field+or+property+with+the+name+X+was+not+found+on+the+selected+data+source
Which Data Source are you using ? Can you please post the detail code for the query ?

1 solution

If you retrieve some data from a database then check the data table, a column may missing in that table with the name 'Comp_Id'
 
Share this answer
 
Comments
Tim Corey 9-Jun-12 22:33pm    
+5 - You are correct. Either the OP is asking for the Comp_Id field from a dataset that isn't passing that field back or the OP is asking SQL for that field from a table that doesn't contain that field.

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