Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How do I update a specific column to a specific value?

 

ie: I want to pass the word FALSE back to the database for a specific column

 

Thanks for helping out a n00b.

Posted

Do you mean which value represents FALSE? It's either going to be -1, 0 or 1. One of those three numbers will represent TRUE as well.

 

Try all three, see what happens. :)

Gamer extraordinaire. Programmer wannabe.
Posted

If it's a text field then wouldn't it be as easy as putting in the text "FALSE"?

 

Or are you asking how to actually do it? IE: What's the code to update a database column?

Gamer extraordinaire. Programmer wannabe.
Posted

sorry I'm not explaining this very well :(

 

It's actually not a Text control but just text.

 

And I need to do something like this:

 

database.table.column = "FALSE"

 

But I'm such a n00b I can't figure out the code to do it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...