Click here to Skip to main content
16,005,473 members
Home / Discussions / C#
   

C#

 
QuestionUSB Device with C# Pin
bodikon30-Sep-07 18:49
bodikon30-Sep-07 18:49 
AnswerRe: USB Device with C# Pin
I.explore.code30-Sep-07 20:50
I.explore.code30-Sep-07 20:50 
AnswerRe: USB Device with C# Pin
Luc Pattyn1-Oct-07 1:04
sitebuilderLuc Pattyn1-Oct-07 1:04 
QuestionAutoFit an Image Pin
confusedme30-Sep-07 18:41
confusedme30-Sep-07 18:41 
AnswerRe: AutoFit an Image Pin
Christian Graus30-Sep-07 19:07
protectorChristian Graus30-Sep-07 19:07 
GeneralRe: AutoFit an Image Pin
confusedme30-Sep-07 20:01
confusedme30-Sep-07 20:01 
GeneralRe: AutoFit an Image Pin
Christian Graus30-Sep-07 21:00
protectorChristian Graus30-Sep-07 21:00 
Questionvalidate date.... plz help Pin
P_Elza30-Sep-07 18:36
P_Elza30-Sep-07 18:36 
hello

I want to validate date on the template of datagrid. My code is
if(e.Item.ItemType == ListItemType.Item) 
{
        TextBox txtGraRecItem=(TextBox)(e.Item.Cells[6].Controls[1]);
	txtGraRecItem.Attributes.Add("OnDblClick", "AssignDate('"+(dgDetailData.Items.Count+1).ToString()+"','"+e.Item.Cells[6].Controls[1].ID+"');");
}
if(e.Item.ItemType == ListItemType.AlternatingItem) 
{
	TextBox txtGraRecAItem=(TextBox)(e.Item.Cells[6].Controls[1]);
	txtGraRecAItem.Attributes.Add("OnDblClick", "AssignDate('"+(dgDetailData.Items.Count+1).ToString()+"','"+e.Item.Cells[6].Controls[1].ID+"');");
}
if(e.Item.ItemType == ListItemType.Item) 
{
	TextBox txtGraDueItem=(TextBox)(e.Item.Cells[7].Controls[1]);
	txtGraDueItem.Attributes.Add("OnDblClick", "AssignDate('"+(dgDetailData.Items.Count+1).ToString()+"','"+e.Item.Cells[7].Controls[1].ID+"');");
}
if(e.Item.ItemType == ListItemType.AlternatingItem) 
{
	TextBox txtGraDueAItem=(TextBox)(e.Item.Cells[7].Controls[1]);
	txtGraDueAItem.Attributes.Add("OnDblClick", "AssignDate('"+(dgDetailData.Items.Count+1).ToString()+"','"+e.Item.Cells[7].Controls[1].ID+"');");
}

how to validate cell[6] and cell[7]. cell 6 should be greater than cell 7.
AssignDate is just calling a function to show calander.



-- modified at 2:44 Monday 1st October, 2007
QuestionCapturing stdout from a processes started in C# Pin
Ray Mitchell30-Sep-07 18:00
Ray Mitchell30-Sep-07 18:00 
AnswerRe: Capturing stdout from a processes started in C# Pin
Luc Pattyn1-Oct-07 1:11
sitebuilderLuc Pattyn1-Oct-07 1:11 
GeneralRe: Capturing stdout from a processes started in C# Pin
Ray Mitchell1-Oct-07 9:00
Ray Mitchell1-Oct-07 9:00 
GeneralRe: Capturing stdout from a processes started in C# Pin
Luc Pattyn1-Oct-07 9:26
sitebuilderLuc Pattyn1-Oct-07 9:26 
GeneralRe: Capturing stdout from a processes started in C# Pin
Ray Mitchell1-Oct-07 10:46
Ray Mitchell1-Oct-07 10:46 
GeneralRe: Capturing stdout from a processes started in C# Pin
Luc Pattyn1-Oct-07 11:18
sitebuilderLuc Pattyn1-Oct-07 11:18 
Questionhow to add grammar checker Component into C# and use it ? Pin
yashar201230-Sep-07 13:25
yashar201230-Sep-07 13:25 
AnswerRe: how to add grammar checker Component into C# and use it ? Pin
Judah Gabriel Himango30-Sep-07 13:31
sponsorJudah Gabriel Himango30-Sep-07 13:31 
GeneralRe: how to add grammar checker Component into C# and use it ? Pin
yashar201230-Sep-07 16:31
yashar201230-Sep-07 16:31 
GeneralRe: how to add grammar checker Component into C# and use it ? Pin
Paul Conrad30-Sep-07 18:19
professionalPaul Conrad30-Sep-07 18:19 
QuestionProblems with UserSettings in Vista Pin
norla30-Sep-07 11:46
norla30-Sep-07 11:46 
QuestionCustom form? Pin
MasterSharp30-Sep-07 11:38
MasterSharp30-Sep-07 11:38 
AnswerRe: Custom form? Pin
Paul Conrad30-Sep-07 11:45
professionalPaul Conrad30-Sep-07 11:45 
GeneralRe: Custom form? Pin
MasterSharp30-Sep-07 12:14
MasterSharp30-Sep-07 12:14 
GeneralRe: Custom form? Pin
Christian Graus30-Sep-07 12:25
protectorChristian Graus30-Sep-07 12:25 
GeneralRe: Custom form? Pin
MasterSharp30-Sep-07 12:34
MasterSharp30-Sep-07 12:34 
GeneralRe: Custom form? Pin
Kenny McKee30-Sep-07 12:46
Kenny McKee30-Sep-07 12:46 

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.