Click here to Skip to main content
15,921,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: Global.asax file with Window Applications Pin
Calla16-Sep-09 20:06
Calla16-Sep-09 20:06 
AnswerRe: Global.asax file with Window Applications Pin
Arun Jacob16-Sep-09 20:15
Arun Jacob16-Sep-09 20:15 
AnswerRe: Global.asax file with Window Applications Pin
carlecomm22-Sep-09 0:54
carlecomm22-Sep-09 0:54 
QuestionWebbrowser and print ? Pin
Mohammad Dayyan16-Sep-09 19:19
Mohammad Dayyan16-Sep-09 19:19 
AnswerRe: Webbrowser and print ? Pin
Richard MacCutchan17-Sep-09 5:39
mveRichard MacCutchan17-Sep-09 5:39 
GeneralRe: Webbrowser and print ? Pin
carlecomm22-Sep-09 0:56
carlecomm22-Sep-09 0:56 
Questionusing google api how can i find that a website is using adsense Pin
Anil Veeraghattapu 416-Sep-09 19:04
Anil Veeraghattapu 416-Sep-09 19:04 
AnswerRe: using google api how can i find that a website is using adsense Pin
Christian Graus16-Sep-09 19:05
protectorChristian Graus16-Sep-09 19:05 
GeneralRe: using google api how can i find that a website is using adsense Pin
Calla16-Sep-09 20:08
Calla16-Sep-09 20:08 
GeneralRe: using google api how can i find that a website is using adsense Pin
benjymous16-Sep-09 23:31
benjymous16-Sep-09 23:31 
AnswerRe: using google api how can i find that a website is using adsense Pin
benjymous16-Sep-09 23:30
benjymous16-Sep-09 23:30 
Questionhow to send xml document Pin
aamirzada16-Sep-09 18:26
aamirzada16-Sep-09 18:26 
AnswerRe: how to send xml document Pin
Christian Graus16-Sep-09 18:27
protectorChristian Graus16-Sep-09 18:27 
AnswerRe: how to send xml document Pin
N a v a n e e t h16-Sep-09 18:31
N a v a n e e t h16-Sep-09 18:31 
QuestionTeam Foundation Server Pin
devvvy16-Sep-09 17:24
devvvy16-Sep-09 17:24 
AnswerRe: Team Foundation Server Pin
N a v a n e e t h16-Sep-09 18:27
N a v a n e e t h16-Sep-09 18:27 
AnswerRe: Team Foundation Server Pin
egenis16-Sep-09 18:28
egenis16-Sep-09 18:28 
QuestionHow to add table's content from one to another table Pin
dwark10616-Sep-09 16:21
dwark10616-Sep-09 16:21 
AnswerRe: How to add table's content from one to another table Pin
Christian Graus16-Sep-09 17:27
protectorChristian Graus16-Sep-09 17:27 
GeneralRe: How to add table's content from one to another table Pin
dwark10616-Sep-09 18:09
dwark10616-Sep-09 18:09 
GeneralRe: How to add table's content from one to another table Pin
dwark10616-Sep-09 18:24
dwark10616-Sep-09 18:24 
GeneralRe: How to add table's content from one to another table Pin
N a v a n e e t h16-Sep-09 18:41
N a v a n e e t h16-Sep-09 18:41 
QuestionSystem.Drawing.Printing Issue Pin
Jason McBurney16-Sep-09 11:58
Jason McBurney16-Sep-09 11:58 
QuestionEntity-collection Pin
Oceanic67916-Sep-09 10:43
Oceanic67916-Sep-09 10:43 
AnswerRe: Entity-collection Pin
Not Active16-Sep-09 11:36
mentorNot Active16-Sep-09 11:36 
I prefer Necromancer rather than Wizard

t = new Selected_DocType( userID<br />
, password<br />
, (string)cmd.Parameters["DocType"].Value<br />
, (string)cmd.Parameters["FileShortDescription"].Value<br />


Of course you are only getting one object because that is all you are creating.

You also need to call ExecuteReader and iterate through the results returned to create all the objects. Learn the difference between ExecuteNonQuery and ExecuteReader and the other methods for SqlCommand


only two letters away from being an asset

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.