我怎么能在子表中添加一行? [英] how i can add a row to child table?

查看:119
本文介绍了我怎么能在子表中添加一行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我打算用C#中的janus网格编写一个主细节网格,我可以在根表中添加行但是我不能添加行到< b>子表。

i写了一行代码,用于向子表添加行但是将行添加到根表。

这是我的代码:

hello
I am going to code a master detail grid using janus grid in C#, i can add rows to root table but i can't add rows to child table.
i wrote a line code for add row to child table but that add row to root table.
This is my code:

gridEX1.RootTable.ChildTables[0].GridEX.AddItem(dr.fldClientName, dr.fldClientIp, dr.fldClientMAC);

推荐答案

查看他们的论坛 http://www.janusys.com/controls/ [ ^ ]



不幸的是,他们的论坛没有提供解决方案的直接URL,因为网站用户界面与Outlook Express类似。所以你只需要搜索关键字&得到解决方案。如果你找不到任何东西然后发布这个问题他们的论坛,他们会支持你因为你是他们的客户。
Check their forum http://www.janusys.com/controls/[^]

Unfortunately their forum not offering direct URL of solutions because the site UI is similar to Outlook express. So you just search with keywords & get the solutions. If you can't find anything then post this question their forum, they'll support you because you're their customer.


谢谢你们!

我可以找到这个解决方案:

childRow = gridEX1.AddItem(row,gridEX1.Tables [0] .ChildTables [2]);
thank you thatraja!
I can to find this solution :
childRow = gridEX1.AddItem(row, gridEX1.Tables[0].ChildTables[2]);


这篇关于我怎么能在子表中添加一行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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