Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
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 
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 
OK, I think we've found the problem.


sreecahitu wrote:
string constring=@"source, user="",password="" ";


When you use @, you need two " to make *one* quote. So, it's user=""name""


sreecahitu wrote:
SQLConnection con=new SqlConnection("cosnstring");


Because you put it in quotes, you're passing in the value cosnstring, instead of the value of the variable with that name.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

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 
QuestionClick Event Problem Pin
Semion_N9-Feb-07 7:36
Semion_N9-Feb-07 7:36 
AnswerRe: Click Event Problem Pin
FocusedWolf9-Feb-07 7:51
FocusedWolf9-Feb-07 7:51 
GeneralRe: Click Event Problem Pin
Semion_N9-Feb-07 8:49
Semion_N9-Feb-07 8:49 
GeneralRe: Click Event Problem Pin
FocusedWolf9-Feb-07 8:59
FocusedWolf9-Feb-07 8:59 

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.