Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Clicking on a drawn line Pin
Anthony Mushrow13-Jun-08 8:09
professionalAnthony Mushrow13-Jun-08 8:09 
QuestionCannot Save Personal settings Pin
humayunlalzad13-Jun-08 3:50
humayunlalzad13-Jun-08 3:50 
AnswerRe: Cannot Save Personal settings Pin
leppie13-Jun-08 3:51
leppie13-Jun-08 3:51 
GeneralRe: Cannot Save Personal settings Pin
humayunlalzad13-Jun-08 4:07
humayunlalzad13-Jun-08 4:07 
AnswerRe: Cannot Save Personal settings Pin
Ashfield13-Jun-08 4:13
Ashfield13-Jun-08 4:13 
GeneralRe: Cannot Save Personal settings Pin
humayunlalzad13-Jun-08 4:28
humayunlalzad13-Jun-08 4:28 
GeneralRe: Cannot Save Personal settings Pin
Ashfield13-Jun-08 5:11
Ashfield13-Jun-08 5:11 
GeneralRe: Cannot Save Personal settings Pin
leppie13-Jun-08 5:18
leppie13-Jun-08 5:18 
GeneralRe: Cannot Save Personal settings Pin
humayunlalzad13-Jun-08 5:34
humayunlalzad13-Jun-08 5:34 
GeneralRe: Cannot Save Personal settings Pin
leppie13-Jun-08 6:10
leppie13-Jun-08 6:10 
QuestionHow to merge the 2 tables of a dataset using c#, given the 2 tables contain same primary key with different content Pin
dotNetKeen13-Jun-08 3:41
dotNetKeen13-Jun-08 3:41 
AnswerRe: How to merge the 2 tables of a dataset using c#, given the 2 tables contain same primary key with different content Pin
leppie13-Jun-08 5:20
leppie13-Jun-08 5:20 
QuestionHow can I read a specific node in XML file ? Pin
Mohammad Dayyan13-Jun-08 3:39
Mohammad Dayyan13-Jun-08 3:39 
AnswerRe: How can I read a specific node in XML file ? Pin
leppie13-Jun-08 3:46
leppie13-Jun-08 3:46 
GeneralRe: How can I read a specific node in XML file ? Pin
Mohammad Dayyan13-Jun-08 3:49
Mohammad Dayyan13-Jun-08 3:49 
GeneralRe: How can I read a specific node in XML file ? Pin
leppie13-Jun-08 3:52
leppie13-Jun-08 3:52 
QuestionChange Page Doctype Pin
tadhg8813-Jun-08 3:05
tadhg8813-Jun-08 3:05 
AnswerRe: Change Page Doctype Pin
leppie13-Jun-08 12:17
leppie13-Jun-08 12:17 
GeneralRe: Change Page Doctype Pin
tadhg8815-Jun-08 22:52
tadhg8815-Jun-08 22:52 
QuestionCombobox value member Pin
countnazgul13-Jun-08 2:42
countnazgul13-Jun-08 2:42 
Hello to all!
I've got problem with getting values from combobox. Code below how i get data from database and populate it in combobox. The problem is that few lines below this code i need to get value member value when something is selected in this combobox. With this code VS compile successfully. But the result is not correct. I'm not sure that this code actually works correct.
comboBox2.ValueMember = Issues.Tables[0].Columns[0].ToString();


If you understand me can you help me? Smile | :)
String ConnStr = settings.ConnectionString().ToString();

     String SQLIssues = "SELECT issueid, projid, summary FROM issues";

     SqlDataAdapter IssuesAdpt = new SqlDataAdapter(SQLIssues, ConnStr);
     DataSet Issues = new DataSet();

     IssuesAdpt.Fill(Issues);

     foreach (DataRow Issue in Issues.Tables[0].Rows)
     {
         comboBox2.Items.Add(Issue[2]);
         comboBox2.ValueMember = Issues.Tables[0].Columns[0].ToString();
     }


King Regards!
countNazgul

QuestionHI, Pin
nabeelkhan13-Jun-08 2:38
nabeelkhan13-Jun-08 2:38 
AnswerRe: HI, Pin
Simon P Stevens13-Jun-08 2:52
Simon P Stevens13-Jun-08 2:52 
QuestionKilling the Processes Using process.Kill() restarts the system Pin
Neeraj Kr13-Jun-08 1:36
Neeraj Kr13-Jun-08 1:36 
AnswerRe: Killing the Processes Using process.Kill() restarts the system Pin
Ashfield13-Jun-08 2:08
Ashfield13-Jun-08 2:08 
GeneralRe: Killing the Processes Using process.Kill() restarts the system Pin
Neeraj Kr13-Jun-08 2:42
Neeraj Kr13-Jun-08 2:42 

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.