Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
QuestionPKCS#1, Version 2 Pin
MozhdehQeraati7-Feb-07 19:34
MozhdehQeraati7-Feb-07 19:34 
QuestionFileName as CommandLineArgument Pin
GunaChinna7-Feb-07 18:51
GunaChinna7-Feb-07 18:51 
AnswerRe: FileName as CommandLineArgument Pin
Christian Graus7-Feb-07 18:57
protectorChristian Graus7-Feb-07 18:57 
GeneralRe: FileName as CommandLineArgument Pin
GunaChinna7-Feb-07 19:03
GunaChinna7-Feb-07 19:03 
GeneralRe: FileName as CommandLineArgument Pin
Christian Graus7-Feb-07 20:58
protectorChristian Graus7-Feb-07 20:58 
GeneralRe: FileName as CommandLineArgument Pin
GunaChinna7-Feb-07 21:21
GunaChinna7-Feb-07 21:21 
Questionget a value from database into a variable. Pin
Nekshan7-Feb-07 18:19
Nekshan7-Feb-07 18:19 
AnswerRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 18:29
protectorChristian Graus7-Feb-07 18:29 
I recommend giving up on windows forms and databases, and reading a beginners book on C#. Where did you find this code ? If you can't debug it, you're just going to have more and more trouble if you don't take my advice.

Nekshan wrote:
int str


str is of type int.

Nekshan wrote:
"select dashboardid from dashboardlogin where userid=101";


this is a string

Nekshan wrote:
Cannot implicitly convert type 'string' to 'int'.


That is what the error is telling you.



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

GeneralRe: get a value from database into a variable. Pin
Nekshan7-Feb-07 18:42
Nekshan7-Feb-07 18:42 
GeneralRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 18:56
protectorChristian Graus7-Feb-07 18:56 
AnswerRe: get a value from database into a variable. [modified] Pin
B.A7-Feb-07 18:31
B.A7-Feb-07 18:31 
GeneralRe: get a value from database into a variable. Pin
Nekshan7-Feb-07 18:44
Nekshan7-Feb-07 18:44 
GeneralRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 18:55
protectorChristian Graus7-Feb-07 18:55 
GeneralRe: get a value from database into a variable. Pin
B.A7-Feb-07 19:04
B.A7-Feb-07 19:04 
GeneralRe: get a value from database into a variable. Pin
Nekshan7-Feb-07 19:36
Nekshan7-Feb-07 19:36 
GeneralRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 21:01
protectorChristian Graus7-Feb-07 21:01 
GeneralRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 21:00
protectorChristian Graus7-Feb-07 21:00 
GeneralRe: get a value from database into a variable. Pin
Nekshan7-Feb-07 22:37
Nekshan7-Feb-07 22:37 
GeneralRe: get a value from database into a variable. Pin
Stefan Troschuetz7-Feb-07 22:56
Stefan Troschuetz7-Feb-07 22:56 
GeneralRe: get a value from database into a variable. Pin
Christian Graus7-Feb-07 23:25
protectorChristian Graus7-Feb-07 23:25 
AnswerRe: get a value from database into a variable. Pin
Dhaval Makhecha8-Feb-07 20:06
Dhaval Makhecha8-Feb-07 20:06 
GeneralRe: get a value from database into a variable. Pin
Nekshan8-Feb-07 22:18
Nekshan8-Feb-07 22:18 
QuestionHelp in implementing Cascaded style sheet in Visual studio.net 2003 Pin
EEmaan7-Feb-07 18:11
EEmaan7-Feb-07 18:11 
AnswerRe: Help in implementing Cascaded style sheet in Visual studio.net 2003 Pin
Christian Graus7-Feb-07 18:22
protectorChristian Graus7-Feb-07 18:22 
Questionconcatenate SortedList Pin
swjam7-Feb-07 17:52
swjam7-Feb-07 17:52 

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.