Redian新闻
>
Anyone knows a simple solution to this in vb.net?
avatar
Anyone knows a simple solution to this in vb.net?# DotNet - 窗口里的风景
r*z
1
Using wizard way, I have created a dataset called DsPWR which contains a
table called PWRUser, and a datagridview to be associated with PWRUser.
The table PWRUser has a field "TIMESTAMP" to store the modified time of the
record.
The value of the field is set by the system, but I do not know how to set
the time once user has modified the row. The line 3 is wrong.
Can anyone help me for this?
1.For Each r As DataRow In Me.DsPWR.PWRUser.Rows
2. If r.RowState = DataRowState.Modifi
avatar
r*z
2
I solved it myself.
Just get rid of ".value()".

the
MMM

【在 r****z 的大作中提到】
: Using wizard way, I have created a dataset called DsPWR which contains a
: table called PWRUser, and a datagridview to be associated with PWRUser.
: The table PWRUser has a field "TIMESTAMP" to store the modified time of the
: record.
: The value of the field is set by the system, but I do not know how to set
: the time once user has modified the row. The line 3 is wrong.
: Can anyone help me for this?
: 1.For Each r As DataRow In Me.DsPWR.PWRUser.Rows
: 2. If r.RowState = DataRowState.Modifi

avatar
l*s
3
赞自问自答

【在 r****z 的大作中提到】
: I solved it myself.
: Just get rid of ".value()".
:
: the
: MMM

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。