Click here to Skip to main content
15,886,873 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: datagridview button column - text not displaying Pin
Simon_Whale30-Mar-10 23:49
Simon_Whale30-Mar-10 23:49 
GeneralRe: datagridview button column - text not displaying Pin
Eddy Vluggen31-Mar-10 0:21
professionalEddy Vluggen31-Mar-10 0:21 
GeneralRe: datagridview button column - text not displaying Pin
Simon_Whale31-Mar-10 0:27
Simon_Whale31-Mar-10 0:27 
GeneralRe: datagridview button column - text not displaying Pin
Eddy Vluggen31-Mar-10 0:58
professionalEddy Vluggen31-Mar-10 0:58 
GeneralRe: datagridview button column - text not displaying Pin
Simon_Whale31-Mar-10 1:00
Simon_Whale31-Mar-10 1:00 
GeneralRe: datagridview button column - text not displaying Pin
Simon_Whale31-Mar-10 1:09
Simon_Whale31-Mar-10 1:09 
GeneralRe: datagridview button column - text not displaying Pin
Eddy Vluggen31-Mar-10 1:29
professionalEddy Vluggen31-Mar-10 1:29 
AnswerWhat was the solution ? [Got it] Pin
David Mujica13-Jul-10 3:57
David Mujica13-Jul-10 3:57 
I'm having the same problem. I read the postings, but I don't understand how this was solved.

Here is my code snipet:

Dim dgBtnCol As New DataGridViewButtonColumn()

dgBtnCol.Name = "SelBtn"
dgBtnCol.Text = "Select"

DataGridView1.Columns.Add(dgBtnCol)
Me.DataGridView1.DataSource = DT       ' The datatable is already populated with data at this point


The grid displays, but the caption on the button is nothing. How did the original poster solve this ?

I forgot to add the following line of code ....
<br />
dgBtnCol.UseColumnTextForButtonValue = True


Regards,
David
GeneralRe: What was the solution ? Pin
Simon_Whale13-Jul-10 4:04
Simon_Whale13-Jul-10 4:04 
GeneralRe: What was the solution ? Pin
David Mujica13-Jul-10 4:05
David Mujica13-Jul-10 4:05 
GeneralRe: What was the solution ? Pin
HomeSen5-Aug-10 23:17
HomeSen5-Aug-10 23:17 
GeneralRe: What was the solution ? Pin
Bob Stanneveld30-Sep-11 9:20
Bob Stanneveld30-Sep-11 9:20 
AnswerRe: datagridview button column - text not displaying [Solved] Pin
Ajit Yagnesh23-Feb-11 1:38
Ajit Yagnesh23-Feb-11 1:38 
GeneralRe: datagridview button column - text not displaying [Solved] Pin
Simon_Whale23-Feb-11 1:40
Simon_Whale23-Feb-11 1:40 
QuestionOffice interop printing problem Pin
mSh198530-Mar-10 22:06
mSh198530-Mar-10 22:06 
Questionhelp with displaying hierarchical data in treeview in Visual Basic 2005 Pin
kim67830-Mar-10 21:10
kim67830-Mar-10 21:10 
QuestionNewbie to VB Pin
willwilco30-Mar-10 15:10
willwilco30-Mar-10 15:10 
AnswerRe: Newbie to VB Pin
_Damian S_30-Mar-10 16:05
professional_Damian S_30-Mar-10 16:05 
AnswerRe: Newbie to VB Pin
Wayne Gaylard30-Mar-10 20:38
professionalWayne Gaylard30-Mar-10 20:38 
GeneralRe: Newbie to VB Pin
willwilco31-Mar-10 13:41
willwilco31-Mar-10 13:41 
AnswerRe: Newbie to VB Pin
The Man from U.N.C.L.E.31-Mar-10 7:07
The Man from U.N.C.L.E.31-Mar-10 7:07 
GeneralRe: Newbie to VB Pin
willwilco31-Mar-10 13:42
willwilco31-Mar-10 13:42 
QuestionTwo RadioButtonList.SelectedIndex Values Changed Simultaneously - What am I Doing Wrong? Pin
johnaparker30-Mar-10 11:11
johnaparker30-Mar-10 11:11 
AnswerRe: Two RadioButtonList.SelectedIndex Values Changed Simultaneously - What am I Doing Wrong? Pin
pdnet1-Apr-10 21:46
pdnet1-Apr-10 21:46 
GeneralRe: Two RadioButtonList.SelectedIndex Values Changed Simultaneously - What am I Doing Wrong? Pin
johnaparker3-Apr-10 4:28
johnaparker3-Apr-10 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.