Click here to Skip to main content
15,898,035 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestiondataGridView Binding Pin
Ali el16-Apr-07 21:09
Ali el16-Apr-07 21:09 
AnswerRe: dataGridView Binding Pin
Gopal.S3-May-07 7:57
Gopal.S3-May-07 7:57 
QuestionIncreasing Control Rendering Performance Pin
Cypher77716-Apr-07 7:35
Cypher77716-Apr-07 7:35 
QuestionListbox binding Pin
aweekes116-Apr-07 3:32
aweekes116-Apr-07 3:32 
AnswerRe: Listbox binding Pin
Paul Conrad13-Jul-07 13:44
professionalPaul Conrad13-Jul-07 13:44 
QuestionUnable to embed resource file Pin
Ali el15-Apr-07 22:16
Ali el15-Apr-07 22:16 
AnswerRe: Unable to embed resource file Pin
Paul Conrad13-Jul-07 13:44
professionalPaul Conrad13-Jul-07 13:44 
QuestionHow to compare two textbox values in windows forms? Pin
irkahc15-Apr-07 19:26
irkahc15-Apr-07 19:26 
Hi how to validate two textbox values. ex, there are two textboxes, password and confirm password.. I want to compare these two. we can use comparevalidator in ASP.net. how can we do in windows forms..? can any one send me code? thanks in advance? am using asp.net 2.0 and C#.. I have used errorProvider control.
see the following code..

if (txtFirstName.Text.Trim().Length == 0) // working fine
{
errorProvider1.SetError(txtFirstName, "This Field Can not be empty.");
}

if (txtUnitID.Text.Trim().Length == 0) //working fine
{
errorProvider1.SetError(txtUnitID, "This Field Can not be empty.");
}

// not working
if (txtPassword.Text.Trim() != txtConfirmPwd.Text.Trim()) // not working.
{
errorProvider1.SetError(txtConfirmPwd, "Password not matched.");
}

I have written this code in save button click event. ex, if pwd is not equal it not showing error message. wat is the problem..?


AnswerRe: How to compare two textbox values in windows forms? Pin
Ali el15-Apr-07 23:04
Ali el15-Apr-07 23:04 
QuestionHow to select Multiple rows in Datagrid View In windows application Pin
TarangPandya15-Apr-07 18:53
TarangPandya15-Apr-07 18:53 
QuestionInfragistics vs DevExpress - opinions please Pin
roel_v14-Apr-07 7:28
roel_v14-Apr-07 7:28 
AnswerRe: Infragistics vs DevExpress - opinions please Pin
Scott Dorman14-Apr-07 14:28
professionalScott Dorman14-Apr-07 14:28 
AnswerRe: Infragistics vs DevExpress - opinions please Pin
Pete O'Hanlon16-Apr-07 4:08
mvePete O'Hanlon16-Apr-07 4:08 
AnswerRe: Infragistics vs DevExpress - opinions please Pin
roel_v16-Apr-07 21:51
roel_v16-Apr-07 21:51 
GeneralRe: Infragistics vs DevExpress - opinions please Pin
Scott Dorman17-Apr-07 7:24
professionalScott Dorman17-Apr-07 7:24 
AnswerRe: Infragistics vs DevExpress - opinions please Pin
Nouman Bhatti26-Apr-07 1:23
Nouman Bhatti26-Apr-07 1:23 
Questionhow to use ClickOnce to manually update my application Pin
pashitech14-Apr-07 0:59
pashitech14-Apr-07 0:59 
QuestionSystem Tray Replacement Pin
Z-Human13-Apr-07 9:20
Z-Human13-Apr-07 9:20 
QuestionWord to XML Pin
tantoun12-Apr-07 20:22
tantoun12-Apr-07 20:22 
AnswerRe: Word to XML Pin
Pete O'Hanlon13-Apr-07 0:57
mvePete O'Hanlon13-Apr-07 0:57 
GeneralRe: Word to XML Pin
tantoun17-Apr-07 4:43
tantoun17-Apr-07 4:43 
GeneralRe: Word to XML Pin
Pete O'Hanlon17-Apr-07 5:10
mvePete O'Hanlon17-Apr-07 5:10 
GeneralRe: Word to XML Pin
tantoun22-Apr-07 22:10
tantoun22-Apr-07 22:10 
QuestionUse of delegates not solving the cross thread problems in .NET 2.0 Framework Pin
KKrista12-Apr-07 19:27
KKrista12-Apr-07 19:27 
QuestionHow to print a form in vb.net with multiple tab pages!! Pin
vinidimple10-Apr-07 2:55
vinidimple10-Apr-07 2:55 

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.