Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
QuestionTextbox Validation against IP Pin
Rei ho24-Jan-11 22:36
Rei ho24-Jan-11 22:36 
AnswerRe: Textbox Validation against IP Pin
OriginalGriff24-Jan-11 22:52
mveOriginalGriff24-Jan-11 22:52 
GeneralRe: Textbox Validation against IP Pin
Rei ho24-Jan-11 22:55
Rei ho24-Jan-11 22:55 
GeneralRe: Textbox Validation against IP Pin
OriginalGriff24-Jan-11 23:00
mveOriginalGriff24-Jan-11 23:00 
GeneralRe: Textbox Validation against IP Pin
Thomas Krojer24-Jan-11 23:11
Thomas Krojer24-Jan-11 23:11 
GeneralRe: Textbox Validation against IP Pin
OriginalGriff24-Jan-11 23:14
mveOriginalGriff24-Jan-11 23:14 
GeneralRe: Textbox Validation against IP Pin
Pete O'Hanlon24-Jan-11 23:49
mvePete O'Hanlon24-Jan-11 23:49 
GeneralRe: Textbox Validation against IP Pin
Rei ho25-Jan-11 14:43
Rei ho25-Jan-11 14:43 
private void okBtn_Click(object sender, RoutedEventArgs e)
{

string ipbox = IPBOX.ToString();
string ipAddress;
ipAddress = Dns.GetHostEntry(Dns.GetHostName()).AddressList[0].ToString();


if (string.Equals(ipbox,ipAddress))
{
ipAdd.Content = ipAddress;
}

else
{

Validates.Text ="Test";

}

}



Sorry, i really suck at programming,
i am using the coding that i typed above
But it keeps going to

Validates.Text="test" even when i type the correct String
GeneralRe: Textbox Validation against IP [SOLVED] Pin
Rei ho25-Jan-11 15:07
Rei ho25-Jan-11 15:07 
QuestionWPF DataGrid add rows and cells in runtime Pin
Mc_Topaz24-Jan-11 22:33
Mc_Topaz24-Jan-11 22:33 
QuestionLoading a video from a web server and displaying it on my application Pin
Rei ho24-Jan-11 20:30
Rei ho24-Jan-11 20:30 
AnswerRe: Loading a video from a web server and displaying it on my application Pin
RobCroll24-Jan-11 21:33
RobCroll24-Jan-11 21:33 
GeneralRe: Loading a video from a web server and displaying it on my application Pin
Rei ho24-Jan-11 22:40
Rei ho24-Jan-11 22:40 
GeneralRe: Loading a video from a web server and displaying it on my application Pin
RobCroll24-Jan-11 23:54
RobCroll24-Jan-11 23:54 
QuestionExtracting numeric from string Pin
nitin_ion24-Jan-11 20:23
nitin_ion24-Jan-11 20:23 
AnswerRe: Extracting numeric from string Pin
Pravin Patil, Mumbai24-Jan-11 21:32
Pravin Patil, Mumbai24-Jan-11 21:32 
GeneralRe: Extracting numeric from string Pin
OriginalGriff24-Jan-11 21:43
mveOriginalGriff24-Jan-11 21:43 
AnswerRe: Extracting numeric from string Pin
OriginalGriff24-Jan-11 21:41
mveOriginalGriff24-Jan-11 21:41 
GeneralRe: Extracting numeric from string Pin
Pravin Patil, Mumbai25-Jan-11 1:06
Pravin Patil, Mumbai25-Jan-11 1:06 
GeneralRe: Extracting numeric from string Pin
OriginalGriff25-Jan-11 1:09
mveOriginalGriff25-Jan-11 1:09 
AnswerRe: Extracting numeric from string Pin
musefan25-Jan-11 3:06
musefan25-Jan-11 3:06 
Questionjavascript: opener.document Pin
fififlowertot24-Jan-11 10:19
fififlowertot24-Jan-11 10:19 
AnswerRe: javascript: opener.document Pin
dan!sh 24-Jan-11 10:25
professional dan!sh 24-Jan-11 10:25 
GeneralRe: javascript: opener.document Pin
fififlowertot24-Jan-11 10:36
fififlowertot24-Jan-11 10:36 
GeneralRe: javascript: opener.document Pin
GenJerDan24-Jan-11 11:29
GenJerDan24-Jan-11 11:29 

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.