S
Stefan Seidel
Hi NG,
i try to read data into a .NET application from Excel with the following
code:
IDataObject cb = Clipboard.GetDataObject();
if ( cb.GetDataPresent(DataFormats.CommaSeparatedValue) ) {
StreamReader sr = new StreamReader((Stream)
cb.GetData(DataFormats.CommaSeparatedValue));
while (sr.Peek() > 0)
string s = sr.ReadLine();
}
The problem ist that i do not receive some signs (special signs as german
"ä" e.g.).
Thanks for any help
Stefan
i try to read data into a .NET application from Excel with the following
code:
IDataObject cb = Clipboard.GetDataObject();
if ( cb.GetDataPresent(DataFormats.CommaSeparatedValue) ) {
StreamReader sr = new StreamReader((Stream)
cb.GetData(DataFormats.CommaSeparatedValue));
while (sr.Peek() > 0)
string s = sr.ReadLine();
}
The problem ist that i do not receive some signs (special signs as german
"ä" e.g.).
Thanks for any help
Stefan