Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 silverlight 2 中,可以通过 DataGrid 向集合中添加新行。但在silverlight 3 中,如果不使用DataForm,我无法弄清楚如何做到这一点。任何想法?
在源中添加空白
lst = New genericList With { _ .field1 = "", _ .field2 = "", _ .field3 = "", _ .field4 = ""} rtnlst.Add(lst)
过去我很幸运,只需在数据源中添加一个空白行,然后在更新数据网格时检查非空值。用户只需单击空行并添加信息,更新例程就可以从那里插入值。