Click here to Skip to main content
16,004,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to view available hard drives Pin
MartyExodus13-Dec-06 18:18
MartyExodus13-Dec-06 18:18 
QuestionHow could i send WindowApplcation.exe in Start up ? Pin
Sanjib Raj13-Dec-06 17:42
Sanjib Raj13-Dec-06 17:42 
AnswerRe: How could i send WindowApplcation.exe in Start up ? Pin
Eytukan13-Dec-06 18:09
Eytukan13-Dec-06 18:09 
AnswerRe: How could i send WindowApplcation.exe in Start up ? Pin
Niiiissssshhhhhuuuuu13-Dec-06 18:49
Niiiissssshhhhhuuuuu13-Dec-06 18:49 
QuestionInserting data based on multi select listbox data Pin
mohd imran abdul aziz13-Dec-06 17:19
mohd imran abdul aziz13-Dec-06 17:19 
AnswerRe: Inserting data based on multi select listbox data Pin
sno-113-Dec-06 18:14
sno-113-Dec-06 18:14 
GeneralRe: Inserting data based on multi select listbox data Pin
mohd imran abdul aziz13-Dec-06 18:59
mohd imran abdul aziz13-Dec-06 18:59 
GeneralRe: Inserting data based on multi select listbox data Pin
sno-114-Dec-06 5:41
sno-114-Dec-06 5:41 
sorry for the long time, but I can'nt seat before my pc in some many hours, ok your question is simple

the best mode to give you the answer is with a example....
if you have a listbox and in them properties selection mode you put "MultiSimple", and you do a correct add of the elements to show in run time, you selected the item that you need to save in your DB maybe using that

int [] a;
int p=0;
p=this.listBox1 .SelectedIndices.Count ;
a=new int[p];
for (int i = 0;i < p;i++)
a[i] = this.listBox1 .SelectedIndices [i];

and in the array "a" you have all the position that be selected, the rest i think you know, make a loop wih that and with the class SqlParameter add all this position or the name of the item under this position....
is a plaesure help you, if you have any question tell me ok....Laugh | :laugh: Laugh | :laugh: Laugh | :laugh:
GeneralRe: Inserting data based on multi select listbox data Pin
sno-18-Jan-07 9:27
sno-18-Jan-07 9:27 
AnswerRe: Inserting data based on multi select listbox data Pin
vijayan_53123-Feb-09 21:43
vijayan_53123-Feb-09 21:43 
QuestionRunning System tray 24 hrs Pin
Sanjib Raj13-Dec-06 16:52
Sanjib Raj13-Dec-06 16:52 
AnswerRe: Running System tray 24 hrs Pin
Eytukan13-Dec-06 17:03
Eytukan13-Dec-06 17:03 
QuestionSafe and Unsafe key words Pin
Rahithi13-Dec-06 15:59
Rahithi13-Dec-06 15:59 
AnswerRe: Safe and Unsafe key words Pin
chravisankar13-Dec-06 18:47
chravisankar13-Dec-06 18:47 
GeneralRe: Safe and Unsafe key words Pin
Rahithi14-Dec-06 3:55
Rahithi14-Dec-06 3:55 
QuestionMenuStrip Mouse events Pin
centershot13-Dec-06 14:06
centershot13-Dec-06 14:06 
AnswerRe: MenuStrip Mouse events Pin
teejayem13-Dec-06 15:19
teejayem13-Dec-06 15:19 
QuestionThread Problem Pin
deepintrance13-Dec-06 13:19
deepintrance13-Dec-06 13:19 
AnswerRe: Thread Problem Pin
Luc Pattyn13-Dec-06 13:38
sitebuilderLuc Pattyn13-Dec-06 13:38 
GeneralRe: Thread Problem Pin
deepintrance13-Dec-06 13:57
deepintrance13-Dec-06 13:57 
GeneralRe: Thread Problem Pin
Luc Pattyn13-Dec-06 14:13
sitebuilderLuc Pattyn13-Dec-06 14:13 
AnswerRe: Thread Problem Pin
Guffa13-Dec-06 14:02
Guffa13-Dec-06 14:02 
AnswerRe: Thread Problem Pin
pele00713-Dec-06 15:41
pele00713-Dec-06 15:41 
GeneralRe: Thread Problem Pin
deepintrance13-Dec-06 16:49
deepintrance13-Dec-06 16:49 
AnswerRe: Thread Problem Pin
Eytukan13-Dec-06 17:01
Eytukan13-Dec-06 17: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.