Solved

Tying to insert quotes

Posted on 2006-06-12
2
161 Views
Last Modified: 2010-04-23
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
Comment
Question by:davoman
2 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
Comment Utility
Hi davoman,

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


Cheers!
0
 
LVL 1

Author Comment

by:davoman
Comment Utility
DOH!!!


that easy

cheers dude easy 500 for ya
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now