regarding data grid

Last post 10-23-2006 12:01 PM by ndinakar. 1 replies.

Sort Posts:

  • regarding data grid

    10-23-2006, 2:37 AM

    what datafield shoud i put in my database if its a checkbox option?

     

    coz in my datagrid i added a checkedbox so that i can easily manipulate it.but when i run it. it produces error. and doesnt recognize the checkbox column.

    it said that there none in the datasource.but i dont know what should i put in the database! pls help!thanks

    Filed under: , ,
  • Re: regarding data grid

    10-23-2006, 12:01 PM
    Answer
    • Loading...
    • ndinakar
    • Joined on 05-05-2003, 12:57 PM
    • Orange County, CA
    • Posts 6,835
    • Moderator
      TrustedFriends-MVPs
    You could have your field in the table set to anything you want. You would however need to translate what "checked" or "not checked" in a datagrid means. Google for "Using checkbox columns in datagrid". Generally I have seen boolean columns, some "tinyint" type columns being used to store the check selection.
    ***********************
    Dinakar Nethi
    Life is short. Enjoy it.
    ***********************
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter