K
Kostas Alifantis via .NET 247
Hi,
I developed an application in visual c# .net
This application reades an excel file and displays its contents into a dataGrid (OleDbDataAdapter).
What I discovered is that if a cell in excel has a constant, then i can retrieve its contents. Also, if a cell has a formula (e.g. =K10) and K10 has a constant then it is also fine.
But if the cell's properties are of Custom type, with type, say hh:mm, then i cannot get the contents to the dataGrid.
Do you know why this is happening? Has anyone found a workaround for it?
Thanks in advance
Kostas
I developed an application in visual c# .net
This application reades an excel file and displays its contents into a dataGrid (OleDbDataAdapter).
What I discovered is that if a cell in excel has a constant, then i can retrieve its contents. Also, if a cell has a formula (e.g. =K10) and K10 has a constant then it is also fine.
But if the cell's properties are of Custom type, with type, say hh:mm, then i cannot get the contents to the dataGrid.
Do you know why this is happening? Has anyone found a workaround for it?
Thanks in advance
Kostas