Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using form's property as opposed to Profile property
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01318572
Message ID:
01319077
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>
>Can I set the parameter value myself in the code?

I'm not sure - maybe through an evaluated tag? ex. < %= this.SiteID % >

Since we're talking about collections, you could also probably do this by accessing them directly:
Parameter selectParm = (Parameter)this.grdName.SelectParameters["NameOfParameter"];
selectParm.Type = TypeCode.Int32;
selectParm.DefaultValue = this.SiteID.ToString();
I haven't tested the above, so YMMV.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform