Click here to Skip to main content
15,891,694 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ Pin
V.1-Dec-08 23:29
professionalV.1-Dec-08 23:29 
GeneralRe: GDI+ Pin
vinay_K2-Dec-08 0:04
vinay_K2-Dec-08 0:04 
QuestionRe: GDI+ Pin
vinay_K2-Dec-08 2:09
vinay_K2-Dec-08 2:09 
QuestionExecuteReader: Connection property has not been initialized? Pin
dec821-Dec-08 16:42
dec821-Dec-08 16:42 
AnswerRe: ExecuteReader: Connection property has not been initialized? Pin
Dave Kreskowiak1-Dec-08 16:55
mveDave Kreskowiak1-Dec-08 16:55 
AnswerRe: ExecuteReader: Connection property has not been initialized? Pin
Mbah Dhaim1-Dec-08 17:15
Mbah Dhaim1-Dec-08 17:15 
GeneralRe: ExecuteReader: Connection property has not been initialized? Pin
dec821-Dec-08 18:13
dec821-Dec-08 18:13 
GeneralRe: ExecuteReader: Connection property has not been initialized? Pin
Mbah Dhaim1-Dec-08 19:28
Mbah Dhaim1-Dec-08 19:28 


hung1984 wrote:

sCommand.Parameters.Add("@Site", OleDbType.VarChar, 20);
sCommand.Parameters.Add("@Model", OleDbType.VarChar, 20);
sCommand.Parameters["@Site"].Value = "site1";
sCommand.Parameters["@Model"].Value = "Model1";


try this :
sCommand.Parameters.Add("@Site", OleDbType.VarChar, 20).Value = "site1";
sCommand.Parameters.Add("@Model", OleDbType.VarChar, 20).Value = "Model1";


hope it helps

dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support



GeneralRe: ExecuteReader: Connection property has not been initialized? Pin
dec821-Dec-08 20:45
dec821-Dec-08 20:45 
GeneralRe: ExecuteReader: Connection property has not been initialized? Pin
N a v a n e e t h1-Dec-08 21:07
N a v a n e e t h1-Dec-08 21:07 
GeneralRe: ExecuteReader: Connection property has not been initialized? Pin
Mbah Dhaim1-Dec-08 23:43
Mbah Dhaim1-Dec-08 23:43 
Questionabout Microsoft Project plan files Pin
namutikare1-Dec-08 16:37
namutikare1-Dec-08 16:37 
AnswerRe: about Microsoft Project plan files Pin
Christian Graus1-Dec-08 20:41
protectorChristian Graus1-Dec-08 20:41 
QuestionDataTable.Select Pin
jesarg1-Dec-08 12:09
jesarg1-Dec-08 12:09 
AnswerRe: DataTable.Select Pin
Andrew Rissing1-Dec-08 14:16
Andrew Rissing1-Dec-08 14:16 
QuestionRe: Creation date time Pin
electriac1-Dec-08 11:50
electriac1-Dec-08 11:50 
AnswerRe: Creation date time Pin
Luc Pattyn1-Dec-08 12:18
sitebuilderLuc Pattyn1-Dec-08 12:18 
QuestionFont color Pin
netJP12L1-Dec-08 8:40
netJP12L1-Dec-08 8:40 
AnswerRe: Font color Pin
leppie1-Dec-08 19:51
leppie1-Dec-08 19:51 
Question.net application hangs under vista Pin
zhyluopro1-Dec-08 7:31
zhyluopro1-Dec-08 7:31 
AnswerRe: .net application hangs under vista Pin
#realJSOP1-Dec-08 8:28
mve#realJSOP1-Dec-08 8:28 
GeneralRe: .net application hangs under vista Pin
Samer Aburabie1-Dec-08 10:43
Samer Aburabie1-Dec-08 10:43 
AnswerRe: .net application hangs under vista Pin
Paul Conrad1-Dec-08 11:26
professionalPaul Conrad1-Dec-08 11:26 
AnswerRe: .net application hangs under vista Pin
HosamAly1-Dec-08 19:45
HosamAly1-Dec-08 19:45 
GeneralRe: .net application hangs under vista Pin
#realJSOP1-Dec-08 23:54
mve#realJSOP1-Dec-08 23:54 

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.