Dim httz As DataTable = DataTables("合同台账")
Dim htlx As DataCol = httz.DataColS("合同类型")
Dim htmx As DataTable = DataTables("合同清单明细")
If htlx Is Nothing Then
ElseIf htlx.Name = "劳务分包、专业分包" Then
Table2 As DataCol In htmx.DataColS("项目名称"、"项目特征"、"工作内容"、"计算规则"、"分包模式"、"单位"、"暂定工程量"、"不含税单价"、"税率"、"甲供材")
ElseIf htlx.Name = "机械租赁" Then
Table2 As DataCol In htmx.DataColS("项目名称"、"规格型号"、"分包模式"、"单位"、"暂定数量"、"暂定租赁时间"、"不含税单价"、"税率")
ElseIf htlx.Name = "其他" Then
Table2 As DataCol In htmx.DataColS("项目名称"、"分包模式"、"单位"、"暂定数量"、"暂定租赁时间"、"不含税单价"、"税率")
End If