DataGridView Cant Get It To Display Text When I Tell It!

This is a discussion on DataGridView Cant Get It To Display Text When I Tell It! within the C# Programming forums, part of the General Programming Boards category; I have a DataGridView control that isnt attached to any data. I set up a column using the property pages ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    4

    Unhappy DataGridView Cant Get It To Display Text When I Tell It!

    I have a DataGridView control that isnt attached to any data. I set up a column
    using the property pages its a DataGridViewTextBoxColumn. Ive tried to set the text as so, it doesnt work!!!


    grid_mon.Rows[0].Cells[0].Value = "text";

    thanks,

    Karim

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,590
    I highly recommend dumping the data grid view and use DevAge's new version of their SourceGrid control. It is available from the DevAge website for free and it is a life saver.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New Project, text game, design stage.
    By Shamino in forum Game Programming
    Replies: 9
    Last Post: 05-23-2007, 06:39 AM
  2. create a small screen with conio.c
    By Ucom-c++ in forum C Programming
    Replies: 15
    Last Post: 05-18-2007, 12:51 AM
  3. Deleting Text from a Text file
    By Daved in forum C++ Programming
    Replies: 5
    Last Post: 11-04-2006, 08:47 PM
  4. display problem after retrieving from text
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 01-29-2002, 05:48 AM
  5. Replies: 1
    Last Post: 09-01-2001, 10:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21