private gridRows[] getRequestChk(GridView gv)
    {
        int i = 0;

        gridRows[] grw = new gridRows[Request.Form.AllKeys.Count()];
        //int[] rw = new int[Request.Form.AllKeys.Count()];

        foreach (string s in Request.Form.AllKeys)
        //foreach (gridRows s in grw)
        {
            if (s.Contains("attach"))
            {
                grw[i].gridName = s;
                grw[i].rowIndex = int.Parse(s.Split('_')[1]);
            }
            else
            {
                grw[i].gridName = "";
                grw[i].rowIndex = -1;
            }
            i++;
        }
        return(grw);
    }
Ejemplo n.º 2
0
 var(gridRows, gridCols) = boxSize;