Click here to Skip to main content
15,905,414 members
Home / Discussions / C#
   

C#

 
AnswerRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 5:46
professional Xmen Real 1-Jul-08 5:46 
GeneralRe: windows vista or xp pro Pin
arkiboys1-Jul-08 5:54
arkiboys1-Jul-08 5:54 
GeneralRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 6:18
professional Xmen Real 1-Jul-08 6:18 
GeneralRe: windows vista or xp pro Pin
Kenny McKee1-Jul-08 7:26
Kenny McKee1-Jul-08 7:26 
GeneralRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 7:34
professional Xmen Real 1-Jul-08 7:34 
GeneralRe: windows vista or xp pro Pin
Kenny McKee1-Jul-08 14:16
Kenny McKee1-Jul-08 14:16 
AnswerRe: windows vista or xp pro Pin
Kjetil Svendsen1-Jul-08 9:54
Kjetil Svendsen1-Jul-08 9:54 
GeneralRe: windows vista or xp pro Pin
arkiboys1-Jul-08 22:18
arkiboys1-Jul-08 22:18 
QuestionHow could it be Sending & Receiving Object of user class through Socket ? Pin
MehmetFurkan1-Jul-08 5:22
MehmetFurkan1-Jul-08 5:22 
QuestionInstallShield not registering a dll Pin
Russell Jones1-Jul-08 4:36
Russell Jones1-Jul-08 4:36 
AnswerRe: InstallShield not registering a dll Pin
leppie1-Jul-08 4:53
leppie1-Jul-08 4:53 
AnswerRe: InstallShield not registering a dll Pin
led mike1-Jul-08 4:54
led mike1-Jul-08 4:54 
GeneralRe: InstallShield not registering a dll Pin
Russell Jones1-Jul-08 5:01
Russell Jones1-Jul-08 5:01 
GeneralRe: InstallShield not registering a dll Pin
led mike1-Jul-08 7:38
led mike1-Jul-08 7:38 
GeneralRe: InstallShield not registering a dll Pin
Russell Jones1-Jul-08 21:20
Russell Jones1-Jul-08 21:20 
Questionhow to add new node existing treeview control and bind data from table? Pin
Ashish Kumar Vyas1-Jul-08 4:35
Ashish Kumar Vyas1-Jul-08 4:35 
QuestionAccess Insert issue Pin
kruegersck1-Jul-08 3:53
kruegersck1-Jul-08 3:53 
AnswerRe: Access Insert issue Pin
led mike1-Jul-08 4:58
led mike1-Jul-08 4:58 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:04
kruegersck1-Jul-08 5:04 
GeneralRe: Access Insert issue Pin
led mike1-Jul-08 7:32
led mike1-Jul-08 7:32 
AnswerRe: Access Insert issue Pin
Guffa1-Jul-08 5:16
Guffa1-Jul-08 5:16 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:45
kruegersck1-Jul-08 5:45 
Here is my updated Code utlizing a parameterised query. I still get an error on my Insert Command stating: Syntax error in INSERT INTO statement.

The first field is a key and is a long int
The second field is a Text Field 255 long

Here is the code that does the insert. Please let me know of any issues. I can't find any:

string commandText = "INSERT INTO Contact_Notes (Contact_ID,Note) VALUES(@Contact_ID,@Note)";
string strConcat = "**** " + g_ProfName + " " + DateTime.Now.ToString() + " **** " + txtNewNote.Text;
conProspect.Open();
OleDbCommand cmd = new OleDbCommand(commandText,conProspect);
cmd.Parameters.Add("@Contact_ID", lngContactId);
cmd.Parameters.Add("@Note", strConcat);
cmd.ExecuteNonQuery();
conProspect.Close();
cmd.Dispose();

As always thanks for all the help
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:48
kruegersck1-Jul-08 5:48 
GeneralRe: Access Insert issue Pin
Guffa2-Jul-08 2:53
Guffa2-Jul-08 2:53 
Questionhtml to pdf Pin
laziale1-Jul-08 3:41
laziale1-Jul-08 3:41 

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.