Skip to content

How to read multipul colums in gridview

JAYRAM

Asked Feb 9, 2013, 9:09 PM EST1 answer
Share
LinkedInX
I have a grid view which contains 100 rows and 10 columns.....


how to raed 1,2,3(coloums) and display in textbox

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    DataGridViewColumnCollection cols = new DataGridViewColumnCollection();
                cols.Clear();
                for (int i = 0; i < 3; i++)
                    cols.Add(datagrid.Columns[i]);
    0