Click here to Skip to main content
15,922,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to make a .exe 64 Bit useable Pin
Thomas Krojer7-Feb-11 1:27
Thomas Krojer7-Feb-11 1:27 
GeneralRe: How to make a .exe 64 Bit useable Pin
Mschauder7-Feb-11 2:36
Mschauder7-Feb-11 2:36 
Answer- SOLVED -: How to make a .exe 64 Bit useable Pin
Mschauder6-Feb-11 22:15
Mschauder6-Feb-11 22:15 
GeneralRe: - SOLVED -: How to make a .exe 64 Bit useable Pin
Thomas Krojer7-Feb-11 1:27
Thomas Krojer7-Feb-11 1:27 
GeneralRe: - SOLVED -: How to make a .exe 64 Bit useable Pin
Dave Kreskowiak7-Feb-11 2:05
mveDave Kreskowiak7-Feb-11 2:05 
Questioni want to learn MVC2 Pin
S.Aijaz6-Feb-11 20:36
S.Aijaz6-Feb-11 20:36 
AnswerRe: i want to learn MVC2 Pin
Pravin Patil, Mumbai6-Feb-11 20:46
Pravin Patil, Mumbai6-Feb-11 20:46 
AnswerRe: i want to learn MVC2 Pin
Abhinav S6-Feb-11 21:20
Abhinav S6-Feb-11 21:20 
GeneralRe: i want to learn MVC2 Pin
S.Aijaz10-Feb-11 18:09
S.Aijaz10-Feb-11 18:09 
AnswerRe: i want to learn MVC2 Pin
RobCroll7-Feb-11 1:34
RobCroll7-Feb-11 1:34 
Questionquestion on code and video Pin
Rei ho6-Feb-11 18:47
Rei ho6-Feb-11 18:47 
AnswerRe: question on code and video Pin
Abhinav S6-Feb-11 20:33
Abhinav S6-Feb-11 20:33 
GeneralRe: question on code and video Pin
Rei ho6-Feb-11 21:09
Rei ho6-Feb-11 21:09 
QuestionSmall Dialogs - How Small Can I Go ?? Pin
iltallman6-Feb-11 9:12
iltallman6-Feb-11 9:12 
AnswerRe: Small Dialogs - How Small Can I Go ?? Pin
dan!sh 6-Feb-11 10:03
professional dan!sh 6-Feb-11 10:03 
AnswerRe: Small Dialogs - How Small Can I Go ?? [modified] Pin
RobCroll7-Feb-11 1:52
RobCroll7-Feb-11 1:52 
GeneralRe: Small Dialogs - How Small Can I Go ?? Pin
iltallman7-Feb-11 12:31
iltallman7-Feb-11 12:31 
AnswerRe: Small Dialogs - How Small Can I Go ?? Pin
#realJSOP7-Feb-11 2:33
professional#realJSOP7-Feb-11 2:33 
QuestionC# Object reference not set to an instance of an object Pin
LAPEC6-Feb-11 8:45
LAPEC6-Feb-11 8:45 
AnswerRe: C# Object reference not set to an instance of an object Pin
fjdiewornncalwe6-Feb-11 8:56
professionalfjdiewornncalwe6-Feb-11 8:56 
GeneralRe: C# Object reference not set to an instance of an object Pin
LAPEC6-Feb-11 10:31
LAPEC6-Feb-11 10:31 
GeneralRe: C# Object reference not set to an instance of an object Pin
RobCroll7-Feb-11 2:12
RobCroll7-Feb-11 2:12 
Hi lapeci,

Just as a side note regarding connections. .NET uses a connection pool so there is no need to have a class variable which represents a connection. Best practises recommends connections should be created, used and disposed of on-the-fly.

Use a class string variable which represents the connection string by all means.

Also your problem is that you need to set the SelectCommand
dtAdapter.SelectCommand = command

"You get that on the big jobs."

GeneralRe: C# Object reference not set to an instance of an object Pin
Rob Philpott7-Feb-11 3:51
Rob Philpott7-Feb-11 3:51 
AnswerRe: C# Object reference not set to an instance of an object Pin
Luc Pattyn6-Feb-11 9:15
sitebuilderLuc Pattyn6-Feb-11 9:15 
AnswerRe: C# Object reference not set to an instance of an object Pin
dan!sh 6-Feb-11 10:07
professional dan!sh 6-Feb-11 10:07 

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.