Click here to Skip to main content
15,915,324 members
Home / Discussions / C#
   

C#

 
GeneralRe: display word file on form Pin
hazzem elrefai13-Dec-03 12:55
hazzem elrefai13-Dec-03 12:55 
Generalnamespace curiosity Pin
Member 76049710-Dec-03 21:39
Member 76049710-Dec-03 21:39 
GeneralRe: namespace curiosity Pin
Heath Stewart11-Dec-03 3:27
protectorHeath Stewart11-Dec-03 3:27 
General"database wizard" Pin
brain2cpu10-Dec-03 21:39
professionalbrain2cpu10-Dec-03 21:39 
GeneralRe: "database wizard" Pin
Heath Stewart11-Dec-03 3:24
protectorHeath Stewart11-Dec-03 3:24 
Generalopen forms in virtual display Pin
Günther Meusburger10-Dec-03 20:25
Günther Meusburger10-Dec-03 20:25 
General:: problem in use UPDATE statement :: Pin
Nazila Naderi10-Dec-03 16:08
Nazila Naderi10-Dec-03 16:08 
GeneralRe: :: problem in use UPDATE statement :: Pin
Heath Stewart11-Dec-03 3:10
protectorHeath Stewart11-Dec-03 3:10 
I don't understand your question. Are you asking how to add (or concatenate) two values, or how to execute the UPDATE statement?

As far as adding or concatenating values, what you typed works fine so long as the field and intvariable are of the same type or are convertable to the same type.

To execute the statement for an Access database, look at the System.Data.OleDb namespace, specifically OleDbConnection, OleDbCommand, and OleDbParameter. Using parameters in your statement makes it easy to execute a statement multiple times by only changing the values of parameters and executing the statement, and saves you from having to do string concatenation (very inefficient if you just use +) and proper quoting and escaping.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: :: problem in use UPDATE statement :: Pin
KevinMac11-Dec-03 10:20
KevinMac11-Dec-03 10:20 
GeneralPerl has made me soft. Pin
ambulopod10-Dec-03 14:25
ambulopod10-Dec-03 14:25 
GeneralRe: Perl has made me soft. Pin
Christian Graus10-Dec-03 15:07
protectorChristian Graus10-Dec-03 15:07 
GeneralRe: Perl has made me soft. Pin
ambulopod10-Dec-03 15:15
ambulopod10-Dec-03 15:15 
GeneralRe: Perl has made me soft. Pin
Christian Graus10-Dec-03 15:17
protectorChristian Graus10-Dec-03 15:17 
GeneralRe: Perl has made me soft. Pin
ambulopod10-Dec-03 15:20
ambulopod10-Dec-03 15:20 
GeneralRe: Perl has made me soft. Pin
Hovel10-Dec-03 22:30
Hovel10-Dec-03 22:30 
GeneralNetworking Question Pin
Spiros10-Dec-03 12:17
Spiros10-Dec-03 12:17 
GeneralOne More Detail Pin
Spiros10-Dec-03 12:32
Spiros10-Dec-03 12:32 
GeneralRe: Networking Question Pin
Heath Stewart10-Dec-03 12:37
protectorHeath Stewart10-Dec-03 12:37 
GeneralRe: Networking Question Pin
Spiros10-Dec-03 12:44
Spiros10-Dec-03 12:44 
GeneralRe: Networking Question Pin
Heath Stewart10-Dec-03 13:02
protectorHeath Stewart10-Dec-03 13:02 
Generalon is asctive or not ... how to find out if caplock is active or not Pin
datainjector10-Dec-03 8:32
datainjector10-Dec-03 8:32 
GeneralRe: on is asctive or not ... how to find out if caplock is active or not Pin
Heath Stewart10-Dec-03 9:58
protectorHeath Stewart10-Dec-03 9:58 
GeneralStream Socket + SSL Class Pin
Adrian Hall10-Dec-03 6:08
Adrian Hall10-Dec-03 6:08 
GeneralRe: Stream Socket + SSL Class Pin
Anonymous10-Dec-03 7:29
Anonymous10-Dec-03 7:29 
GeneralYANQ - Yet Another Newbie Question - Menus Pin
Larry J. Siddens10-Dec-03 5:34
Larry J. Siddens10-Dec-03 5:34 

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.