Click here to Skip to main content
16,005,178 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 11:12
mveDave Kreskowiak23-Jan-09 11:12 
GeneralRe: Speed initial load Pin
Wendelius23-Jan-09 11:20
mentorWendelius23-Jan-09 11:20 
QuestionUsing system.printing namespace to get print queue status Pin
daveg5523-Jan-09 1:01
daveg5523-Jan-09 1:01 
AnswerRe: Using system.printing namespace to get print queue status Pin
Dave Kreskowiak23-Jan-09 4:51
mveDave Kreskowiak23-Jan-09 4:51 
QuestionTextbox settings Pin
EvanSaunders23-Jan-09 0:41
EvanSaunders23-Jan-09 0:41 
AnswerRe: Textbox settings Pin
Jay Royall23-Jan-09 0:45
Jay Royall23-Jan-09 0:45 
GeneralRe: Textbox settings Pin
EvanSaunders23-Jan-09 0:51
EvanSaunders23-Jan-09 0:51 
GeneralRe: Textbox settings Pin
Jay Royall23-Jan-09 0:59
Jay Royall23-Jan-09 0:59 
GeneralRe: Textbox settings Pin
JR21223-Jan-09 1:00
JR21223-Jan-09 1:00 
GeneralRe: Textbox settings Pin
EliottA23-Jan-09 2:15
EliottA23-Jan-09 2:15 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:31
mveDave Kreskowiak23-Jan-09 4:31 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:30
mveDave Kreskowiak23-Jan-09 4:30 
QuestionProblem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 0:36
Calferreira23-Jan-09 0:36 
AnswerRe: Problem - How to "Communicate" between Classes Pin
JR21223-Jan-09 0:51
JR21223-Jan-09 0:51 
AnswerRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 1:29
Jay Royall23-Jan-09 1:29 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 2:31
Calferreira23-Jan-09 2:31 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 2:45
Jay Royall23-Jan-09 2:45 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 4:25
Calferreira23-Jan-09 4:25 
QuestionHow to replace the usercontrol dynamically Pin
karthick sampangi22-Jan-09 22:36
karthick sampangi22-Jan-09 22:36 
AnswerRe: How to replace the usercontrol dynamically Pin
Wendelius22-Jan-09 22:41
mentorWendelius22-Jan-09 22:41 
QuestionProblem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 22:03
RA|-|UL PATEL22-Jan-09 22:03 
AnswerRe: Problem with Datagridview Combobox column... Pin
darkelv22-Jan-09 22:11
darkelv22-Jan-09 22:11 
GeneralRe: Problem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 22:36
RA|-|UL PATEL22-Jan-09 22:36 
GeneralRe: Problem with Datagridview Combobox column... Pin
darkelv22-Jan-09 22:57
darkelv22-Jan-09 22:57 
Maybe check if the binding is bound to the correct item/property.

Here's a sample of my code that is bound to an array of enum

Edit: Are you using comboBoxColumn.Items.Add() instead of setting DataSource?

//==Status==//
		public static AtomDataGridViewComboBoxColumn StatusGridViewColumn(Atom.Interface.ILocale locale)
		{
			AtomDataGridViewComboBoxColumn status = new AtomDataGridViewComboBoxColumn();
			status.DataPropertyName = "Status";
			status.HeaderText = LocalText.GetText(locale, LocalID.Create("ChequePrint.Master.Cheque_Status"), "Status");
			status.Name = "Status";
			status.SortMode = DataGridViewColumnSortMode.Automatic;
			status.ReadOnly = false;
			status.Width = 90;
			status.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft;
			status.DefaultCellStyle.Format = "";
			//===== MUST HANDLE DATA FILL FOR COMBO BOX HERE =====//
			#region .:BE831DCA-BCDC-4294-8634-E33D8C66E51E [Status]:.
            ArrayList a = new ArrayList();
            a.Add(StatusTypes.Outstanding);
            a.Add(StatusTypes.Issued);
            a.Add(StatusTypes.Cleared);
            a.Add(StatusTypes.Void);
            Array enums = a.ToArray(typeof(StatusTypes));
            //Array enums = Enum.GetValues(typeof(StatusTypes));
            status.DataSource = enums;
			#endregion .:BE831DCA-BCDC-4294-8634-E33D8C66E51E [Status]:.
			return status;
		}

AnswerRe: Problem with Datagridview Combobox column... [modified] Pin
Wendelius22-Jan-09 22:44
mentorWendelius22-Jan-09 22:44 

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.