编译程序时我有问题可以帮到我 [英] I have a problem when compile the program can you help me

查看:68
本文介绍了编译程序时我有问题可以帮到我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual basic中创建了一个表单,我想连接sql连接我编写代码来创建数据库和表并且没有错误但我有一条消息显示sqlException未处理无效的对象名称unc_tb在程序行(da.Fill(ds,unc_tb)和运行模式下的表格没有出现

如何解决这个问题

提前致谢

Dalia

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

推荐答案

一遍又一遍地停止发布同样的问题。当有人对你的问题有任何评论时,他们会这样做。



您还没有显示出现此问题的相关代码片段,因此几乎不可能告诉您哪里出错了。
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.


你试图填充你的数据容器(不确定你是否填写数据集,数据表等......)但填充它的方式不起作用,因为你必须有一个容器返回的unc_tb是收集的ting。



查看本网站:

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



这可以帮助你理解你的错误或问题。



希望有所帮助。
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.


这篇关于编译程序时我有问题可以帮到我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆