zoukankan      html  css  js  c++  java
  • web NameValueCollection多组数据 提供查询

    using System.Collections.Specialized;   

    NameValueCollection mycol = new NameValueCollection();
                    string[] valueeach = valuelist.Split(',');
                    int count = valueeach.Length / 8;
                    for (int i = 0; i < count; i++)
                    {
                        string pnindex = valueeach[i * 8].ToString();
                        string typeindex = valueeach[i * 8 + 6].ToString();
                        if (mycol["pnindex"] == null)
                        {
                            mycol.Add(pnindex, typeindex);
                        }
                        if (mycol["pnindex"] != typeindex)
                        {
                            WFWMS.Lib.MessageBox.Show(this.Page, "相同的PN或型号的报废类别必须相同");
                            return;
                        }
                    }

  • 相关阅读:
    IO库 8.5
    IO库 8.4
    标准模板库——IO库
    IO库 8.3
    IO库 8.2
    IO库 8.1
    CF 599D Spongebob and Squares(数学)
    Django入门学习(一)
    hdu 5733
    uva 11210
  • 原文地址:https://www.cnblogs.com/lgxll/p/2783767.html
Copyright © 2011-2022 走看看