Click here to Skip to main content
15,896,912 members
Home / Discussions / C#
   

C#

 
QuestionPlz help me to go to a particular node in xml file Pin
P_Elza12-Sep-07 17:15
P_Elza12-Sep-07 17:15 
AnswerRe: Plz help me to go to a particular node in xml file Pin
Christian Graus12-Sep-07 18:39
protectorChristian Graus12-Sep-07 18:39 
AnswerRe: Plz help me to go to a particular node in xml file Pin
Jintal Patel12-Sep-07 19:15
Jintal Patel12-Sep-07 19:15 
AnswerRe: Plz help me to go to a particular node in xml file Pin
Nouman Bhatti12-Sep-07 19:27
Nouman Bhatti12-Sep-07 19:27 
AnswerRe: Plz help me to go to a particular node in xml file Pin
P_Elza12-Sep-07 21:52
P_Elza12-Sep-07 21:52 
QuestionSaving username and password Pin
C#Coudou12-Sep-07 15:33
C#Coudou12-Sep-07 15:33 
AnswerRe: Saving username and password Pin
Christian Graus12-Sep-07 15:50
protectorChristian Graus12-Sep-07 15:50 
QuestionReading data from a dataset with a checkedlistbox Pin
falles0112-Sep-07 15:28
falles0112-Sep-07 15:28 
Hi I'm posting a new question in case Malcolm doesn't read my reply in time.

Basically what is wrong with this code? I want to automatically check the checklistbox items depending on if the items match the employees TechnicalSkillsID in the database table. Malcolm gave me a web form example which was a great response except I forgot to tell him I was using a winform.
can you help at all?
int i;<br />
<br />
                    for (i = 0; i <= (techSkillsCheckListBox2.Items.Count - 1); i++)<br />
                    {<br />
                       // SqlDataReader MyDataReader = adoCmd.ExecuteReader(CommandBehavior.CloseConnection);<br />
                        while (adoDR.Read())<br />
                        {<br />
                            sql = "Select em.TechnicalSkillsID,t.ProgLanguagesDatabase from EmpSkills em,TechnicalSkills t where EmployeeID = '" + FirstnameText.Text + "' and em.TechnicalSkillsID = t.TechnicalSkillsID";<br />
                            //populate a datatable with the result set<br />
<br />
                            DataRow[] rows = dataSet1.TechnicalSkills.Select();<br />
                            foreach (DataRow row in rows)<br />
                            {<br />
                                string techID = row["TechnicalSkillsID"].ToString();<br />
                                techSkillsCheckListBox2.SetItemChecked(i, true);<br />
                            }<br />
                        }<br />
                    }


Sianny aka Sharny
AnswerRe: Reading data from a dataset with a checkedlistbox Pin
Christian Graus12-Sep-07 18:52
protectorChristian Graus12-Sep-07 18:52 
GeneralRe: Reading data from a dataset with a checkedlistbox Pin
falles0112-Sep-07 19:00
falles0112-Sep-07 19:00 
GeneralRe: Reading data from a dataset with a checkedlistbox Pin
Christian Graus13-Sep-07 3:10
protectorChristian Graus13-Sep-07 3:10 
GeneralRe: Reading data from a dataset with a checkedlistbox Pin
falles0113-Sep-07 15:12
falles0113-Sep-07 15:12 
GeneralRe: Reading data from a dataset with a checkedlistbox Pin
falles0113-Sep-07 15:17
falles0113-Sep-07 15:17 
GeneralRe: Reading data from a dataset with a checkedlistbox Pin
falles0113-Sep-07 15:30
falles0113-Sep-07 15:30 
QuestionDrawing a line to a bitmap Pin
Klazen12-Sep-07 13:31
Klazen12-Sep-07 13:31 
AnswerRe: Drawing a line to a bitmap Pin
Christian Graus12-Sep-07 13:45
protectorChristian Graus12-Sep-07 13:45 
GeneralRe: Drawing a line to a bitmap Pin
Klazen12-Sep-07 14:12
Klazen12-Sep-07 14:12 
GeneralRe: Drawing a line to a bitmap Pin
Christian Graus12-Sep-07 14:28
protectorChristian Graus12-Sep-07 14:28 
QuestionThe "EGG" task Pin
Saikek12-Sep-07 11:16
Saikek12-Sep-07 11:16 
AnswerRe: The &amp;quot;EGG&amp;quot; task Pin
Brent Lamborn12-Sep-07 11:27
Brent Lamborn12-Sep-07 11:27 
AnswerRe: The "EGG" task Pin
Christian Graus12-Sep-07 13:47
protectorChristian Graus12-Sep-07 13:47 
QuestionPC - Ethernet - Ethernet/RS232 changer - µC Pin
suam11112-Sep-07 11:12
suam11112-Sep-07 11:12 
AnswerRe: PC - Ethernet - Ethernet/RS232 changer - µC Pin
Dave Kreskowiak12-Sep-07 13:33
mveDave Kreskowiak12-Sep-07 13:33 
AnswerRe: PC - Ethernet - Ethernet/RS232 changer Pin
Luc Pattyn12-Sep-07 14:31
sitebuilderLuc Pattyn12-Sep-07 14:31 
GeneralRe: PC - Ethernet - Ethernet/RS232 changer - µC Pin
Dave Kreskowiak12-Sep-07 15:01
mveDave Kreskowiak12-Sep-07 15:01 

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.