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

C#

 
GeneralRe: screen capture without DLLs Pin
likefood23-Feb-07 7:09
likefood23-Feb-07 7:09 
AnswerRe: screen capture without DLLs Pin
Judah Gabriel Himango23-Feb-07 4:41
sponsorJudah Gabriel Himango23-Feb-07 4:41 
Questionvalidation code Pin
grainneosul23-Feb-07 1:02
grainneosul23-Feb-07 1:02 
AnswerRe: validation code [modified] Pin
Hesham Amin23-Feb-07 1:28
Hesham Amin23-Feb-07 1:28 
GeneralRe: validation code Pin
grainneosul23-Feb-07 1:35
grainneosul23-Feb-07 1:35 
QuestionStopping User Control executing in Designer Pin
AJ12323-Feb-07 0:59
AJ12323-Feb-07 0:59 
AnswerRe: Stopping User Control executing in Designer Pin
Hesham Amin23-Feb-07 1:34
Hesham Amin23-Feb-07 1:34 
QuestionGet many values in a variable from database. Pin
Nekshan22-Feb-07 23:35
Nekshan22-Feb-07 23:35 
I have a function to display a popup in a form:

taskbarNotifier1.Show("HostName: \n\n SiteHit: \n\n Survey: \n\n TAF: \n\n ATO: ", strQuery, 300, 2000, 300);

Now these hostname,survey,taf,ato i have to get from database :

strQuery = "select url,sitehit,survey,tellafriend,addtooutlook from tblsummary where datetime = now";
i.e. the last/current entry of database and store all these data in string 'strQuery' and call this variable 'strQuery' in above function taskbarNotifier1.Show in different lines ie one after other like this :
|------------------------------------
| Hostname : nekshan@yahoo.com |
|
| Sitehit : 1
|
| Survey : 0
|
| tellafriend : 1
|_______________________________|

These in bold are data to be displayed by the query.
How to get all this data in one variable to put it in my function n display data in this format.
Can i get many fields from a record of a table and store it in a variable or i have to use some other way.
i dont know whether i can get many fields from a record of a table and store it in a variable.
Hope to get some response.
thank you
nekshan.

Hope u r getting my Point.
Thanx
nekshan.
AnswerRe: Get many values in a variable from database. Pin
Harini N K22-Feb-07 23:57
Harini N K22-Feb-07 23:57 
AnswerRe: Get many values in a variable from database. Pin
virendra patel23-Feb-07 1:11
virendra patel23-Feb-07 1:11 
GeneralRe: Get many values in a variable from database. Pin
Nekshan25-Feb-07 19:32
Nekshan25-Feb-07 19:32 
GeneralRe: Get many values in a variable from database. Pin
virendra patel25-Feb-07 19:49
virendra patel25-Feb-07 19:49 
GeneralRe: Get many values in a variable from database. Pin
Nekshan25-Feb-07 20:00
Nekshan25-Feb-07 20:00 
GeneralRe: Get many values in a variable from database. Pin
virendra patel25-Feb-07 20:04
virendra patel25-Feb-07 20:04 
GeneralRe: Get many values in a variable from database. Pin
virendra patel25-Feb-07 21:19
virendra patel25-Feb-07 21:19 
GeneralRe: Get many values in a variable from database. Pin
Nekshan25-Feb-07 21:27
Nekshan25-Feb-07 21:27 
GeneralRe: Get many values in a variable from database. Pin
virendra patel25-Feb-07 21:28
virendra patel25-Feb-07 21:28 
QuestionGet all namespaces Pin
iqueiroz22-Feb-07 23:15
iqueiroz22-Feb-07 23:15 
QuestionRecognize sounds from midi Pin
sharpiesharpie22-Feb-07 23:12
sharpiesharpie22-Feb-07 23:12 
AnswerRe: Recognize sounds from midi Pin
Christian Graus23-Feb-07 0:00
protectorChristian Graus23-Feb-07 0:00 
AnswerRe: Recognize sounds from midi Pin
Leslie Sanford24-Feb-07 9:28
Leslie Sanford24-Feb-07 9:28 
QuestionSearch binary string? Pin
Monk11122-Feb-07 22:45
Monk11122-Feb-07 22:45 
AnswerRe: Search binary string? Pin
Stefan Troschuetz22-Feb-07 23:08
Stefan Troschuetz22-Feb-07 23:08 
AnswerRe: Search binary string? Pin
Christian Graus22-Feb-07 23:11
protectorChristian Graus22-Feb-07 23:11 
Questionpredifined array of structures in C#? Pin
bouli22-Feb-07 22:22
bouli22-Feb-07 22:22 

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.