mall springcloud

            Hashtable ht = new Hashtable();
            Hashtable htRemove = new Hashtable();
            foreach (DataGridViewColumn col in DataGridView1.Columns)
            {
                ht[col.DataPropertyName] = col.DataPropertyName;
            }
            for (int i = 0; i < dt.Columns.Count; i++)
            {
                if (!ht.ContainsKey(dt.Columns[i].ColumnName))
                {
                    htRemove[dt.Columns[i].ColumnName] = dt.Columns[i].ColumnName;

                }
            }
            foreach (Object ad in htRemove.Keys)
            {
                dt.Columns.Remove(ad.ToString());
            }
            int s = 0;
            foreach (DataGridViewColumn col in DataGridView1.Columns)
            {
                dt.Columns[col.Name].SetOrdinal(s);
                dt.Columns[col.Name].ColumnName = col.HeaderText;
                s++;
            }
           

mall springcloud
http://www.macrozheng.com/#/
https://github.com/macrozheng/mall
https://github.com/linlinjava/litemall
https://github.com/paascloud/paascloud-master
http://www.macrozheng.com/admin/index.html#/login
https://github.com/macrozheng/mall-learning

https://www.jianshu.com/p/712fab415cb5
https://www.pmdaniu.com/
https://www.tmtpost.com/4145981.html
https://www.kanzhun.com/gso5678638.html
https://zdb.pedaily.cn/inv/show8251/
產品大牛網站 http://www.pmdaniu.com

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章