P
Peter Afonin
Hello:
I'm creating an ASP.Net application. I need to run a method that would
return a DataSet. I'm new to C#, so I have a problem with it.
In VB.Net I just used to write a function like this:
Public Function GetOrders(ByVal sSQL As String) As DataSet
In C# when I try to write something like this:
public DataSet CreateDataset(string sSQL)
{
}
I get an error:
"D:\C#_Projects\connect_class\connect_class\clConnect.cs(16): The type or
namespace name 'DataSet' could not be found (are you missing a using
directive or an assembly reference?)"
How would I do this?
Thank you very much in advance,
I'm creating an ASP.Net application. I need to run a method that would
return a DataSet. I'm new to C#, so I have a problem with it.
In VB.Net I just used to write a function like this:
Public Function GetOrders(ByVal sSQL As String) As DataSet
In C# when I try to write something like this:
public DataSet CreateDataset(string sSQL)
{
}
I get an error:
"D:\C#_Projects\connect_class\connect_class\clConnect.cs(16): The type or
namespace name 'DataSet' could not be found (are you missing a using
directive or an assembly reference?)"
How would I do this?
Thank you very much in advance,