获取TreeList绑定的数据
TreeListNode selectNode = this.TreeList1.Selection[0];
DataRowView nodeData = this.TreeList1.GetDataRecordByNode(selectNode) as DataRowView;
int attachID = Convert.ToInt32(nodeData["ProductType_ID"]);
天再高,踮起脚尖就能更接近阳光
TreeListNode selectNode = this.TreeList1.Selection[0];
DataRowView nodeData = this.TreeList1.GetDataRecordByNode(selectNode) as DataRowView;
int attachID = Convert.ToInt32(nodeData["ProductType_ID"]);