Dear Expert,
How to remove the append row from the datagrid, when data
got child
data ? (Master/Details data in a dataset)
The following scripts only works when the data in single
level, if my
data got child when i expand from there it will be able to
append new
row.
Dim cm As CurrencyManager =
CType(Me.BindingContext(dgDataExt.DataSource,
dgDataExt.DataMember),
CurrencyManager)
CType(cm.List, DataView).AllowNew = False
Thanks.
Best Regards,
Chen Fock Siong
28-Sep-2006
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "DotNetDevelopment, VB.NET, C# .NET,
ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting"
group.
To post to this group, send email to DotNetDevelopment googlegroups.com
To unsubscribe from this group, send email to
DotNetDevelopment-unsubscribe googlegroups.com
For more options, visit this group at http
://groups.google.com/group/DotNetDevelopment
-~----------~----~----~----~------~----~------~--~---
|