Click here to Skip to main content
15,917,059 members
Home / Discussions / C#
   

C#

 
AnswerRe: Trying to use HashSet Pin
N a v a n e e t h9-Dec-09 14:53
N a v a n e e t h9-Dec-09 14:53 
QuestionDelete a word everytime the program see it. Pin
ahlm9-Dec-09 10:54
ahlm9-Dec-09 10:54 
AnswerRe: Delete a word everytime the program see it. Pin
Migounette9-Dec-09 11:56
Migounette9-Dec-09 11:56 
AnswerRe: Delete a word everytime the program see it. Pin
Abhinav S9-Dec-09 17:13
Abhinav S9-Dec-09 17:13 
GeneralRe: Delete a word everytime the program see it. Pin
ahlm9-Dec-09 18:31
ahlm9-Dec-09 18:31 
QuestionSqlCeResultSet Problem [modified] Pin
Stanciu Vlad9-Dec-09 6:25
Stanciu Vlad9-Dec-09 6:25 
AnswerRe: SqlCeResultSet Problem Pin
Migounette9-Dec-09 12:19
Migounette9-Dec-09 12:19 
QuestionRe: SqlCeResultSet Problem Pin
Stanciu Vlad9-Dec-09 20:09
Stanciu Vlad9-Dec-09 20:09 
Thanks for your answer, but that is not the issue. The code does not fail at reading the data. The code fails at myReader.GetOrdinal("MyDateColumn")

If I use myReader.GetDateTime(1); the code works, but is dependent of the position of the column in the schema.
If I use myReader.GetDateTime(myReader.GetOrdinal("MyDateColumn")); the code does not work...

If I use myReader.GetOrdinal("MyDateColumn") the code does not work...
If I use myReader.GetName(1) the code works and the return value from the function is "MyDateColumn"...


I've worked before with ADO.Net and never had this issue. Now I am using SqlCe (SqlCeResultSet) and the only thing I can think about is that SqlCe is responsible for this (or the managed wrapper).

Any other ideeas?

I have no smart signature yet...

QuestionUpdate own written TabPage Pin
Tagamoga9-Dec-09 4:18
Tagamoga9-Dec-09 4:18 
AnswerRe: Update own written TabPage Pin
The Man from U.N.C.L.E.9-Dec-09 7:01
The Man from U.N.C.L.E.9-Dec-09 7:01 
GeneralRe: Update own written TabPage Pin
Tagamoga9-Dec-09 8:28
Tagamoga9-Dec-09 8:28 
GeneralRe: Update own written TabPage Pin
The Man from U.N.C.L.E.9-Dec-09 10:18
The Man from U.N.C.L.E.9-Dec-09 10:18 
GeneralRe: Update own written TabPage Pin
Tagamoga9-Dec-09 12:24
Tagamoga9-Dec-09 12:24 
GeneralRe: Update own written TabPage Pin
The Man from U.N.C.L.E.10-Dec-09 1:27
The Man from U.N.C.L.E.10-Dec-09 1:27 
QuestionPreventing InvalidDeploymentException exceptions Pin
Jim Crafton9-Dec-09 4:16
Jim Crafton9-Dec-09 4:16 
AnswerRe: Preventing InvalidDeploymentException exceptions Pin
Paulo Zemek9-Dec-09 5:24
Paulo Zemek9-Dec-09 5:24 
GeneralRe: Preventing InvalidDeploymentException exceptions Pin
Jim Crafton9-Dec-09 5:30
Jim Crafton9-Dec-09 5:30 
AnswerRe: Preventing InvalidDeploymentException exceptions Pin
N a v a n e e t h9-Dec-09 14:58
N a v a n e e t h9-Dec-09 14:58 
QuestionHow to get first and last date given a year and a weeknr Pin
livez9-Dec-09 3:30
livez9-Dec-09 3:30 
AnswerRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 3:42
mveRichard MacCutchan9-Dec-09 3:42 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 3:49
livez9-Dec-09 3:49 
GeneralRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 4:06
mveRichard MacCutchan9-Dec-09 4:06 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 4:43
livez9-Dec-09 4:43 
GeneralRe: How to get first and last date given a year and a weeknr Pin
Richard MacCutchan9-Dec-09 5:03
mveRichard MacCutchan9-Dec-09 5:03 
GeneralRe: How to get first and last date given a year and a weeknr Pin
livez9-Dec-09 20:06
livez9-Dec-09 20:06 

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.