• C# 数组导入


    //添加新记录

                    if (text.Length > 0)
                    {
                        string[] textArray = text.Split(new char[] { ',' });   //从text中以“,”为分割方式取出各个号放在textArray数据中
                        for (int i = 0; i < textArray.Length; i++)     //循环取出各个值
                        {
                            int fieldItemID = int.Parse(textArray[i]);
                            this.AddCartProductItem(recordID, 1, fieldItemID);   //调用本页的函数并送出参值
                        }
                    }

  • 相关阅读:
    为服务部署 Jekins的使用
    spring cloud
    docker
    WebSocket
    idea
    maven
    SQL四种语言(DDL、 DML、 DCL、 TCL)
    十大经典排序
    AVL树的旋转图解和简单实现
    多个线程交替打印
  • 原文地址:https://www.cnblogs.com/limshirley/p/1498536.html
Copyright © 2020-2023  润新知