Click here to Skip to main content
15,895,740 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: Problem with Datagridview Combobox column... [modified] Pin
RA|-|UL PATEL22-Jan-09 23:01
RA|-|UL PATEL22-Jan-09 23:01 
GeneralRe: Problem with Datagridview Combobox column... Pin
Wendelius22-Jan-09 23:05
mentorWendelius22-Jan-09 23:05 
GeneralRe: Problem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 23:32
RA|-|UL PATEL22-Jan-09 23:32 
GeneralRe: Problem with Datagridview Combobox column... Pin
Wendelius22-Jan-09 23:47
mentorWendelius22-Jan-09 23:47 
AnswerRe: Problem with Datagridview Combobox column... Pin
Ashutosh Phoujdar22-Jan-09 23:59
Ashutosh Phoujdar22-Jan-09 23:59 
QuestionRemote Connection While using Attached Database file in MssqlExpress 2005 Pin
r_mohd22-Jan-09 18:05
r_mohd22-Jan-09 18:05 
AnswerRe: Remote Connection While using Attached Database file in MssqlExpress 2005 Pin
Ashutosh Phoujdar22-Jan-09 19:03
Ashutosh Phoujdar22-Jan-09 19:03 
AnswerRe: Remote Connection While using Attached Database file in MssqlExpress 2005 Pin
Wendelius22-Jan-09 20:49
mentorWendelius22-Jan-09 20:49 
Questionfiles from subfolder Pin
jishbalan22-Jan-09 17:11
jishbalan22-Jan-09 17:11 
AnswerRe: files from subfolder Pin
N a v a n e e t h22-Jan-09 17:14
N a v a n e e t h22-Jan-09 17:14 
AnswerRe: files from subfolder Pin
Ashutosh Phoujdar22-Jan-09 18:56
Ashutosh Phoujdar22-Jan-09 18:56 
Question[Message Deleted] Pin
moonshaddow22-Jan-09 17:08
moonshaddow22-Jan-09 17:08 
AnswerRe: reading from resource files Pin
N a v a n e e t h22-Jan-09 17:12
N a v a n e e t h22-Jan-09 17:12 
GeneralRe: reading from resource files Pin
moonshaddow22-Jan-09 17:26
moonshaddow22-Jan-09 17:26 
QuestionDoes VB support partial classes? [modified] Pin
PIEBALDconsult22-Jan-09 9:07
mvePIEBALDconsult22-Jan-09 9:07 
AnswerRe: Does VB support partial classes? Pin
Wendelius22-Jan-09 9:36
mentorWendelius22-Jan-09 9:36 

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.