Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sample of GetDataSet with parameters?
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Sample of GetDataSet with parameters?
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01417179
Message ID:
01417179
Views:
91
Hi everybody,

I have this code
public DataSet GetDataForRouteScheduleReport(int CompanyID, DateTime StartDate, DateTime EndDate)
        {
            // Returns Header DataSet
            DataSet ds = this.GetDataSet("getRouteScheduleReportData", CommandType.StoredProcedure);
            ds.Tables[0].TableName = "RouteData";
            ds.Tables[1].TableName = "Cleaners";
            ds.Tables[2].TableName = "Equipment";
            ds.Tables[3].TableName = "Jobs";
            ds.Tables[4].TableName = "JobDetails";
            ds.Tables[5].TableName = "Notes";
            return ds;
        }
but I believe this code doesn't pass parameters. Do we have a sample of passing parameters here?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform