如何插入更新删除数据绑定文本框。 [英] how to insert update delete Databound textboxes.
本文介绍了如何插入更新删除数据绑定文本框。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将数据表列绑定到文本框(2路)。
i am数据表的数据绑定列到表单上的文本框
textBox1.DataBindings.Add(Text,dt,MedName);
和使用导航的货币管理器如
cm =(CurrencyManager)this.BindingContext [dt];
i我正在使用命令构建器对象。我可以填充并浏览记录。
i想要添加,删除,更新,此功能。
任何一个指南都可以我??????
how to bind a data table column to text box( 2 way).
i am data binding columns of a data table to text boxes on a form like
textBox1.DataBindings.Add("Text", dt, "MedName");
and using currency manager for navigation like
cm = (CurrencyManager)this.BindingContext[dt];.
i am using a command builder object. I am able to populate and navigate through records.
i want add, delete, update, functionality to this form.
Can any one guide me??????
推荐答案
阅读本文使用GridView。
Read this Article to work with GridView.
这篇关于如何插入更新删除数据绑定文本框。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文