possibly try import System.Data.DataSet or else fully qualify the namespace?
On 4/18/06, Eliane Daghfal <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> i'm trying to use the DataSet in my drl file that's why i'm using the
> import
> tag in order to reference the System.Data library. But, i'm having an
> error
> telling me that the DataSet is not well referenced.Below, the code i'm
> writing
> in order to do the import
>
> <import>System</import>
> <import>System.Data</import>
> <dotnet:functions>
> public void ExtractFromDB()
> {
> DataSet dSet = new DataSet ();
> }
> </dotnet:functions>
>
> <rule name="REA Rule">
> <parameter identifier="test">
> <dotnet:class>System.String</dotnet:class>
> </parameter>
> <dotnet:condition> test.Equals("test")</dotnet:condition>
> <dotnet:consequence>
> ExtractFromDB();
> Console.WriteLine("the dataset is true");
> </dotnet:consequence>
> </rule>
> </rule-set>
>
>
> this is the error message i'm getting:
> The type or namespace name 'DataSet' could not be found (are you missing a
> using directive or an assembly reference?)
>
>
> Thanks for ur help,
>
> --
> Eliane Daghfal
>
>
>