Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Script Component Issue

Author  Topic 

notes4we
Yak Posting Veteran

90 Posts

Posted - 2008-11-06 : 09:35:39
I have used a Script Component Transformation in my package.
The problem is that in the Design Script > Project Explorer > References >, I am not able to find Imports System.Math listed there.

Just to mention here, I am using a Flat File Source (connection manager) that gets the data from MainFrame.

I tried to google a lot for the solution and tried many different things, but it did not help.

Could anyone of you please try to help me out.
Thanks.

rgombina
Constraint Violating Yak Guru

319 Posts

Posted - 2008-11-06 : 09:58:55
It's already there.


Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
Imports Microsoft.SqlServer.Dts.Runtime.Wrapper

Public Class ScriptMain
Inherits UserComponent

Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer)
'
' Add your code here
'
End Sub

End Class
Go to Top of Page
   

- Advertisement -