Results 1 to 6 of 6

Thread: [RESOLVED]DataGridViewButtonColumn problem

Threaded View

  1. #1

    Thread Starter
    Addicted Member sweet_dreams's Avatar
    Join Date
    Apr 2005
    Location
    Poland, Lodz
    Posts
    189

    Resolved [RESOLVED]DataGridViewButtonColumn problem

    Hi all,

    Is it possible to change during run time text displayed on one particular button which is placed in DataGridView colum. This column type is DataGridViewButtonColumn???
    I was trying to do it like that:
    VB Code:
    1. Me.DataGridView1.CurrentRow.Cells(1).Value = "hello"
    2. Me.DataGridView1.Refresh()

    but without result.

    Or is it possible to go through all buttons in this column and change it's text depending on for example variables value???



    Please help,
    sweet_dreams
    Last edited by sweet_dreams; Jul 5th, 2006 at 04:59 AM.
    using VB 2010 .NET Framework 4.0; MS Office 2010; SQL Server 2008 R2 Express Edition | Remember to mark resolved threads and rate useful posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width