Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: Byte to Bits String Pin
leppie17-Jul-08 2:08
leppie17-Jul-08 2:08 
GeneralRe: Byte to Bits String Pin
PIEBALDconsult17-Jul-08 5:09
mvePIEBALDconsult17-Jul-08 5:09 
GeneralRe: Byte to Bits String Pin
Guffa17-Jul-08 7:19
Guffa17-Jul-08 7:19 
GeneralRe: Byte to Bits String Pin
PIEBALDconsult17-Jul-08 14:58
mvePIEBALDconsult17-Jul-08 14:58 
AnswerRe: Byte to Bits String Pin
PIEBALDconsult17-Jul-08 5:19
mvePIEBALDconsult17-Jul-08 5:19 
QuestionOLEDB with Excel problem Pin
acroitoriu16-Jul-08 20:18
acroitoriu16-Jul-08 20:18 
AnswerRe: OLEDB with Excel problem Pin
dan!sh 16-Jul-08 20:44
professional dan!sh 16-Jul-08 20:44 
GeneralRe: OLEDB with Excel problem Pin
acroitoriu17-Jul-08 21:41
acroitoriu17-Jul-08 21:41 
This doesn't help me much... I have multiple sheets in the document and after I see that a certain sheet is present I have to process it:

var command = new OleDbCommand(string.Format("select * from [{0}]", sheetName), connection);
var adapter = new OleDbDataAdapter {SelectCommand = command};
var ds = new DataSet();
adapter.Fill(ds);
connection.Close();
DataTable dt = ds.Tables[0];
foreach (object dr in dt.Rows) {
string[] array = Array.ConvertAll(((DataRow)dr).ItemArray, new Converter<object,>(Convert.ToString));
// continue processing here...
}

So I would still have problems in the case of a sheet name that contains a dot and a space as mentioned in my initial post.
Is there any workaround for this issue?

Thank you!
Questionusing a variable on two different forms Pin
programming.student16-Jul-08 19:04
programming.student16-Jul-08 19:04 
AnswerRe: using a variable on two different forms Pin
N a v a n e e t h16-Jul-08 19:52
N a v a n e e t h16-Jul-08 19:52 
GeneralRe: using a variable on two different forms Pin
programming.student16-Jul-08 20:15
programming.student16-Jul-08 20:15 
GeneralRe: using a variable on two different forms Pin
Alex@UEA16-Jul-08 23:45
Alex@UEA16-Jul-08 23:45 
AnswerRe: using a variable on two different forms Pin
Ajay.k_Singh16-Jul-08 20:22
Ajay.k_Singh16-Jul-08 20:22 
GeneralRe: using a variable on two different forms Pin
V.16-Jul-08 21:48
professionalV.16-Jul-08 21:48 
QuestionListView problem ! [modified] Pin
itmad16-Jul-08 18:47
itmad16-Jul-08 18:47 
AnswerRe: ListView problem ! Pin
Ravi Bhavnani16-Jul-08 18:55
professionalRavi Bhavnani16-Jul-08 18:55 
AnswerRe: ListView problem ! [modified] Pin
itmad16-Jul-08 21:14
itmad16-Jul-08 21:14 
QuestionHi all...problem in retrining more then 1200 records from DB2 Pin
tasumisra16-Jul-08 18:38
tasumisra16-Jul-08 18:38 
QuestionRe: Hi all...problem in retrining more then 1200 records from DB2 Pin
tasumisra16-Jul-08 19:07
tasumisra16-Jul-08 19:07 
Questionhow write a addon tool for Internet Explorer ????? Pin
San@Coding16-Jul-08 18:08
San@Coding16-Jul-08 18:08 
QuestionEncryption Pin
ctrlnick16-Jul-08 13:00
ctrlnick16-Jul-08 13:00 
AnswerRe: Encryption Pin
Judah Gabriel Himango16-Jul-08 14:14
sponsorJudah Gabriel Himango16-Jul-08 14:14 
QuestionEasy Question Pin
nelsonpaixao16-Jul-08 12:54
nelsonpaixao16-Jul-08 12:54 
AnswerRe: Easy Question Pin
Judah Gabriel Himango16-Jul-08 14:11
sponsorJudah Gabriel Himango16-Jul-08 14:11 
AnswerRe: Easy Question Pin
PIEBALDconsult17-Jul-08 5:23
mvePIEBALDconsult17-Jul-08 5:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.