Displaying String instead of boolean value

4 posts, 0 answers
  1. Empanada
    Empanada avatar
    6 posts
    Member since:
    Sep 2011

    Posted 30 Dec 2011 Link to this post

    Hi guys
    I used a radgridview autogenarated through binding in a dataset
    I have a column "Gender" that displays boolean values 1 and 0
    Instead of displaying 1 and 0, I want to display a "male" or "female" values
    Is there any way without changing the datatypes in the database?
    Im using vb.net language 
    Thanks :)

  2. Ivan Petrov
    Ivan Petrov avatar
    701 posts

    Posted 03 Jan 2012 Link to this post

    Hi Empanada,

    Thank you for writing.

    You can achieve this scenario by using the RadGridView column's DataTypeConverter property. You can read the following help article on Converting Data Types. There you will find an example and explanation of what you should do in this case. 

    I hope this will help. If you have further questions, I would be glad to assist.

    Kind regards,
    Ivan Petrov
    the Telerik team

    of Q3’11 of RadControls for WinForms is available for download (see what's new).
  3. Suresh
    Suresh avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    Hi Guys ..
                 I am also face this problem .... still i can't find solution ...please help me...
  4. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 15 Nov 2012 Link to this post

    Hello Suresh,

    Please open a new thread on your problem and post a small example if possible on how to reproduce your issue,

    I will do my best to help

    Best Regards,
    Emanuel Varga
    WinForms MVP
Back to Top