M
Markus Heid
Hi,
I've got an excel sheet in which i define some kind of matrix. This looks
this way
A B C D E F G
ID 12345
FROM/TO 1 2 3 4 5 6
1 0 3 3,5 0 2,3/4 0
2 7,9/3,6 0 1,2 0 1 1
3 0 0 0 4 0 2
4 1 0 1,2/4 0 1 2
5 2 2,4 1 0 0 6
6 1/5 0 0 0 0 0
I'm trying to read that sheet into a dataset via ado.net in a c# windows
application as descripted in the MSDN Article
http://msdn.microsoft.com/library/en-us/dnadonet/html/odatanet2.asp?frame=true .
But when I'm displaying my dataset in a datagrid some values are null:
ID 12345 (null) (null) (null)
(null) (null)
(null) (null) (null) (null) (null)
(null) (null)
FROM/TO 1 2 3 4 5
6
1 0 3 3,5 0
2,3/4 (null)
2 7,9/3,6 0 1,2 0
1 1
(null) (null) (null) (null) 4
0 2
(null) (null) 0 1,2/4 0
1 (null)
(null) (null) (null) 1 0
0 6
(null) (null) (null) 0 (null)
0 0
All cells in the excel sheet are defined as text. I don't see any pattern
behind this behaivor. Does anyone here knows something about this issue?
Thanks in Advance
Markus
I've got an excel sheet in which i define some kind of matrix. This looks
this way
A B C D E F G
ID 12345
FROM/TO 1 2 3 4 5 6
1 0 3 3,5 0 2,3/4 0
2 7,9/3,6 0 1,2 0 1 1
3 0 0 0 4 0 2
4 1 0 1,2/4 0 1 2
5 2 2,4 1 0 0 6
6 1/5 0 0 0 0 0
I'm trying to read that sheet into a dataset via ado.net in a c# windows
application as descripted in the MSDN Article
http://msdn.microsoft.com/library/en-us/dnadonet/html/odatanet2.asp?frame=true .
But when I'm displaying my dataset in a datagrid some values are null:
ID 12345 (null) (null) (null)
(null) (null)
(null) (null) (null) (null) (null)
(null) (null)
FROM/TO 1 2 3 4 5
6
1 0 3 3,5 0
2,3/4 (null)
2 7,9/3,6 0 1,2 0
1 1
(null) (null) (null) (null) 4
0 2
(null) (null) 0 1,2/4 0
1 (null)
(null) (null) (null) 1 0
0 6
(null) (null) (null) 0 (null)
0 0
All cells in the excel sheet are defined as text. I don't see any pattern
behind this behaivor. Does anyone here knows something about this issue?
Thanks in Advance
Markus