p1.aspx に次のドロップダウンがあります。
<select id="ListBoxViewType" style="width:160px;font-family:Tahoma;visibility:hidden;">
<option value="Amendment">Amendment</option>
<option value="Agreement">Full Terms Amendment</option>
<option value="Both">Both</option>
</select>
p2.asmx.cs でその値を取得する必要があります。
if ( <insert something like this: ListBoxViewType.Value=="Amendment">)
{
fileName = chReadData.ContractNumber +"_Amendment" +"-" + chReadData.DisplaySupplementNumber;
description = "Amendment for " + chReadData.ContractNumber + "-" + chReadData.DisplaySupplementNumber + " (\"" + chReadData.ContractDescription + "\")";
}
else
{
fileName = chReadData.ContractNumber +"_Full_Amendment" +"-" + chReadData.DisplaySupplementNumber;
description = "Amendment for " + chReadData.ContractNumber + "-" + chReadData.DisplaySupplementNumber + " (\"" + chReadData.ContractDescription + "\")";
}