Click here to Skip to main content
15,882,705 members
Home / Discussions / C#
   

C#

 
GeneralRe: foolish question , help! Pin
lgstef16-May-05 3:28
lgstef16-May-05 3:28 
GeneralRe: foolish question , help! Pin
leppie16-May-05 5:36
leppie16-May-05 5:36 
GeneralRe: foolish question , help! Pin
lgstef16-May-05 5:57
lgstef16-May-05 5:57 
GeneralRe: foolish question , help! Pin
leppie16-May-05 8:02
leppie16-May-05 8:02 
GeneralHTTP Listener Pin
Tridith12-May-05 8:34
Tridith12-May-05 8:34 
GeneralRe: HTTP Listener Pin
Stefan Prodan12-May-05 12:11
Stefan Prodan12-May-05 12:11 
GeneralRe: HTTP Listener Pin
Tridith16-May-05 5:06
Tridith16-May-05 5:06 
General2 problems Pin
x-trate12-May-05 7:55
x-trate12-May-05 7:55 
Hi.
1) I have a table in a database with a column of type DateTime. Im my application i have a "select" query in which i want to compare a local DateTime variable called mydate with the one in the database, something like:
" SELECT.... WHERE myTable.date1<'"+mydate+"' ".
Can you tell me the right syntax for this?

2) I have SELECT command and i read the result with a reader (while(myReader.Read()). The problem is that this command retrieves me at least 2 elements (let's say rows) from the table, but i only can read the first one. Is there a solution?

Thanks!
GeneralRe: 2 problems Pin
Luis Alonso Ramos12-May-05 8:37
Luis Alonso Ramos12-May-05 8:37 
QuestionHow to change MAC address? Pin
Stefan Prodan12-May-05 7:52
Stefan Prodan12-May-05 7:52 
AnswerRe: How to change MAC address? Pin
Michael A. Barnhart12-May-05 11:31
Michael A. Barnhart12-May-05 11:31 
GeneralRe: How to change MAC address? Pin
Stefan Prodan12-May-05 12:02
Stefan Prodan12-May-05 12:02 
GeneralRe: How to change MAC address? Pin
Dave Kreskowiak12-May-05 14:09
mveDave Kreskowiak12-May-05 14:09 
GeneralSharing statics across AppDomains Pin
S. Senthil Kumar12-May-05 7:46
S. Senthil Kumar12-May-05 7:46 
GeneralThread Stop Exception Pin
Adnan Siddiqi12-May-05 7:19
Adnan Siddiqi12-May-05 7:19 
GeneralRe: Thread Stop Exception Pin
Daniel Grunwald12-May-05 10:14
Daniel Grunwald12-May-05 10:14 
GeneralRe: Thread Stop Exception Pin
nyjetswin200512-May-05 12:17
nyjetswin200512-May-05 12:17 
GeneralAfterLabelEdit event for listview ctl Pin
poniatow12-May-05 5:51
poniatow12-May-05 5:51 
GeneralRe: AfterLabelEdit event for listview ctl Pin
Luis Alonso Ramos12-May-05 6:08
Luis Alonso Ramos12-May-05 6:08 
GeneralRe: AfterLabelEdit event for listview ctl Pin
poniatow12-May-05 8:18
poniatow12-May-05 8:18 
GeneralRe: AfterLabelEdit event for listview ctl Pin
Anonymous12-May-05 6:34
Anonymous12-May-05 6:34 
GeneralKilling windows application Pin
mderover12-May-05 5:02
mderover12-May-05 5:02 
GeneralRe: Killing windows application Pin
Peter Vertes12-May-05 11:59
Peter Vertes12-May-05 11:59 
GeneralRe: Killing windows application Pin
Anonymous12-May-05 20:27
Anonymous12-May-05 20:27 
Generalcall c function Pin
kyfranBibax12-May-05 4:33
kyfranBibax12-May-05 4:33 

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.