用这个事件:
http://www.foxtable.com/help/topics/0636.htm
for each dr As DataRow in e.Datarow.GetChildRows("订单明细表")
dr.Locked = True
Next