VB.NET中的自动创建表 [英] Automatic creation tables in VB.NET

查看:106
本文介绍了VB.NET中的自动创建表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我有一个问题,对于很多人来说,这可能很有趣,但是我真的是个初学者.
我正在使用Visual Basic 2010 Express,我想添加一些功能,即单击按钮后,应用程序将在数据库中创建一个新表,该表已连接到应用程序.我试图这样做,但收到了不支持创建"的错误.有谁知道该怎么做?
任何帮助将不胜感激.

最好的问候
Adam

Hello,
i have problem which for many of you can be funny, but i''m really beginner.
I''m using Visual Basic 2010 express, and i would like to add function that after clicking button, application will create a new table in database which is connected to application. i tried to do that and i received error that "create" is not supported. Have anyone idea how to do that?
Any help will be appreciated.

Best Regards
Adam

推荐答案

亚当,
这是我的第一个消息,我也不是专家.另外,我不确定是否可以发布网址,但是您可以查看此网站..
http://www.eggheadcafe.com/community/csharp/2/10044657/create-table-at-runtime.aspx [ ^ ]

无论如何,如果它仍然给出创建不受支持的错误,我想这与权限有关.希望对您有所帮助.

Burak
Hi Adam,
This is my first message here and I am not an expert either. Also, I''m not sure if it is acceptable to post a url but you could look at this website..
http://www.eggheadcafe.com/community/csharp/2/10044657/create-table-at-runtime.aspx[^]

Anyway, if it still gives create not supported error, I guess it is related to permissions. I hope it helps..

Burak


这篇关于VB.NET中的自动创建表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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