Click here to Skip to main content
15,890,670 members
Home / Discussions / C#
   

C#

 
GeneralRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Glen Harvy9-Feb-07 14:28
Glen Harvy9-Feb-07 14:28 
GeneralRe: currentMotion[0]["MeetingDateProp"].ToString("MMM dd, yyyy") Pin
Ed.Poore9-Feb-07 15:01
Ed.Poore9-Feb-07 15:01 
Question.NET memory limitations Pin
Todd Smith9-Feb-07 11:38
Todd Smith9-Feb-07 11:38 
AnswerRe: .NET memory limitations Pin
Christian Graus9-Feb-07 12:13
protectorChristian Graus9-Feb-07 12:13 
GeneralRe: .NET memory limitations Pin
M Harris10-Feb-07 3:10
M Harris10-Feb-07 3:10 
AnswerRe: .NET memory limitations Pin
Nemanja Trifunovic9-Feb-07 12:16
Nemanja Trifunovic9-Feb-07 12:16 
GeneralRe: .NET memory limitations Pin
Todd Smith9-Feb-07 12:58
Todd Smith9-Feb-07 12:58 
QuestionDatabase access [modified] Pin
sreecahitu9-Feb-07 10:30
sreecahitu9-Feb-07 10:30 
Am retrieving data from my databese engine to read the data, but encountering an error at dr.Read(), con.close().

public string constring = @" ";
SqlConnection con = new SqlConnection(constring);
SqlCommand cmd = new SqlCommand("select * from emp",con);
SqlDataReader dr = cmd.ExecuteReader();
dr.Read();
con.Close();

"Invalid token '(' in class, struct, or interface member declaration", what could be the reason for this?


-- modified at 18:59 Friday 9th February, 2007
AnswerRe: Database access Pin
Aaron VanWieren9-Feb-07 10:41
Aaron VanWieren9-Feb-07 10:41 
AnswerRe: Database access Pin
Christian Graus9-Feb-07 10:47
protectorChristian Graus9-Feb-07 10:47 
GeneralRe: Database access Pin
sreecahitu9-Feb-07 10:53
sreecahitu9-Feb-07 10:53 
GeneralRe: Database access Pin
Christian Graus9-Feb-07 12:09
protectorChristian Graus9-Feb-07 12:09 
GeneralRe: Database access Pin
sreecahitu9-Feb-07 12:56
sreecahitu9-Feb-07 12:56 
GeneralRe: Database access Pin
Dave Kreskowiak9-Feb-07 13:05
mveDave Kreskowiak9-Feb-07 13:05 
GeneralRe: Database access Pin
Christian Graus9-Feb-07 13:13
protectorChristian Graus9-Feb-07 13:13 
GeneralRe: Database access Pin
sreecahitu9-Feb-07 13:43
sreecahitu9-Feb-07 13:43 
GeneralRe: Database access Pin
dabuskol9-Feb-07 19:35
dabuskol9-Feb-07 19:35 
QuestionData navigator? Pin
TrooperIronMan9-Feb-07 9:44
TrooperIronMan9-Feb-07 9:44 
QuestionGPRS Data Transfer Pin
Tauseef A9-Feb-07 8:25
Tauseef A9-Feb-07 8:25 
AnswerRe: GPRS Data Transfer Pin
Ed.Poore9-Feb-07 12:41
Ed.Poore9-Feb-07 12:41 
Questiondrawing semi transparent boxes over richtextbox Pin
k.arts9-Feb-07 8:17
k.arts9-Feb-07 8:17 
AnswerRe: drawing semi transparent boxes over richtextbox Pin
NarVish13-Apr-10 19:48
NarVish13-Apr-10 19:48 
GeneralRe: drawing semi transparent boxes over richtextbox Pin
k.arts13-Apr-10 20:49
k.arts13-Apr-10 20:49 
Questionusing vb.net to post to a website Pin
keroed_edmond9-Feb-07 8:04
keroed_edmond9-Feb-07 8:04 
AnswerRe: using vb.net to post to a website Pin
Stefan Troschuetz9-Feb-07 8:26
Stefan Troschuetz9-Feb-07 8:26 

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.