Hi,
I am trying to get data from excel file to the grid at the runtime. The way I am doing this is that I get all data into untyped dataset and then bind it to the grid. The problem I am facing is that when data is bound to the grid if the data in first few rows of specific column is a number then it expects all the data in that column to be number, however it can contain string value as well. Is there a way to stop grid from automatically assigning data type to the column??
Thanks in advance for help.
I am trying to get data from excel file to the grid at the runtime. The way I am doing this is that I get all data into untyped dataset and then bind it to the grid. The problem I am facing is that when data is bound to the grid if the data in first few rows of specific column is a number then it expects all the data in that column to be number, however it can contain string value as well. Is there a way to stop grid from automatically assigning data type to the column??
Thanks in advance for help.