Strange Problem
-
Hi, I am using OLEDB for reading excel data.Although it's working fine but unable to read values of some cell e.g. i have data in A1,A2,A3 cells. my program is successfully reading data of cell A1 but unable to read data from cells A2,A3. i have checked all but unable to find the cause.when i applied watch on table. Its showing System.DBNull in cell A2 and A3. please help me ASAP
-
Hi, I am using OLEDB for reading excel data.Although it's working fine but unable to read values of some cell e.g. i have data in A1,A2,A3 cells. my program is successfully reading data of cell A1 but unable to read data from cells A2,A3. i have checked all but unable to find the cause.when i applied watch on table. Its showing System.DBNull in cell A2 and A3. please help me ASAP
Do you have data in any other cells ? Perhaps you're not reading the cells you thin kyou are. No-one can offer more concrete help without seeing your code.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Do you have data in any other cells ? Perhaps you're not reading the cells you thin kyou are. No-one can offer more concrete help without seeing your code.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi, I am using OLEDB for reading excel data.Although it's working fine but unable to read values of some cell e.g. i have data in A1,A2,A3 cells. my program is successfully reading data of cell A1 but unable to read data from cells A2,A3. i have checked all but unable to find the cause.when i applied watch on table. Its showing System.DBNull in cell A2 and A3. please help me ASAP
How do u read the data from cells? Does the app always read first cell?