Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe:How to make a transperent window in .net2.0 Pin
Martin#9-Aug-07 22:41
Martin#9-Aug-07 22:41 
QuestionIs .net the future? Pin
Mri1a9-Aug-07 21:42
Mri1a9-Aug-07 21:42 
AnswerRe: Is .net the future? Pin
Pete O'Hanlon9-Aug-07 22:21
subeditorPete O'Hanlon9-Aug-07 22:21 
AnswerRe: Is .net the future? Pin
Talal Sultan9-Aug-07 22:31
Talal Sultan9-Aug-07 22:31 
GeneralRe: Is .net the future? Pin
J4amieC9-Aug-07 23:14
J4amieC9-Aug-07 23:14 
AnswerRe: Is .net the future? Pin
mav.northwind10-Aug-07 1:18
mav.northwind10-Aug-07 1:18 
GeneralRe: Is .net the future? Pin
Harkamal Singh12-Aug-07 6:45
Harkamal Singh12-Aug-07 6:45 
QuestionHow to store the retrieved values from a coulmn of a table in an array?? Pin
rameshbhojan9-Aug-07 21:41
rameshbhojan9-Aug-07 21:41 
Hi All,
PLease let me know if how can a save the values in a column from a database in an array using C# .NET Web Application (so that i could use each value in the array in my code one by one.)
For Eg.: if i have the following query:

SELECT Name FROM Details WHERE Country='India'
here "Name" and "Country" are two columns in table called "Details".

Suppose the query returns Three values: Ram, John and Sohail
i want these names to be saved in an arraay.

i could not use the "ExecuteScalar" class as it can save only one value into a variable!

please send me the few lines of code necessary to do that using the above mentioned example.

Thanks,
Ramesh
AnswerRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Talal Sultan9-Aug-07 21:55
Talal Sultan9-Aug-07 21:55 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Giorgi Dalakishvili9-Aug-07 22:03
mentorGiorgi Dalakishvili9-Aug-07 22:03 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
rameshbhojan10-Aug-07 0:42
rameshbhojan10-Aug-07 0:42 
AnswerRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Talal Sultan10-Aug-07 2:10
Talal Sultan10-Aug-07 2:10 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
rameshbhojan19-Aug-07 22:58
rameshbhojan19-Aug-07 22:58 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Talal Sultan19-Aug-07 23:21
Talal Sultan19-Aug-07 23:21 
AnswerRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Giorgi Dalakishvili9-Aug-07 21:56
mentorGiorgi Dalakishvili9-Aug-07 21:56 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
rameshbhojan19-Aug-07 21:19
rameshbhojan19-Aug-07 21:19 
GeneralRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Giorgi Dalakishvili19-Aug-07 21:22
mentorGiorgi Dalakishvili19-Aug-07 21:22 
AnswerRe: How to store the retrieved values from a coulmn of a table in an array?? Pin
Talal Sultan9-Aug-07 21:57
Talal Sultan9-Aug-07 21:57 
Questionlistview in c# Pin
monuSaini9-Aug-07 21:34
monuSaini9-Aug-07 21:34 
AnswerRe: listview in c# Pin
mav.northwind10-Aug-07 12:31
mav.northwind10-Aug-07 12:31 
AnswerRe: What to choose asp.net!!1 Pin
Albu Marius9-Aug-07 21:33
Albu Marius9-Aug-07 21:33 
GeneralRe: What to choose asp.net!!1 Pin
monuSaini9-Aug-07 23:23
monuSaini9-Aug-07 23:23 
QuestionCapturing Complete Webpage as an Image Pin
Dinesh N Samarathunga9-Aug-07 20:29
Dinesh N Samarathunga9-Aug-07 20:29 
AnswerRe: Capturing Complete Webpage as an Image Pin
Michael Sync9-Aug-07 20:35
Michael Sync9-Aug-07 20:35 
GeneralRe: Capturing Complete Webpage as an Image Pin
Dinesh N Samarathunga9-Aug-07 22:31
Dinesh N Samarathunga9-Aug-07 22:31 

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.