Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I made a form in visual basic and I want to connect with sql connection I write the code to create database and tables and there are no errors but I have a message that appear sqlException was unhandled invalid object name "unc_tb" at the line of program (da.Fill(ds,"unc_tb") and the form in run mode don't appear
How can I solve this problem
Thanks in advance
Dalia
Posted
Comments
_Vitor Garcia_ 18-Dec-12 4:29am    
How can we help without knowing anything about your issue ?
Can you post some snipet and tell in which line does it breaks and whats the exact error the compiler is throwing ?
Do you think we are such a clairvoyants we could figure it out without some kind of detailed description / code when you have it and can't ?

Stop posting the same question over and over again. When someone has anything to say about your problem, they'll do it.

You also haven't shown the relevent code snippet where this problem occurs, so it's pretty much impossible to tell you where you went wrong.
 
Share this answer
 
Comments
Thomas Daniels 18-Dec-12 9:21am    
+5!
your trying to fill your data container (not sure if your filling a dataset, datatable etc...) but the way your filling it will not work becuase you have to have a container that the returned "unc_tb" is collecting.

See this site:
http://msdn.microsoft.com/en-us/library/ms171920(v=vs.80).aspx[^]

That should help you with your mis-understanding or issue.

Hope that helps.
 
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