Click here to Skip to main content
15,867,141 members
Home / Discussions / C#
   

C#

 
QuestionHow to close a TextWriter? Pin
Zhivko Kabaivanov5-Feb-14 2:53
Zhivko Kabaivanov5-Feb-14 2:53 
AnswerRe: How to close a TextWriter? PinPopular
Richard Deeming5-Feb-14 3:02
mveRichard Deeming5-Feb-14 3:02 
QuestionSQL Server Database for C# connectivity Pin
Mohan Subramani5-Feb-14 1:06
Mohan Subramani5-Feb-14 1:06 
AnswerRe: SQL Server Database for C# connectivity Pin
OriginalGriff5-Feb-14 1:33
mveOriginalGriff5-Feb-14 1:33 
SuggestionRe: SQL Server Database for C# connectivity Pin
Richard Deeming5-Feb-14 2:59
mveRichard Deeming5-Feb-14 2:59 
QuestionSQL Exception was unhandled Pin
Oonagh5-Feb-14 0:32
Oonagh5-Feb-14 0:32 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:14
professionalKornfeld Eliyahu Peter5-Feb-14 1:14 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:18
Oonagh5-Feb-14 1:18 
Thank you, it's working now.

Can you explain why i had to move

cmd.CommandText = "Insert into xml (No,ItemNo,Qty) VALUES  (@No,@ItemNo,@Qty)";


Out of the loop?
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:29
professionalKornfeld Eliyahu Peter5-Feb-14 1:29 
GeneralRe: SQL Exception was unhandled Pin
Oonagh5-Feb-14 1:30
Oonagh5-Feb-14 1:30 
AnswerRe: SQL Exception was unhandled Pin
Kornfeld Eliyahu Peter5-Feb-14 1:31
professionalKornfeld Eliyahu Peter5-Feb-14 1:31 
Questionwant to generate random number Pin
Diya Bh.4-Feb-14 23:17
Diya Bh.4-Feb-14 23:17 
AnswerRe: want to generate random number Pin
Marco Bertschi4-Feb-14 23:29
protectorMarco Bertschi4-Feb-14 23:29 
GeneralMessage Closed Pin
5-Feb-14 0:10
Diya Bh.5-Feb-14 0:10 
GeneralRe: want to generate random number Pin
Marco Bertschi5-Feb-14 0:15
protectorMarco Bertschi5-Feb-14 0:15 
GeneralRe: want to generate random number Pin
Diya Bh.5-Feb-14 0:24
Diya Bh.5-Feb-14 0:24 
AnswerRe: want to generate random number Pin
Eddy Vluggen5-Feb-14 0:30
professionalEddy Vluggen5-Feb-14 0:30 
GeneralRe: want to generate random number Pin
Diya Bh.5-Feb-14 0:37
Diya Bh.5-Feb-14 0:37 
NewsRe: want to generate random number Pin
Eddy Vluggen5-Feb-14 3:05
professionalEddy Vluggen5-Feb-14 3:05 
AnswerRe: want to generate random number Pin
BillWoodruff5-Feb-14 2:25
professionalBillWoodruff5-Feb-14 2:25 
QuestionDisplaying SSRS report in MVC 4 Pin
nitin_ion4-Feb-14 22:57
nitin_ion4-Feb-14 22:57 
AnswerRe: Displaying SSRS report in MVC 4 Pin
thatraja5-Feb-14 0:02
professionalthatraja5-Feb-14 0:02 
GeneralRe: Displaying SSRS report in MVC 4 Pin
nitin_ion5-Feb-14 0:06
nitin_ion5-Feb-14 0:06 
GeneralRe: Displaying SSRS report in MVC 4 Pin
thatraja5-Feb-14 1:11
professionalthatraja5-Feb-14 1:11 
QuestionBatch Scheduler/Grid Computing - Hadoop? Pin
Swab.Jat4-Feb-14 20:12
Swab.Jat4-Feb-14 20:12 

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.