Click here to Skip to main content
15,916,702 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.OverflowException with TeeChart Pin
Christian Graus24-Apr-08 15:22
protectorChristian Graus24-Apr-08 15:22 
GeneralRe: System.OverflowException with TeeChart Pin
Peterson Luiz24-Apr-08 15:28
Peterson Luiz24-Apr-08 15:28 
GeneralRe: System.OverflowException with TeeChart Pin
Christian Graus24-Apr-08 15:31
protectorChristian Graus24-Apr-08 15:31 
GeneralDelayed request while waiting for data over an internet connection Pin
MAW3024-Apr-08 15:15
MAW3024-Apr-08 15:15 
QuestionSetup and deployment Pin
jharker198724-Apr-08 13:03
jharker198724-Apr-08 13:03 
GeneralRe: Setup and deployment Pin
Christian Graus24-Apr-08 13:06
protectorChristian Graus24-Apr-08 13:06 
GeneralRe: Setup and deployment Pin
jharker198724-Apr-08 13:07
jharker198724-Apr-08 13:07 
GeneralRe: Setup and deployment Pin
Spacix One24-Apr-08 13:23
Spacix One24-Apr-08 13:23 
GeneralRe: Setup and deployment Pin
jharker198725-Apr-08 2:26
jharker198725-Apr-08 2:26 
GeneralRe: Setup and deployment Pin
mav.northwind25-Apr-08 22:20
mav.northwind25-Apr-08 22:20 
GeneralListview interaction scheme question Pin
Spacix One24-Apr-08 12:55
Spacix One24-Apr-08 12:55 
QuestionNeed help with multi threaded modular application Pin
darthBug24-Apr-08 9:51
darthBug24-Apr-08 9:51 
GeneralRe: Need help with multi threaded modular application Pin
Luc Pattyn24-Apr-08 11:06
sitebuilderLuc Pattyn24-Apr-08 11:06 
GeneralRe: Need help with multi threaded modular application Pin
carbon_golem24-Apr-08 13:32
carbon_golem24-Apr-08 13:32 
GeneralRe: Need help with multi threaded modular application Pin
darthBug25-Apr-08 1:07
darthBug25-Apr-08 1:07 
GeneralRe: Need help with multi threaded modular application Pin
carbon_golem25-Apr-08 3:30
carbon_golem25-Apr-08 3:30 
QuestionEnumeration Location Pin
snorkie24-Apr-08 9:42
professionalsnorkie24-Apr-08 9:42 
GeneralRe: Enumeration Location Pin
Broken Bokken24-Apr-08 9:47
Broken Bokken24-Apr-08 9:47 
GeneralRe: Enumeration Location Pin
darthBug24-Apr-08 10:01
darthBug24-Apr-08 10:01 
GeneralRe: Enumeration Location Pin
snorkie24-Apr-08 10:08
professionalsnorkie24-Apr-08 10:08 
GeneralRe: Enumeration Location Pin
carbon_golem24-Apr-08 10:53
carbon_golem24-Apr-08 10:53 
GeneralAdvice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:06
MumbleB24-Apr-08 7:06 
Hi Guys. I am trying to match some input from a text box to an if statement. Now, I am doing this from following some ARL code and I get a build error. Error message is "Operator '>=' cannot be applied to operands of type 'string' and 'string'"

The ARL code looks something like this.
if ws_holder_pcode >= 4731 and ws_holder_pcode <= 6499
begin
move 1                          to ws_holder_province
finish
end


What I have written in the button click event.

private void btnValidate_Click(object sender, EventArgs e)
{

    if (txtboxPcode.Text >= "4731" && txtboxPcode.Text <= "6499")
    {
        MessageBox.Show("Eastern Cape");
    }
}


How can I do this correctly? Any suggestions would be greatly appreciated.

Excellence is doing ordinary things extraordinarily well.

GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
KaptinKrunch24-Apr-08 7:16
KaptinKrunch24-Apr-08 7:16 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:26
MumbleB24-Apr-08 7:26 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
carbon_golem24-Apr-08 7:17
carbon_golem24-Apr-08 7:17 

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.