Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
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 
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 
If you've been learning C# for two weeks, why are you working on calling stored procedures ? There's no way that's a sensible next step for you at this point.

The MSDN site is a good place to look for documentation. You should really also own at least one C# book. Either way, ExecuteNonQuery returns a number that tells you how many rows were changed. The documentation will tell you this. I told you in the first instance that you should call ExecuteScalar, if you had any idea what you were doing, or willingness to do a little research, you should have been able to work that out. Even the intellisense would show you the answer.

If you're doing a course, you should talk to your teacher about getting some resources to help you do some basic research. If, as I expect, you're doing paid work, then you're yet another example of the disgraceful excuse for an industry that has popped up in the third world, where people with no experience work on paid systems and then expect the people in the West who lose their jobs to you, to do the work for you. There is no level on which someone who started to learn C# two weeks ago, should be working on this sort of code, unless they have sufficient experience in another language to be able to do some basic research for themselves and to understand a post like my initial reply.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

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 
QuestionHow to get the serial number input by the user during the installation? Pin
fishcosine30-Oct-09 7:01
fishcosine30-Oct-09 7:01 
AnswerRe: How to get the serial number input by the user during the installation? Pin
Henry Minute30-Oct-09 10:18
Henry Minute30-Oct-09 10:18 
Question3D rendering control on C# form Pin
robot_builder30-Oct-09 6:20
robot_builder30-Oct-09 6:20 
AnswerRe: 3D rendering control on C# form Pin
ARon_30-Oct-09 6:43
ARon_30-Oct-09 6:43 

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.