vb.net中的代码问题 [英] A code question in vb.net

查看:110
本文介绍了vb.net中的代码问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 私有  Sub 语录BindingNavigatorSaveItem_Click( As 系统. ByVal  e  .Validate()
        .QuotationsBindingSource.EndEdit()
        .TableAdapterManager.UpdateAll( .RealinsuranceDataSet)
   结束  



Me.validate()直到最后我都不明白.您的帮助将不胜感激.

解决方案

好吧,发布代码的重点是什么大块,问他们做什么?不知道这是否是第二个 [ ^ ]或更多在那里.

这是您的项目,您必须知道该做什么的背景.请尝试了解内部情况.使用DEBUGGER逐步进行操作.
您甚至都没有告诉我们您在做什么/控制您的使用情况?

我唯一能确定的是您使用tableadapters,如果是这样的话,请在表适配器 [ ^ ]


Private Sub QuotationsBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
       Me.Validate()
       Me.QuotationsBindingSource.EndEdit()
       Me.TableAdapterManager.UpdateAll(Me.RealinsuranceDataSet)
   End Sub



the part Me.validate()up to the end I don''t understand.Your assistance will be really appreciated.

解决方案

Well, whats the point of posting code chunks here and asking about what they do? Not sure if this is the second one[^] or more are there.

It''s your project, you must be knowing the background of what it is suppose to do. Please try to see yourself about what''s happening internally. Use DEBUGGER to follow step-wise.


And also to follow from Sandeeps points.

you haven''t even told us what your doing / controls your using?

the only thing I can make out is your using tableadapters, if so read up on the subject here Table Adapters[^]


这篇关于vb.net中的代码问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆