public BindingManagerBase BMB;//定义    BMB = this.BindingContext[this.dataSet11,"TABLEone"];    BMB = this.BindingContext[this.dataSet11.TABLEone];
    上面这两种写法有什么不同吗,为什么在增删改的时候有时第一种好使,有时第二种好使??
    时好时坏,搞不懂了~~大虾来帮忙啊,第一个答对的50给他~                                             此致     敬礼^_^

解决方案 »

  1.   

    ' Get the BindingManagerBase for the Customers table.
       bmCustomers = Me.BindingContext(ds, "Customers")   ' Get the BindingManagerBase for the Orders table using the 
       '   RelationName.
       bmOrders = Me.BindingContext(ds, "customers.CustToOrders")一般都这样用.
      

  2.   

    这主要看你是如何绑定的 ,由你的DataSource的实列
      

  3.   

    BMB = this.BindingContext[this.dataSet11.TABLEone];
    我是这样绑定的啊,和这个有啥关系么?谢谢大虾哦,我上个星星星的问题你也帮了不少忙呢~
    呵,给你的分收到了没有啊
      

  4.   

    既然你把dataset对象保存为成员对象,你直接对其操作就行了,何必转来转去。
      

  5.   

    你参看我blog上的文章即可:
    新增:http://blog.csdn.net/knight94/archive/2006/04/02/648172.aspx
    修改:http://blog.csdn.net/knight94/archive/2006/05/01/704281.aspx
      

  6.   

    to Knight94(愚翁) 
    哎````大虾我去你那里面看了,都看不懂啊,你能否简单的和小弟讲一下啊,就是能让我一看就懂的那种~在此谢过喽~
    做我老大怎么样啊?