我正在vb.net中的项目上工作,我想使用DataReader对象向comobobox添加和删除值 [英] I am Working On a Project in vb.net I want to add and Remove a value to the comobobox using the DataReader object

查看:56
本文介绍了我正在vb.net中的项目上工作,我想使用DataReader对象向comobobox添加和删除值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在vb.net中的一个项目上工作我使用数据读取器对象来向comobobox添加和删除值.

I am Working On a Project in vb.net I wnat to add and Remove a value to the comobobox using the Data Reader object

推荐答案

您想要的方式使用DataReader是不正确的. DataReader不适用于添加或删除数据.供阅读.

在这里阅读有关DataReader的信息,它将对您有所帮助.

看看这些:
使用DataReader(ADO.NET)检索数据 [ ^ ]
DataReader类 [
The way you want to use DataReader is not correct. DataReader is not for adding or removing data. It''s for reading.

Read about DataReader here and it will help you.

Look at these:
Retrieving Data Using a DataReader (ADO.NET)[^]
DataReader Class[^]


这篇关于我正在vb.net中的项目上工作,我想使用DataReader对象向comobobox添加和删除值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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