Add/Update with Bit Field

QuestionsAdd/Update with Bit Field
Kristopher Baker asked 12 years ago

I have a table with three columns: int, varchar(100) and bit. I have the grid displaying values correctly and inserting rows, but the problem is with the bit field. It will display a 1 or 0 for the value correctly. When I select to edit a row the checkbox or textfield, I have tried both, will display the value. The issue is when I update, nothing happens to that field. Same thing when I add, it always puts 1 into the database, regardless is the checkbox is checked or 0 is in the textbox. I have tried editing the varchar field and it successfully updates.

Thank you.

1 Answers
Abu Ghufran answered 12 years ago

Hello,

It seems to be a issue with bit field. I've tracked it and fixed in latest dev line.
Will be updated in upcoming version.

Thanks

Your Answer

11 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?