Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sample of GetDataSet with parameters?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Sample of GetDataSet with parameters?
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01417179
Message ID:
01417179
Vues:
93
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform