datagrid -newrow() [英] datagrid -newrow()
本文介绍了datagrid -newrow()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只有一个数据网格和一个按钮。
按钮处理过程''dtmyTable.newrow()'',但是,数据网格似乎是
没有自己添加行吗?
谢谢
I only one datagrid, and one button.
the buttonwill process '' dtmyTable.newrow()'' , However, the datagrid seems
didn''t add the row byitself ??
Thanks
推荐答案
Agnes,
你的代码是什么?
dim dr as datarow = dtMyTable.NewRow()
dtMytable.rows.add(dr)
如果不这样做(你也可以用一句话来做)?
我希望有帮助吗?
: - )
Cor
"
Agnes,
Is your code something as?
dim dr as datarow = dtMyTable.NewRow()
dtMytable.rows.add(dr)
When not make it that way (you can do it in one sentence as well)?
I hope that helps?
:-)
Cor
"
我只有一个数据网格和一个按钮。
按钮处理过程' 'dtmyTable.newrow()'',但是,datagrid
似乎没有自己添加行?
谢谢
I only one datagrid, and one button.
the buttonwill process '' dtmyTable.newrow()'' , However, the datagrid seems didn''t add the row byitself ??
Thanks
谢谢Cor,
有一个名为dtMyTable.insertat的属性(dr,position)
我的网格有5行,我需要插入新的排在2之间nd和3rd
我试试dtMyTable.insertat(dr,2)。但它似乎失败了..它仍然添加到
的最后一行。
我们能做到吗?在特定行中插入一行 ????
再次感谢
" Cor Ligthert" <无********** @ planet.nl> | b?l¥ó
新闻:e6 ************** @TK2MSFTNGP12.phx.gbl¤¤??? g ...
Thanks Cor,
There is a property called dtMyTable.insertat (dr,position)
my grid got 5 rows, i need to insert the new row between 2nd and 3rd
I try dtMyTable.insertat(dr,2) . but it seems fail .. it still add to the
last row.
Can we do that "insert a row in specific row" ???
thanks again
"Cor Ligthert" <no**********@planet.nl> |b?l¥ó
news:e6**************@TK2MSFTNGP12.phx.gbl ¤¤???g...
Agnes,
你的代码是什么?
dim dr as datarow = dtMyTable.NewRow()
dtMytable.rows.add(dr)
什么时候不这样做(你也可以用一句话来做)?
我希望有帮助吗?
:-)
Agnes,
Is your code something as?
dim dr as datarow = dtMyTable.NewRow()
dtMytable.rows.add(dr)
When not make it that way (you can do it in one sentence as well)?
I hope that helps?
:-)
Cor
"
我只有一个数据网格和一个按钮。
按钮将进程''dtmyTable.newrow()'',但是,datagrid
I only one datagrid, and one button.
the buttonwill process '' dtmyTable.newrow()'' , However, the datagrid
似乎
没有自己添加行?
谢谢
didn''t add the row byitself ??
Thanks
>
您好Agnes,
我以前见过这个问题而且我没有让它工作。
也许其他人都知道这个问题。
Cor
Hi Agnes,
I have seen this problem before and I did not get it to work.
Maybe somebody else know the problem.
Cor
有一个名为dtMyTable.insertat的属性(dr,position)<我的网格去了t 5行,我需要在第2和第3之间插入新行
我尝试dtMyTable.insertat(dr,2)。但它似乎失败了..它仍然添加到
最后一行。
我们能做到吗?在特定行中插入一行 ???
再次感谢
There is a property called dtMyTable.insertat (dr,position)
my grid got 5 rows, i need to insert the new row between 2nd and 3rd
I try dtMyTable.insertat(dr,2) . but it seems fail .. it still add to the
last row.
Can we do that "insert a row in specific row" ???
thanks again
这篇关于datagrid -newrow()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文