Click here to Skip to main content
15,903,523 members
Home / Discussions / C#
   

C#

 
QuestionComboBox and Uppercase Pin
Saamir15-Jun-06 15:13
Saamir15-Jun-06 15:13 
AnswerRe: ComboBox and Uppercase Pin
rah_sin15-Jun-06 19:19
professionalrah_sin15-Jun-06 19:19 
GeneralRe: ComboBox and Uppercase Pin
Saamir15-Jun-06 19:36
Saamir15-Jun-06 19:36 
QuestionLoad Combo box with SQL table field [modified] Pin
Saamir15-Jun-06 13:40
Saamir15-Jun-06 13:40 
AnswerRe: Load Combo box with SQL table field Pin
Alexander Wiseman15-Jun-06 13:49
Alexander Wiseman15-Jun-06 13:49 
AnswerRe: Load Combo box with SQL table field Pin
M. Cahid AYDIN15-Jun-06 23:28
M. Cahid AYDIN15-Jun-06 23:28 
QuestionStore Select(Count) result for use in if/else Pin
Saamir15-Jun-06 13:40
Saamir15-Jun-06 13:40 
AnswerRe: Store Select(Count) result for use in if/else Pin
Alexander Wiseman15-Jun-06 13:46
Alexander Wiseman15-Jun-06 13:46 
sasa,

Use ExecuteScalar instead of ExecuteNonQuery. The return value is the value very first "cell" of the very first row returned from the query, which, in the case of the COUNT command, is the only value returned at all.

Hope that helps!

Sincerely,
Alexander Wiseman
GeneralRe: Store Select(Count) result for use in if/else Pin
Saamir15-Jun-06 15:11
Saamir15-Jun-06 15:11 
QuestionManaging Dependencies Pin
MrEyes15-Jun-06 13:32
MrEyes15-Jun-06 13:32 
QuestionIs it possible? Pin
TheBeginner7715-Jun-06 12:59
TheBeginner7715-Jun-06 12:59 
AnswerRe: Is it possible? Pin
Christian Graus15-Jun-06 13:01
protectorChristian Graus15-Jun-06 13:01 
GeneralA second question ..... Pin
TheBeginner7715-Jun-06 13:38
TheBeginner7715-Jun-06 13:38 
GeneralRe: A second question ..... Pin
Christian Graus15-Jun-06 14:11
protectorChristian Graus15-Jun-06 14:11 
QuestionISupportInitialize.BeginInit............. Pin
subrat_muna15-Jun-06 12:14
subrat_muna15-Jun-06 12:14 
AnswerRe: ISupportInitialize.BeginInit............. Pin
kevin_moxiaoxing15-Jun-06 23:07
kevin_moxiaoxing15-Jun-06 23:07 
AnswerRe: ISupportInitialize.BeginInit............. Pin
leppie16-Jun-06 1:22
leppie16-Jun-06 1:22 
QuestionBest practice- sharing one form Pin
donkaiser15-Jun-06 12:02
donkaiser15-Jun-06 12:02 
AnswerRe: Best practice- sharing one form Pin
Ista15-Jun-06 12:53
Ista15-Jun-06 12:53 
AnswerRe: Best practice- sharing one form Pin
Ray Cassick15-Jun-06 13:05
Ray Cassick15-Jun-06 13:05 
AnswerRe: Best practice- sharing one form Pin
Eric Dahlvang16-Jun-06 3:08
Eric Dahlvang16-Jun-06 3:08 
GeneralRe: Best practice- sharing one form Pin
donkaiser16-Jun-06 5:12
donkaiser16-Jun-06 5:12 
AnswerRe: Best practice- sharing one form Pin
Eric Dahlvang16-Jun-06 9:00
Eric Dahlvang16-Jun-06 9:00 
GeneralRe: Best practice- sharing one form Pin
donkaiser16-Jun-06 10:08
donkaiser16-Jun-06 10:08 
QuestionLooking for component Pin
Jefis15-Jun-06 11:55
Jefis15-Jun-06 11:55 

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.