下拉多选择

 
有个下拉选择:
<select name="NewfIDProd" id="NewfIDProd">
  <option value="92,7">37元</option>
  <option value="92,8">74元</option>
  <option value="92,9">111元</option>
  <option value="92,10">148元</option>
 </select>
得到其value值:
string NewProInfo = Request["NewfIDProd"];
分析数据:
string[] arNewProInfo = NewProInfo.Split(',');
int NewfIDProd = Convert.ToInt32("0" + arNewProInfo[0]);
int NewQuantity = Convert.ToInt32("0" + arNewProInfo[1]); 


就这样不就解决了传两个值的问题么... 
posted @ 2009-09-30 20:16  牛啊牛  阅读(167)  评论(0编辑  收藏  举报
免费发布信息免费发布供求信息免费发布分类信息