关于Oledbcommand和Oledbconnection [英] Regarding Oledbcommand and Oledbconnection

查看:133
本文介绍了关于Oledbcommand和Oledbconnection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.Net 2008 IDE,并且我的oledbconnection和oledbcommand控件可见,但是当我将其拖动到组件托盘时,它没有出现.
那么解决方案是什么.

I have a .Net 2008 IDE,and my oledbconnection and oledbcommand control is visible but when I am draging it towards component tray it is not coming.
So what is the solution for it.

推荐答案

我在设计器中没有看到这些控件"中的任何一个.我现在正在使用VS2010,并且没有可用的2008,所以我不能肯定地说,但我也不记得它在那里.
I don''t see either of those "controls" in the designer. I''m using VS2010 right now, and don''t have 2008 available to me, so I can''t say for sure, but I don''t remember it being there either.


您编写此控件还是自己控制?因为我从未在工具箱中看到这些.如果这样做了,那可能就是您的问题:您只能将组件放到托盘上,而不能放到控件上.区别在于,控件具有用户界面,并且基于UserControl-组件基于Component,而没有.

这里有一些讨论: MSDN [
Did you write this control or controls yourself? Because I have never seen these in the Toolbox. If you did, that may be your problem: you can only drop Components on the tray, not Controls. The difference is that Controls have a user interface, and are based on UserControl - Components are based on Component and do not.

There is a bit of discussion on it here: MSDN[^]


这篇关于关于Oledbcommand和Oledbconnection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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