Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
AnswerRe: Working with wmp playlist Pin
Dalek Dave9-Jan-11 13:46
professionalDalek Dave9-Jan-11 13:46 
QuestionParameterized Query ........... which was not supplied Pin
Honeyboy_208-Jan-11 12:38
Honeyboy_208-Jan-11 12:38 
AnswerRe: Parameterized Query ........... which was not supplied PinPopular
Richard Andrew x648-Jan-11 12:49
professionalRichard Andrew x648-Jan-11 12:49 
GeneralRe: Parameterized Query ........... which was not supplied Pin
Honeyboy_208-Jan-11 12:59
Honeyboy_208-Jan-11 12:59 
AnswerRe: Parameterized Query ........... which was not supplied PinPopular
Luc Pattyn8-Jan-11 13:13
sitebuilderLuc Pattyn8-Jan-11 13:13 
GeneralRe: Parameterized Query ........... which was not supplied Pin
thatraja8-Jan-11 17:24
professionalthatraja8-Jan-11 17:24 
GeneralRe: Parameterized Query ........... which was not supplied Pin
Luc Pattyn8-Jan-11 17:29
sitebuilderLuc Pattyn8-Jan-11 17:29 
AnswerRe: Parameterized Query ........... which was not supplied Pin
Not Active9-Jan-11 4:44
mentorNot Active9-Jan-11 4:44 
You are also calling cmd.ExecuteNonQuery(); outside of your loop so only the last values entered will be updated in the database. You were advised of this before.

Further more, as you were advised before, you should be using the using statement. The database connection is not being closed properly because the exception is being thrown before your conn.Close() call. The using statement will prevent this.

I know the language. I've read a book. - _Madmatt

QuestionXAML writer serialization limitation Pin
Serval Soft8-Jan-11 5:58
Serval Soft8-Jan-11 5:58 
AnswerRe: XAML writer serialization limitation Pin
jschell8-Jan-11 8:45
jschell8-Jan-11 8:45 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 9:22
Serval Soft8-Jan-11 9:22 
GeneralRe: XAML writer serialization limitation Pin
Eddy Vluggen8-Jan-11 9:27
professionalEddy Vluggen8-Jan-11 9:27 
GeneralRe: XAML writer serialization limitation Pin
Serval Soft8-Jan-11 10:23
Serval Soft8-Jan-11 10:23 
GeneralRe: XAML writer serialization limitation Pin
jschell10-Jan-11 8:57
jschell10-Jan-11 8:57 
Questioncreate a modern dictionary Pin
mory_2607-Jan-11 21:24
mory_2607-Jan-11 21:24 
AnswerRe: create a modern dictionary Pin
OriginalGriff7-Jan-11 22:04
mveOriginalGriff7-Jan-11 22:04 
AnswerRe: create a modern dictionary Pin
Abhinav S8-Jan-11 0:51
Abhinav S8-Jan-11 0:51 
AnswerRe: create a modern dictionary Pin
Not Active8-Jan-11 3:24
mentorNot Active8-Jan-11 3:24 
AnswerRe: create a modern dictionary Pin
Yusuf8-Jan-11 4:48
Yusuf8-Jan-11 4:48 
GeneralRe: create a modern dictionary Pin
Ali Al Omairi(Abu AlHassan)8-Jan-11 9:53
professionalAli Al Omairi(Abu AlHassan)8-Jan-11 9:53 
QuestionI Want to know where's the error in this update Method ? Pin
Honeyboy_207-Jan-11 9:18
Honeyboy_207-Jan-11 9:18 
AnswerMy guess Pin
Keith Barrow7-Jan-11 9:28
professionalKeith Barrow7-Jan-11 9:28 
GeneralRe: My guess Pin
Honeyboy_207-Jan-11 10:15
Honeyboy_207-Jan-11 10:15 
GeneralRe: My guess Pin
Keith Barrow7-Jan-11 10:29
professionalKeith Barrow7-Jan-11 10:29 
GeneralRe: My guess Pin
Eddy Vluggen7-Jan-11 11:12
professionalEddy Vluggen7-Jan-11 11: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.