Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
AnswerRe: is this a cache problem or what? Pin
Richard MacCutchan31-Oct-09 0:30
mveRichard MacCutchan31-Oct-09 0:30 
AnswerRe: is this a cache problem or what? Pin
Nish Nishant31-Oct-09 5:14
sitebuilderNish Nishant31-Oct-09 5:14 
AnswerRe: is this a cache problem or what? Pin
Shog931-Oct-09 5:26
sitebuilderShog931-Oct-09 5:26 
Questionproblem with stored procedure Pin
RongNK30-Oct-09 17:05
RongNK30-Oct-09 17:05 
AnswerRe: problem with stored procedure Pin
Christian Graus30-Oct-09 17:09
protectorChristian Graus30-Oct-09 17:09 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:23
RongNK30-Oct-09 17:23 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 17:36
protectorChristian Graus30-Oct-09 17:36 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:47
RongNK30-Oct-09 17:47 
Sorry, i have learned C# for 2 weeks Smile | :)
<br />
            SqlConnection connect = new SqlConnection(ConnectionFactory.strconn);<br />
            connect.Open();<br />
            cmd = new SqlCommand("Proc_student_Add", connect);<br />
            cmd.CommandType = CommandType.StoredProcedure;<br />
            cmd.Parameters.Add(new SqlParameter("MaxID",varScenario.ID));<br />
            <br />

With that stored procedured i can't get return value by "int i = cmd.ExecuteNonQuery();", please help me to resolve this problem.
Thank !
GeneralRe: problem with stored procedure Pin
lrsoft200930-Oct-09 18:19
lrsoft200930-Oct-09 18:19 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 19:15
protectorChristian Graus30-Oct-09 19:15 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 22:45
RongNK30-Oct-09 22:45 
GeneralRe: problem with stored procedure Pin
Christian Graus30-Oct-09 19:14
protectorChristian Graus30-Oct-09 19:14 
AnswerRe: problem with stored procedure Pin
PIEBALDconsult30-Oct-09 17:20
mvePIEBALDconsult30-Oct-09 17:20 
GeneralRe: problem with stored procedure Pin
RongNK30-Oct-09 17:24
RongNK30-Oct-09 17:24 
GeneralRe: problem with stored procedure Pin
PIEBALDconsult31-Oct-09 5:05
mvePIEBALDconsult31-Oct-09 5:05 
AnswerRe: problem with stored procedure Pin
lrsoft200930-Oct-09 18:09
lrsoft200930-Oct-09 18:09 
AnswerRe: problem with stored procedure Pin
deepikadurge31-Oct-09 4:48
deepikadurge31-Oct-09 4:48 
QuestionTips for creating a simple alternative of PowerPoint Pin
Abadi17630-Oct-09 12:53
Abadi17630-Oct-09 12:53 
AnswerRe: Tips for creating a simple alternative of PowerPoint Pin
Henry Minute30-Oct-09 13:02
Henry Minute30-Oct-09 13:02 
Question[Message Deleted] Pin
karayel_kara30-Oct-09 11:56
karayel_kara30-Oct-09 11:56 
AnswerRe: there is recursive function in my project and i have error that is "An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll" Pin
dybs30-Oct-09 12:23
dybs30-Oct-09 12:23 
AnswerRe: [Message Deleted] Pin
Christian Graus30-Oct-09 13:26
protectorChristian Graus30-Oct-09 13:26 
QuestionInvoking a cmd command on remote machine Pin
CodingYoshi30-Oct-09 10:56
CodingYoshi30-Oct-09 10:56 
QuestionHow to get the PrimaryKey inserted using DATASET Tableadapter's Insert Function ? Pin
Dr.DigiTaL30-Oct-09 8:58
Dr.DigiTaL30-Oct-09 8:58 
AnswerRe: How to get the PrimaryKey inserted using DATASET Tableadapter's Insert Function ? Pin
Henry Minute30-Oct-09 10:10
Henry Minute30-Oct-09 10:10 

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.