con =new OleDbConnection("Provider=OraOLEDB.Oracle;Data Source=emr5;User ID=emr;Password=emr");
// OleDbCommand myCommand = new OleDbCommand("DisFinalhello",myConnection);
daCust=new OleDbDataAdapter("select * from UserList", con);
ds=new DataSet();
daCust.Fill(ds,"Customers");
//bind a DataGrid
this.dataGrid1.DataSource=ds.Tables["Customers"]; // Bind the controls.
textBox1.DataBindings.Add("Text", ds.Tables["Customers"],"IdentityCol");
textBox2.DataBindings.Add("Text", ds.Tables["Customers"],"actualPassword");
textBox3.DataBindings.Add("Text", ds.Tables["Customers"],"actualPassword"); //Initialize the CurrencyManager.
cm=(CurrencyManager)this.BindingContext[ds.Tables["Customers"]];
// OleDbCommand myCommand = new OleDbCommand("DisFinalhello",myConnection);
daCust=new OleDbDataAdapter("select * from UserList", con);
ds=new DataSet();
daCust.Fill(ds,"Customers");
//bind a DataGrid
this.dataGrid1.DataSource=ds.Tables["Customers"]; // Bind the controls.
textBox1.DataBindings.Add("Text", ds.Tables["Customers"],"IdentityCol");
textBox2.DataBindings.Add("Text", ds.Tables["Customers"],"actualPassword");
textBox3.DataBindings.Add("Text", ds.Tables["Customers"],"actualPassword"); //Initialize the CurrencyManager.
cm=(CurrencyManager)this.BindingContext[ds.Tables["Customers"]];
解决方案 »
- 有没有类似WebBrowser的控件能打开火狐的
- [小白问题]如何在删除父类的同时删除子类
- 验证数据是否重复
- 把结构转换为Message的LPARAM或者WPARAM(IntPtr)
- C#制作文本文件
- 你认为做华为设备的调试工程师有什么发展前景还是做程序员(asp.net(C#)+SQL)有发展???
- 【C#菜鸟一个】请教各位大大、关于Visual Studio 2010 帮助问题
- 自己写了个遍历文件夹,搜索文件中的文本的小工具
- 如何去掉mdi子窗口右上角的三个按钮?谢谢!
- 大家不要理 kinglht (爱新觉罗至尊宝) ,他现在在北村精神病医院住院呢!!
- 请问:如何修改个人信息?
- 使用哪种数据库?
谢谢!
我要的是web下的,这是win form的。
{
this.textBox.text+=temprow["your's tag_colum_name"].tostring()
}