首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

textbox的databind有关问题

2012-01-19 
textbox的databind问题当我写TextBox2.DataBindings.Add( Text ,dv,slname )时报错Thiscausestwobindi

textbox的databind问题
当我写
TextBox2.DataBindings.Add( "Text ",   dv,   "slname ")
时报错
This   causes   two   bindings   in   the   collection   to   bind   to   the   same   property.
Parameter   name:   binding

[解决办法]
TextBox2.DataBindings.clear()
TextBox2.DataBindings.Add( "Text ", dv, "slname ")


*****************************************************************************
欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码)

最新版本:20070212

http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html

热点排行