Try This

Sanjay Verma replied to Aldo Liaks at 12-May-08 01:46

This will give you error..
Try simple way.  take one boolean variable.
Now check the value of rmLanguage.GetString("tabControl1.RightToLeftLayout") as string.

check the value in if condition and set the value of your boolean variable accordingly.

like if rmLanguage.GetString("tabControl1.RightToLeftLayout") == "false"
 then blVariable = false, Else blVariable = true;

It will work more effectively.

Biography
Asp.Net Developer

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  C# 3.0 - Convert string to bool - Aldo Liaks  09-May-08 02:44 2:44:38 PM
      You need System.Convert - Peter Bromberg  09-May-08 02:55 2:55:53 PM
          Right! - Aldo Liaks  10-May-08 02:47 2:47:32 AM
      convert - sundar k  09-May-08 11:18 11:18:34 PM
      try this... - Vasanthakumar D  10-May-08 12:09 12:09:39 AM
      Re: Convert - Chirag Bhavsar  10-May-08 02:13 2:13:23 AM
      cheers - santhosh kapa  10-May-08 02:45 2:45:44 AM
      Try This - Sanjay Verma  12-May-08 01:46 1:46:19 AM
View Posts