获取TreeList绑定的数据

TreeListNode selectNode = this.TreeList1.Selection[0];
DataRowView nodeData = this.TreeList1.GetDataRecordByNode(selectNode) as DataRowView;
int attachID = Convert.ToInt32(nodeData["ProductType_ID"]);

posted @ 2013-01-06 16:46  dreamfly_cc  阅读(357)  评论(0编辑  收藏  举报