Click here to Skip to main content
15,913,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML versus Registry in C# Pin
ChrisKo4-Mar-08 9:31
ChrisKo4-Mar-08 9:31 
GeneralRe: XML versus Registry in C# Pin
Christian Graus4-Mar-08 10:05
protectorChristian Graus4-Mar-08 10:05 
GeneralRe: XML versus Registry in C# Pin
GuyThiebaut4-Mar-08 10:08
professionalGuyThiebaut4-Mar-08 10:08 
GeneralRe: XML versus Registry in C# Pin
GuyThiebaut4-Mar-08 10:06
professionalGuyThiebaut4-Mar-08 10:06 
GeneralRe: XML versus Registry in C# Pin
PIEBALDconsult4-Mar-08 13:52
mvePIEBALDconsult4-Mar-08 13:52 
AnswerRe: XML versus Registry in C# Pin
GuyThiebaut5-Mar-08 2:17
professionalGuyThiebaut5-Mar-08 2:17 
QuestionHow to find item in a bind combobox Pin
baranils4-Mar-08 5:38
baranils4-Mar-08 5:38 
AnswerRe: How to find item in a bind combobox Pin
J$4-Mar-08 5:50
J$4-Mar-08 5:50 
If you are certain that the value you're trying to select exists, this should select it for you. (Bolded lines are lines I've added or changed)
<br />
string selectcmd = "SELECT PostCode FROM `address` group by PostCode ";<br />
adaCP.SelectCommand = new MySqlCommand(selectcmd, MyConn.conn);<br />
adaCP.Fill(dsCP);<br />
cmb_post.DataSource = dsCP.Tables[0];<br />
// bind value member of combobox to datatable<br />
cmb_post.ValueMember = dsCP.Tables[0].Columns[0].ColumnName;<br />
cmb_post.DisplayMember = dsCP.Tables[0].Columns[0].ColumnName;<br />
<br />
// select item<br />
cmb_post.SelectedValue = 2000;<br />

GeneralRe: How to find item in a bind combobox Pin
baranils4-Mar-08 6:15
baranils4-Mar-08 6:15 
Questioni need ur helps Pin
thejakl554-Mar-08 5:27
thejakl554-Mar-08 5:27 
GeneralRe: i need ur helps Pin
Xmen Real 4-Mar-08 7:16
professional Xmen Real 4-Mar-08 7:16 
Question(4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 4:27
jchalfant4-Mar-08 4:27 
AnswerRe: (4/4)%2 = 1? wtf? Pin
J$4-Mar-08 5:17
J$4-Mar-08 5:17 
AnswerRe: (4/4)%2 = 1? wtf? Pin
leppie4-Mar-08 5:59
leppie4-Mar-08 5:59 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 6:41
jchalfant4-Mar-08 6:41 
GeneralRe: (4/4)%2 = 1? wtf? Pin
leppie4-Mar-08 7:18
leppie4-Mar-08 7:18 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 7:38
jchalfant4-Mar-08 7:38 
AnswerRe: (4/4)%2 = 1? wtf? Pin
Guffa4-Mar-08 8:13
Guffa4-Mar-08 8:13 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 8:26
jchalfant4-Mar-08 8:26 
AnswerRe: (4/4)%2 = 1? wtf? Pin
Luc Pattyn4-Mar-08 13:13
sitebuilderLuc Pattyn4-Mar-08 13:13 
GeneralRe: (4/4)%2 = 1? wtf? Pin
jchalfant4-Mar-08 13:29
jchalfant4-Mar-08 13:29 
GeneralRe: (4/4)%2 = 1? wtf? Pin
Luc Pattyn4-Mar-08 14:07
sitebuilderLuc Pattyn4-Mar-08 14:07 
Generalreading a binary file Pin
ES Kim4-Mar-08 4:21
ES Kim4-Mar-08 4:21 
AnswerRe: reading a binary file Pin
Eslam Afifi4-Mar-08 4:50
Eslam Afifi4-Mar-08 4:50 
GeneralAttempted to read and write protected memory… ActiveX on Vista Pin
anderslundsgard4-Mar-08 4:18
anderslundsgard4-Mar-08 4:18 

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.