Results 1 to 6 of 6

Thread: [RESOLVED] [2008] not working

  1. #1

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Resolved [RESOLVED] [2008] not working

    Hi,

    This time, my problem is:

    in my database, i have a column with a bit data type. and it's now "True" .
    but when i try this

    statuss.Text = google.ToString ' i get google

    If google = "True" Then ' it will pass it, to the next code

    What could be the problem?

    thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2008] not working

    What is 'google' here? A variable? Datarow column? A sheep? A datarow?

  3. #3

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: [2008] not working

    it's a string

    dim google as string

    column
    Last edited by met0555; Sep 1st, 2008 at 01:04 PM.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2008] not working

    Hmm, now your question makes no sense.

    You are assigning a textbox value (or label) to a string called 'google'. Then you're mentioning that if google="True" it does "something", but I don't see any of your code to illustrate your problem nor do I see how this is related to a database.

    I do apologize for not being psychic enough to read your mind.

  5. #5

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: [2008] not working

    sorry, i found the problem ,

    google = ("google").ToString()
    google = reader2("google").ToString()

    it was reading the string thats why i was getting google.

    sorry i always find the solution after posting, even now i have faced a problem, and i 'm not able to get a solution to it

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [RESOLVED] [2008] not working

    From what I've noticed, you do seem to find your solution because you probably do have coding potential, but you don't get good answers from these forums because (frankly) you explain your problems in vague, unintelligible ways. It has nothing to do with command over a language, it's simply a matter of the amount of assumptions you make and the amount of code you show to others.

    For example, if I came up to you and said

    "Hey met, my code isn't working. Look:

    string x = marsDay.Apple();

    Help me."

    You wouldn't even know what the problem is.

    Sure, I am having a go at you, but it's so that you can explain your problems well in the future and get the best advice from us... because there are 99 ways to solve a problem, but only 1 way that's the best way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width