Click here to Skip to main content
15,908,841 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
Code4Null27-Oct-06 11:24
Code4Null27-Oct-06 11:24 
GeneralRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
Rob Graham27-Oct-06 11:30
Rob Graham27-Oct-06 11:30 
GeneralRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
led mike27-Oct-06 11:35
led mike27-Oct-06 11:35 
AnswerRe: Is it possible to write app. for symbian by VS2005 and C# or VB.NET? Pin
Nader Elshehabi27-Oct-06 20:27
Nader Elshehabi27-Oct-06 20:27 
QuestionSql Command with C# Pin
Areff27-Oct-06 9:56
Areff27-Oct-06 9:56 
AnswerRe: Sql Command with C# Pin
led mike27-Oct-06 10:08
led mike27-Oct-06 10:08 
AnswerRe: Sql Command with C# Pin
BoneSoft27-Oct-06 10:10
BoneSoft27-Oct-06 10:10 
AnswerRe: Sql Command with C# Pin
Rob Graham27-Oct-06 10:36
Rob Graham27-Oct-06 10:36 
The reply from BoneSoft is essentially the correct approach (use parameters),
but the example code he provided likely will onmly work with the SqlClient namespace rater than
the OledbClient variation.
For OledbClient, the parameters are signified by using ? placeholders rather than parameter names,
so the sql becomes
string sql = "insert into tbl (Field1, Field2, Field3) values ( ?, ?, ?)"; 

The rest is still correct, the OledbParameters still require a unique name in the constructor,
but the name is not used, so the parameters must be added in exactly the order they are used
in the sql query.



GeneralRe: Sql Command with C# Pin
BoneSoft27-Oct-06 10:44
BoneSoft27-Oct-06 10:44 
QuestionRe: Sql Command with C# Pin
BoneSoft27-Oct-06 10:50
BoneSoft27-Oct-06 10:50 
AnswerRe: Sql Command with C# Pin
Rob Graham27-Oct-06 11:09
Rob Graham27-Oct-06 11:09 
QuestionHow can I avoid the fliker of a form? Pin
anuo0627-Oct-06 9:19
anuo0627-Oct-06 9:19 
AnswerRe: How can I avoid the fliker of a form? Pin
Luc Pattyn27-Oct-06 14:45
sitebuilderLuc Pattyn27-Oct-06 14:45 
GeneralRe: How can I avoid the fliker of a form? Pin
anuo0627-Oct-06 18:03
anuo0627-Oct-06 18:03 
AnswerRe: How can I avoid the fliker of a form? Pin
DiegoValdevino28-Oct-06 2:40
DiegoValdevino28-Oct-06 2:40 
GeneralRe: How can I avoid the fliker of a form? Pin
Luc Pattyn28-Oct-06 7:01
sitebuilderLuc Pattyn28-Oct-06 7:01 
Questionseeting the background color of a Windows Form Pin
Rocky#27-Oct-06 8:49
Rocky#27-Oct-06 8:49 
AnswerRe: seeting the background color of a Windows Form Pin
Larantz27-Oct-06 9:01
Larantz27-Oct-06 9:01 
GeneralRe: seeting the background color of a Windows Form Pin
Rocky#27-Oct-06 9:11
Rocky#27-Oct-06 9:11 
AnswerRe: seeting the background color of a Windows Form Pin
BoneSoft27-Oct-06 10:19
BoneSoft27-Oct-06 10:19 
QuestionC# 2.0 DataBinding using the BindingSource in user controls Pin
rajat_tandon200027-Oct-06 8:46
rajat_tandon200027-Oct-06 8:46 
QuestionSql Server connection [modified] Pin
Chris Morgan27-Oct-06 7:08
Chris Morgan27-Oct-06 7:08 
AnswerRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 8:33
Dustin Metzgar27-Oct-06 8:33 
GeneralRe: Sql Server connection Pin
Chris Morgan27-Oct-06 8:51
Chris Morgan27-Oct-06 8:51 
GeneralRe: Sql Server connection Pin
Dustin Metzgar27-Oct-06 9:05
Dustin Metzgar27-Oct-06 9:05 

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.