Click here to Skip to main content
15,904,823 members
Home / Discussions / C#
   

C#

 
AnswerRe: Gmail Samples Pin
Abhinav S2-Feb-10 3:44
Abhinav S2-Feb-10 3:44 
QuestionTrouble with drawing on winfrom in new thread Pin
Frozzeg2-Feb-10 2:45
Frozzeg2-Feb-10 2:45 
AnswerRe: Trouble with drawing on winfrom in new thread Pin
Luc Pattyn2-Feb-10 3:29
sitebuilderLuc Pattyn2-Feb-10 3:29 
AnswerRe: Trouble with drawing on winfrom in new thread Pin
The Man from U.N.C.L.E.2-Feb-10 3:52
The Man from U.N.C.L.E.2-Feb-10 3:52 
GeneralRe: Trouble with drawing on winfrom in new thread Pin
Frozzeg2-Feb-10 8:00
Frozzeg2-Feb-10 8:00 
GeneralRe: Trouble with drawing on winfrom in new thread Pin
Dave Kreskowiak2-Feb-10 8:53
mveDave Kreskowiak2-Feb-10 8:53 
QuestionComboBox index Databind Pin
Kaikus2-Feb-10 2:22
Kaikus2-Feb-10 2:22 
AnswerRe: ComboBox index Databind Pin
The Man from U.N.C.L.E.2-Feb-10 4:01
The Man from U.N.C.L.E.2-Feb-10 4:01 
If you set the datasource for a combobox then the datasource must contain both the ValueMember and the DisplayMember otherwise it will not work.
in order to databind the ValueMember must point to a corresponding value in the datasource

eg.

Your datasource for the combobox would be a datatable such as:

ID VALUE
=============
1 myString1
2 myString2


Your dataset would have a column in the table (MyTable) containing the idStrings value for example.

MyCombo.DataSource = source;
MyCombo.ValueMember = "ID";
MyCombo.DisplayMember = "VALUE"

MyCombo.DataBindings.Add("SelectedValue", MyData, "idStrings")


If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

Question.NET applications? Pin
ppayal2-Feb-10 0:12
ppayal2-Feb-10 0:12 
AnswerRe: .NET applications? Pin
OriginalGriff2-Feb-10 0:19
mveOriginalGriff2-Feb-10 0:19 
AnswerRe: .NET applications? Pin
Keith Barrow2-Feb-10 0:19
professionalKeith Barrow2-Feb-10 0:19 
GeneralRe: .NET applications? Pin
OriginalGriff2-Feb-10 0:32
mveOriginalGriff2-Feb-10 0:32 
GeneralRe: .NET applications? Pin
Daniel Grunwald2-Feb-10 1:37
Daniel Grunwald2-Feb-10 1:37 
GeneralRe: .NET applications? Pin
OriginalGriff2-Feb-10 2:52
mveOriginalGriff2-Feb-10 2:52 
QuestionSHAPEFILES IN C# Pin
mayank4everurs2-Feb-10 0:06
mayank4everurs2-Feb-10 0:06 
GeneralRe: SHAPEFILES IN C# Pin
Keith Barrow2-Feb-10 0:28
professionalKeith Barrow2-Feb-10 0:28 
AnswerRe: SHAPEFILES IN C# Pin
Dave Kreskowiak2-Feb-10 2:24
mveDave Kreskowiak2-Feb-10 2:24 
QuestionC# global hotkeys in Linux Pin
Armin Paffrath1-Feb-10 23:38
Armin Paffrath1-Feb-10 23:38 
AnswerRe: C# global hotkeys in Linux Pin
freakyit2-Feb-10 2:11
freakyit2-Feb-10 2:11 
GeneralRe: C# global hotkeys in Linux Pin
Armin Paffrath2-Feb-10 2:22
Armin Paffrath2-Feb-10 2:22 
GeneralRe: C# global hotkeys in Linux Pin
freakyit2-Feb-10 23:55
freakyit2-Feb-10 23:55 
GeneralRe: C# global hotkeys in Linux Pin
Armin Paffrath3-Feb-10 23:01
Armin Paffrath3-Feb-10 23:01 
QuestionCreate a excelfile in C# - save with version Pin
Mschauder1-Feb-10 23:17
Mschauder1-Feb-10 23:17 
AnswerRe: Create a excelfile in C# Pin
Richard MacCutchan1-Feb-10 23:42
mveRichard MacCutchan1-Feb-10 23:42 
QuestionRe: Create a excelfile in C# Pin
Mschauder2-Feb-10 1:27
Mschauder2-Feb-10 1:27 

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.