Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
QuestionProblem in memory usage in .net Pin
Kim06186-Jan-10 0:11
Kim06186-Jan-10 0:11 
AnswerRe: Problem in memory usage in .net PinPopular
Harvey Saayman6-Jan-10 0:40
Harvey Saayman6-Jan-10 0:40 
GeneralRe: Problem in memory usage in .net Pin
Rob Philpott6-Jan-10 3:12
Rob Philpott6-Jan-10 3:12 
AnswerRe: Problem in memory usage in .net Pin
Dave Kreskowiak6-Jan-10 3:22
mveDave Kreskowiak6-Jan-10 3:22 
AnswerRe: Problem in memory usage in .net Pin
Luc Pattyn6-Jan-10 3:30
sitebuilderLuc Pattyn6-Jan-10 3:30 
GeneralRe: Problem in memory usage in .net Pin
Kim06186-Jan-10 6:02
Kim06186-Jan-10 6:02 
GeneralRe: Problem in memory usage in .net Pin
Luc Pattyn6-Jan-10 6:30
sitebuilderLuc Pattyn6-Jan-10 6:30 
QuestionProblem with insert query Pin
<<Tash18>>6-Jan-10 0:10
<<Tash18>>6-Jan-10 0:10 
Hi everyone im actually working on an application which migrates the datas that are present in a xml file to my database.. Im coding it on c#.net.. The issue is in my xml file we have customers name which is fetched from the xml file and then inserted into the database.. so most of my customers name have appostrophe(') in their name so during execution of the insert query it throws me odbc exception the insert query that i use is as follows:

insert into EACS_User_1 values('"+uf_Id+"','"+uf_Title+"','"+uf_FirstName+"','"+uf_MiddleName+"','"+uf_LastName+"','"+uf_PhoneNumber+"','"+uf_MobileNumber+"','"+uf_EmailID+"')


here the first name contains appostrophe say for example the name is Moh’d Husam how do i insert such names... Do guide me...

Thanx in advance..
Regards,
Tash
AnswerRe: Problem with insert query Pin
SeMartens6-Jan-10 0:22
SeMartens6-Jan-10 0:22 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 0:23
<<Tash18>>6-Jan-10 0:23 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 0:27
SeMartens6-Jan-10 0:27 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 0:35
<<Tash18>>6-Jan-10 0:35 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 0:42
SeMartens6-Jan-10 0:42 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 0:58
<<Tash18>>6-Jan-10 0:58 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 1:06
SeMartens6-Jan-10 1:06 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 1:14
<<Tash18>>6-Jan-10 1:14 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 1:19
SeMartens6-Jan-10 1:19 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 1:28
<<Tash18>>6-Jan-10 1:28 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 1:31
SeMartens6-Jan-10 1:31 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 1:36
<<Tash18>>6-Jan-10 1:36 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 1:44
SeMartens6-Jan-10 1:44 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 1:45
<<Tash18>>6-Jan-10 1:45 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 1:46
SeMartens6-Jan-10 1:46 
GeneralRe: Problem with insert query Pin
<<Tash18>>6-Jan-10 1:55
<<Tash18>>6-Jan-10 1:55 
GeneralRe: Problem with insert query Pin
SeMartens6-Jan-10 2:00
SeMartens6-Jan-10 2:00 

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.