Click here to Skip to main content
15,922,574 members
Home / Discussions / C#
   

C#

 
GeneralRe: Angles: Why Can't I get less than 45degrees? Pin
RedHotFunk9-May-08 11:27
RedHotFunk9-May-08 11:27 
Questioniterating dictionaries Pin
invictus39-May-08 8:53
invictus39-May-08 8:53 
AnswerRe: iterating dictionaries Pin
Pete O'Hanlon9-May-08 9:03
mvePete O'Hanlon9-May-08 9:03 
AnswerRe: iterating dictionaries Pin
PIEBALDconsult9-May-08 10:38
mvePIEBALDconsult9-May-08 10:38 
AnswerRe: iterating dictionaries Pin
Daniel Grunwald10-May-08 5:11
Daniel Grunwald10-May-08 5:11 
GeneralRe: iterating dictionaries Pin
invictus310-May-08 5:15
invictus310-May-08 5:15 
GeneralRe: iterating dictionaries Pin
invictus310-May-08 5:54
invictus310-May-08 5:54 
Questionlistbox_indexchanged read from MySQL Pin
Privilegue9-May-08 8:24
Privilegue9-May-08 8:24 
Hey all, I might have a somewhat newbie question as I haven't been using C# for too long yet.

Here it goes:

1) I have a listbox called lst_elements where i read data into from a MySQL DB table hs_a
2) I add items useing the sqlreader function in a while loop until there is no more data to be found.

read items in lst_elements would look like this in string

sqlReader.GetString("column_id")+ "\t" +sqlReader.GetString("column_name")+ "\n";

So i have a tab between first and second item(string) returned and a new line at the end of that row read.

Till here everything works fine. No problems at all

Now the tricky part, when I have an Item selected which was returned from my search I would like to query the server again but this time read out of

hs_a (unique index ID) then handle that ID which was returned for the selected item and read out of
hs_b from the returned ID another column which contains data for that specific ID. So to say table.hs_b contains the same uniqe IDs that hs_a has. I did this to relax the server abit more and hs_b contains data that is not always needed.

I am pretty familiar with the SQL Statements etc also the part on how to use it in C#.
If someone could help me out here I'd appreciate it, I might come up with a solution myself. Playing around with the code atm. Big Grin | :-D
AnswerRe: listbox_indexchanged read from MySQL Pin
CodingYoshi9-May-08 11:33
CodingYoshi9-May-08 11:33 
QuestionWeird focus problem Pin
kensai9-May-08 3:34
kensai9-May-08 3:34 
AnswerRe: Weird focus problem Pin
CodingYoshi9-May-08 11:35
CodingYoshi9-May-08 11:35 
GeneralRe: Weird focus problem Pin
kensai10-May-08 2:50
kensai10-May-08 2:50 
GeneralRe: Weird focus problem Pin
CodingYoshi10-May-08 9:41
CodingYoshi10-May-08 9:41 
GeneralRe: Weird focus problem Pin
kensai10-May-08 12:53
kensai10-May-08 12:53 
AnswerRe: Weird focus problem Pin
Dave Sexton10-May-08 0:30
Dave Sexton10-May-08 0:30 
GeneralRe: Weird focus problem Pin
kensai10-May-08 2:35
kensai10-May-08 2:35 
QuestionI need help starting multiple and communicating between application domains [modified] Pin
Togakangaroo9-May-08 3:15
Togakangaroo9-May-08 3:15 
AnswerRe: I need help starting multiple and communicating between application domains Pin
CodingYoshi9-May-08 11:44
CodingYoshi9-May-08 11:44 
GeneralRe: I need help starting multiple and communicating between application domains Pin
Togakangaroo9-May-08 14:37
Togakangaroo9-May-08 14:37 
GeneralRe: I need help starting multiple and communicating between application domains Pin
CodingYoshi9-May-08 17:10
CodingYoshi9-May-08 17:10 
GeneralRe: I need help starting multiple and communicating between application domains Pin
Togakangaroo10-May-08 8:44
Togakangaroo10-May-08 8:44 
GeneralRe: I need help starting multiple and communicating between application domains Pin
CodingYoshi10-May-08 9:45
CodingYoshi10-May-08 9:45 
QuestionBinding WebService to DataSet Pin
Aggressor9-May-08 2:26
Aggressor9-May-08 2:26 
AnswerRe: Binding WebService to DataSet Pin
CodingYoshi9-May-08 11:49
CodingYoshi9-May-08 11:49 
QuestionRemoving the parent node in an xml document Pin
dangquoctrang9-May-08 1:29
dangquoctrang9-May-08 1:29 

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.