Click here to Skip to main content
15,921,941 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# inheritance Pin
Christian Graus20-Nov-05 17:10
protectorChristian Graus20-Nov-05 17:10 
AnswerRe: C# inheritance Pin
S. Senthil Kumar20-Nov-05 18:50
S. Senthil Kumar20-Nov-05 18:50 
QuestionAdding button to Menu Bar in Office 2003 Web Components Pin
ykoon20-Nov-05 16:25
ykoon20-Nov-05 16:25 
Questionquestion on Impersonation Pin
ekynox20-Nov-05 15:16
ekynox20-Nov-05 15:16 
AnswerRe: question on Impersonation Pin
ekynox20-Nov-05 18:09
ekynox20-Nov-05 18:09 
QuestionString.Replace with Escaped Characters Pin
Reanalyse20-Nov-05 15:11
Reanalyse20-Nov-05 15:11 
AnswerRe: String.Replace with Escaped Characters Pin
S. Senthil Kumar20-Nov-05 18:55
S. Senthil Kumar20-Nov-05 18:55 
QuestionDate Comparison Pin
tatchung20-Nov-05 15:07
tatchung20-Nov-05 15:07 
Hello once again frends!

Right now im stuck doing a web form in which i have to compare 2 datagrids and/or 2 dates from a database depending on the problem.

now my questions are:
1. how do i compare 2 different dates with each other? i've tried
if (Convert.ToDateTime(ds.Tables[0].Rows[0][1].ToString()).Date >= Convert.ToDateTime(deductDate_1stMonth_End).Date)
{
   drNewRow[0] = "S";
}

where ds = the dataset that i queried the dates to be compared from a database. somehow the dataset always return a "null" value in debug mode...i just dont get it.

2. how do i reference the results of datagrid1 in which if it is "null" or "" i place "NE" on the coresponding column of datagrid2? this one honestly i haven't tried yet though i was thinking instead of referencing datagrid1 i probably could go straight to my database query and return my desired result if it shows "null" or "NE". then again i could be wrong...

please oh wise gurus of codeproject could you please assist me in my dilema that i may learn from my mistakes and enhance my skils close to ursLaugh | :laugh:

thanx again for all your posts. its greatly appreciated!

Aim small, miss small...
AnswerRe: Date Comparison Pin
Christian Graus20-Nov-05 15:43
protectorChristian Graus20-Nov-05 15:43 
GeneralRe: Date Comparison Pin
tatchung20-Nov-05 16:03
tatchung20-Nov-05 16:03 
QuestionHow to exact the tsk Pin
activesync20-Nov-05 13:53
activesync20-Nov-05 13:53 
QuestionNeed help with reading image from stream using GDI+ Pin
serguey_haftrige20-Nov-05 13:41
serguey_haftrige20-Nov-05 13:41 
AnswerRe: Need help with reading image from stream using GDI+ Pin
Curtis Schlak.20-Nov-05 14:26
Curtis Schlak.20-Nov-05 14:26 
GeneralRe: Need help with reading image from BUFFER using GDI+ Pin
serguey_haftrige22-Nov-05 15:49
serguey_haftrige22-Nov-05 15:49 
QuestionC# Process UseShellExecute query Pin
Kuira20-Nov-05 12:30
Kuira20-Nov-05 12:30 
AnswerRe: C# Process UseShellExecute query Pin
Xiangyang Liu 刘向阳20-Nov-05 13:37
Xiangyang Liu 刘向阳20-Nov-05 13:37 
QuestionHashtable - Get picked values Pin
Seraphin20-Nov-05 11:23
Seraphin20-Nov-05 11:23 
AnswerRe: Hashtable - Get picked values Pin
Christian Graus20-Nov-05 11:36
protectorChristian Graus20-Nov-05 11:36 
GeneralRe: Hashtable - Get picked values Pin
Seraphin20-Nov-05 11:51
Seraphin20-Nov-05 11:51 
GeneralRe: Hashtable - Get picked values Pin
Christian Graus20-Nov-05 11:53
protectorChristian Graus20-Nov-05 11:53 
GeneralRe: Hashtable - Get picked values Pin
Seraphin20-Nov-05 12:01
Seraphin20-Nov-05 12:01 
GeneralRe: Hashtable - Get picked values Pin
Christian Graus20-Nov-05 12:10
protectorChristian Graus20-Nov-05 12:10 
GeneralRe: Hashtable - Get picked values Pin
Seraphin20-Nov-05 12:17
Seraphin20-Nov-05 12:17 
AnswerRe: Hashtable - Get picked values Pin
Leslie Sanford20-Nov-05 13:16
Leslie Sanford20-Nov-05 13:16 
GeneralRe: Hashtable - Get picked values Pin
Seraphin20-Nov-05 14:24
Seraphin20-Nov-05 14:24 

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.