Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multicast Delegates Event Driven Architecture is there a way? Pin
led mike7-Aug-08 5:31
led mike7-Aug-08 5:31 
AnswerRe: Multicast Delegates Event Driven Architecture is there a way? Pin
Joe Woodbury6-Aug-08 10:36
professionalJoe Woodbury6-Aug-08 10:36 
GeneralRe: Multicast Delegates Event Driven Architecture is there a way? Pin
danielgmx6-Aug-08 11:50
danielgmx6-Aug-08 11:50 
QuestionC# & webservice on Multiple servers Pin
balu123456-Aug-08 6:26
balu123456-Aug-08 6:26 
AnswerRe: CP Member Ignore - Repost Pin
Abhijit Jana6-Aug-08 17:59
professionalAbhijit Jana6-Aug-08 17:59 
QuestionProblem with Date Validation Pin
Verghese6-Aug-08 6:16
Verghese6-Aug-08 6:16 
AnswerRe: Problem with Date Validation Pin
Guffa6-Aug-08 10:04
Guffa6-Aug-08 10:04 
GeneralRe: Problem with Date Validation Pin
Verghese6-Aug-08 10:54
Verghese6-Aug-08 10:54 
Guffa wrote:
Why do you have the date stored in four columns in the first place? That makes it mostly useless...


that's infact a million $$$ question...........the dates stored in AS400 (mainframes) systems are in this format only...........and moreover, they dont have a date field as such.......... (i said wtf???? wen i first saw this format, thn i learned its Mainframes).......... Smile | :)

anyway, with couple of changes in the code i've done the date validation.........but its showing all records in the report............i don't want it that way............date validation is working fine, but its working only on the "ADM_DATE" column.........

hold on, i'll explain.........suppose a row of record falls within the given date range, then in the report as expected its displaying the entire row............but when its not falling within the date range, still its displaying the row of record, but keeping the date field as empty............

did i explained the situation clearly..........pls see the code below:

for(Int32 i = 0; i < newPDS.Tables[0].Rows.Count; i++)
{
	row = newPDS.Tables[0].Rows[i];
	string stringConCatDate;
	DateTime startDate = DateTime.Parse("07/28/1960");
	DateTime endDate = DateTime.Parse("02/14/1982");
					
	stringConCatDate = row["CADMMM"] + "/" + row["CADMDD"] + "/" + row["CADMHH"] + row["CADMYY"];
	
	DateTime dtConCatDate = DateTime.Parse(stringConCatDate);
 
	if (dtConCatDate > startDate && dtConCatDate < endDate)
	{
		row["ADM_DATE"] = stringConCatDate;
	}
}


myReport.SetDataSource(newPDS.Tables["TABLE_1"]);

GeneralRe: Problem with Date Validation Pin
Kjetil Svendsen6-Aug-08 23:18
Kjetil Svendsen6-Aug-08 23:18 
Question.NET DLL fails when called from Excel by restricted user Pin
Vikram A Punathambekar6-Aug-08 5:43
Vikram A Punathambekar6-Aug-08 5:43 
AnswerRe: .NET DLL fails when called from Excel by restricted user Pin
vikas amin6-Aug-08 10:55
vikas amin6-Aug-08 10:55 
QuestionGetting bitmap data from System.Windows.Shapes object Pin
AmitDey6-Aug-08 5:43
AmitDey6-Aug-08 5:43 
AnswerRe: Getting bitmap data from System.Windows.Shapes object Pin
Mark Salsbery6-Aug-08 6:10
Mark Salsbery6-Aug-08 6:10 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
AmitDey6-Aug-08 6:30
AmitDey6-Aug-08 6:30 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
Mark Salsbery6-Aug-08 6:40
Mark Salsbery6-Aug-08 6:40 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
AmitDey6-Aug-08 6:47
AmitDey6-Aug-08 6:47 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
Mark Salsbery6-Aug-08 7:07
Mark Salsbery6-Aug-08 7:07 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
AmitDey6-Aug-08 7:17
AmitDey6-Aug-08 7:17 
GeneralRe: Getting bitmap data from System.Windows.Shapes object Pin
led mike6-Aug-08 7:26
led mike6-Aug-08 7:26 
QuestionAccessViolationException - mciGetErrorString - DllImport("winmm.dll") [modified] Pin
Steven D. Foster6-Aug-08 5:17
Steven D. Foster6-Aug-08 5:17 
AnswerRe: AccessViolationException - mciGetErrorString - DllImport("winmm.dll") Pin
Steven D. Foster6-Aug-08 5:56
Steven D. Foster6-Aug-08 5:56 
GeneralRe: AccessViolationException - mciGetErrorString - DllImport("winmm.dll") Pin
Jimmanuel6-Aug-08 9:16
Jimmanuel6-Aug-08 9:16 
QuestionRe: AccessViolationException - mciGetErrorString - DllImport("winmm.dll") Pin
Steven D. Foster6-Aug-08 10:03
Steven D. Foster6-Aug-08 10:03 
AnswerRe: AccessViolationException - mciGetErrorString - DllImport("winmm.dll") Pin
Jimmanuel6-Aug-08 10:36
Jimmanuel6-Aug-08 10:36 
QuestionRe: AccessViolationException - mciGetErrorString - DllImport("winmm.dll") Pin
Steven D. Foster6-Aug-08 10:49
Steven D. Foster6-Aug-08 10:49 

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.