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