Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services
This is the forum to discuss the Wrox book Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services by Brian Knight, Devin Knight, Mike Davis ISBN: 978-0-470-49692-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Knight's 24-Hour Trainer: Microsoft SQL Server 2008 Integration Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 28th, 2012, 10:48 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 9: Page 63. How to write the code in C# ?

I use only C#. The example in page 63, is in VB. How do I write the code in C# ?

P.S. if Dts.Variables("intVar").Value > 10 --- shows error.
Reply With Quote
  #2 (permalink)  
Old January 26th, 2014, 09:05 AM
Registered User
Points: 35, Level: 1
Points: 35, Level: 1 Points: 35, Level: 1 Points: 35, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2014
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you first add your script task, set the ScriptLanguage to C#. SSIS won't let you change it once you've set it and clicked OK, so if it doesn't let you change it, delete that task and re-add it, setting it to C# from the start.
Reply With Quote
  #3 (permalink)  
Old August 17th, 2014, 06:44 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by niladri View Post
I use only C#. The example in page 63, is in VB. How do I write the code in C# ?

P.S. if Dts.Variables("intVar").Value > 10 --- shows error.
You need change the default settings so you would be able to enter the VB code. You can find the details in Ch.9. That's what I did.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page 63 Chapter 3 - PDF Version IAMMRBONGO BOOK: Umbraco User's Guide 6 May 27th, 2011 11:13 AM
Page 63 Coding the Action Jule BOOK: Beginning iPhone SDK Programming with Objective-C 4 April 6th, 2011 08:44 AM
Eratta: Chapter 2, Page 63 drupalmeister BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 2 March 23rd, 2010 07:39 AM
Chapter 4 Page 118 code PhoenixInc BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 January 15th, 2008 07:58 PM
Chapter 2 p.63 subforms nayna BOOK: Expert One-on-One Access Application Development 0 February 16th, 2005 03:10 PM



All times are GMT -4. The time now is 08:22 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.