1
Answer

grid save

Ask a question
Maneesh A N

Maneesh A N

11y
833
1
protected void SAVE_GRID_Click(object sender, EventArgs e)
    {
        int rowscount = GridView2.Rows.Count;
        int columnscount = GridView2.Columns.Count;
        for (int i = 0; i < rowscount; i++)
        {
            for (int j = 1; j < columnscount; j++)
            {

               //I want to get data of each cell in a row
               //I want to read the corresponding header and store
            }
        }

    }

Answers (1)