当前位置:首页 > .NET

Cbo控件数据源绑定

大滑稽12年前 (2014-03-24).NET1574

 

//Cbo控件数据源绑定

DataTable DtType = noteType.GetTypeList("");            

cboNoteType.DataSource = DtType;            

cboNoteType.DisplayMember = "type";

扫描二维码推送至手机访问。

版权声明:本文由第★一★次发布,如需转载请注明出处。

本文链接:https://blog.wpers.net/post/75.html

标签:C#.NET
分享给朋友:

“Cbo控件数据源绑定” 的相关文章

Linq读写XML

         private List<News> GetNews(string html)    &n…

修改注册表限制软件使用次数

private void Form1_Load(object sender, System.EventArgs e){RegistryKey RootKey,RegKey; //项名为:HKEY_CURRENT_USER\Software…

c#中分页显示数据

     //c#中分页显示数据    public partial class Form1 : Form    {  …

C#修改浏览器主页

string key = @"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main";      &n…

C#获得程序集

 //获得程序集System.Reflection.Assembly assem = System.Reflection.Assembly.GetExecutingAssembly();…