Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > How to create a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4222 of 4320
Post > Topic >>

How to create a checkbox datatype column in a table in VB .net code

by evan1979.2@[EMAIL PROTECTED] May 1, 2008 at 04:02 AM

I am creating a new boolean column in a MSAccess .mdb database like
this:

Dim Cmd As New OleDb.OleDbCommand("ALTER TABLE m_table ADD boolColumn
YesNo", objConn)
Cmd.ExecuteNonQuery()

, which works fine. But... when the .mdb file is opened in Access the
values for the new column are shown as "-1" and "0"...

Is there a way to make the column display in Access as checkboxes? I
want to be able to do this at runtime in my .net program.

thanks.
 




 2 Posts in Topic:
How to create a checkbox datatype column in a table in VB .net c
evan1979.2@[EMAIL PROTECT  2008-05-01 04:02:14 
Re: How to create a checkbox datatype column in a table in VB .n
"Bob Barrows [MVP]&q  2008-05-01 20:00:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 14:54:13 CST 2008.