Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Tying to insert quotes

Hi there I am trying to use the following code


objStartPt.Insert(vbCr + "Dim sqlCmd As New SqlCommand("SaveCustomer", conn)")

but it does not like the   "SaveCustomer"  because of the quotes and i need those to be written in literatlly when the code runs.

is there a way round this

many thanks

davoman
0
davoman
Asked:
davoman
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
Hi davoman,

Put 2:
> objStartPt.Insert(vbCr + "Dim sqlCmd As New SqlCommand(""SaveCustomer"", conn)")


Cheers!
0
 
davomanAuthor Commented:
DOH!!!


that easy

cheers dude easy 500 for ya
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now