Click here to Skip to main content
15,920,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: Clearing the console? Pin
David Wengier21-Mar-02 17:46
David Wengier21-Mar-02 17:46 
GeneralRe: Clearing the console? Pin
Chris Masiero21-Mar-02 17:45
Chris Masiero21-Mar-02 17:45 
QuestionCreate guid in C#? Pin
21-Mar-02 11:54
suss21-Mar-02 11:54 
AnswerRe: Create guid in C#? Pin
Andres Manggini21-Mar-02 13:15
Andres Manggini21-Mar-02 13:15 
AnswerRe: Create guid in C#? Pin
James T. Johnson21-Mar-02 17:42
James T. Johnson21-Mar-02 17:42 
GeneralRe: Create guid in C#? Pin
Nish Nishant23-Mar-02 3:22
sitebuilderNish Nishant23-Mar-02 3:22 
QuestionDataList Multiple Selection? Pin
21-Mar-02 11:52
suss21-Mar-02 11:52 
GeneralListBox Multiple Selection Pin
21-Mar-02 10:53
suss21-Mar-02 10:53 
The ListBox gets populated by SQL server database (databinding), I need to support multiple selection so that I can retrieve all the selected values in the ListBox and send them back to database as sql statement and then get the result back to show in the web page.

My question is: How can I construct the sql statement with parameter (array) that reflect those selections in ListBox? e.g. In sql statement " Where id=@id" works for single parameter, if id is type of int, @id is also type of int. Now I have an id array holding the selected id from ListBox. What will be the array type. How can I construct sql ?



Chris#
GeneralRe: ListBox Multiple Selection Pin
Andres Manggini21-Mar-02 11:24
Andres Manggini21-Mar-02 11:24 
GeneralRe: ListBox Multiple Selection Pin
21-Mar-02 11:59
suss21-Mar-02 11:59 
GeneralRe: ListBox Multiple Selection Pin
James T. Johnson21-Mar-02 17:46
James T. Johnson21-Mar-02 17:46 
GeneralRe: Thanks All, I got it work! Pin
22-Mar-02 2:54
suss22-Mar-02 2:54 
General.NET Benchmark Challenge Pin
Chris Maunder20-Mar-02 14:44
cofounderChris Maunder20-Mar-02 14:44 
GeneralRe: .NET Benchmark Challenge Pin
Andres Manggini20-Mar-02 15:43
Andres Manggini20-Mar-02 15:43 
GeneralRe: .NET Benchmark Challenge Pin
Chris Maunder21-Mar-02 0:11
cofounderChris Maunder21-Mar-02 0:11 
Generalcreating a control as a container (like SSTabs) Pin
20-Mar-02 5:32
suss20-Mar-02 5:32 
GeneralUsing Collections of objects as public properties Pin
20-Mar-02 5:30
suss20-Mar-02 5:30 
QuestionGetTextExtent in C#? Pin
19-Mar-02 23:55
suss19-Mar-02 23:55 
AnswerRe: GetTextExtent in C#? Pin
Alexander Kojevnikov20-Mar-02 0:15
Alexander Kojevnikov20-Mar-02 0:15 
GeneralFighting with ADO.NET Pin
Mazdak19-Mar-02 23:20
Mazdak19-Mar-02 23:20 
GeneralSerialization (save and loading) Pin
BLaZiNiX19-Mar-02 14:00
BLaZiNiX19-Mar-02 14:00 
GeneralRe: Serialization (save and loading) Pin
Andres Manggini19-Mar-02 14:34
Andres Manggini19-Mar-02 14:34 
GeneralRe: Serialization (save and loading) Pin
BLaZiNiX19-Mar-02 15:32
BLaZiNiX19-Mar-02 15:32 
GeneralRe: Serialization (save and loading) Pin
Andres Manggini19-Mar-02 16:10
Andres Manggini19-Mar-02 16:10 
GeneralRe: Serialization (save and loading) Pin
BLaZiNiX19-Mar-02 16:38
BLaZiNiX19-Mar-02 16:38 

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.