I am facing some problems while binding excel file on gridview control.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bhaskar Vash

    #1

    I am facing some problems while binding excel file on gridview control.

    I am using template columns inside gridview control.Suppose
    excel file have 10 rows and 5 columns.In 1-6 rows of excel file first 4 cells have some values and 5 cell is blank.But
    if 7-10 rows have values in all the five cells.
    But when i am fetching the values from gridview from label
    that is inside the template columns using find control then
    fifth cell values of 7-10 rows is not coming. its coming blank bcoz of its the above cells in 1-6 rows are blank.
    If i put some values in 5 cell in 1-6 rows then i am getting
    values in the 5 th cell of 7-10 rows.

    Plz help me if someone knows the solution.Need urgent plzz
    Thanks in advance.

    Regards
    Bhaskar
Working...