C # reads Excel When the symbol cannot be read ???

zhaozj2021-02-16  69

Ss.commandtext = @ "SELECT *" Excel $ ""; OLEDBDATAREADER MyReader = ss.executeReader (Commandbehavior.default);

While (MyReader.Read ())

{

String aa = myreader [0] .toString (). Trim ();

}

If you read the data is empty when the symbol appears in the table, what is the problem, considering the structure, but I don't have it in Bit, I hope the master ?????

转载请注明原文地址:https://www.9cbs.com/read-16244.html

New Post(0)