Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmPicker and int fields
Message
De
25/01/2006 07:40:29
Rick Forbes
Brotherhood of Maintenance of Way Employ
Royal Oak, Michigan, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01089499
Message ID:
01090072
Vues:
25
It's a compile time error. Here is the actual error:

Error 4 Cannot convert type 'string' to 'int' H:\MM\Voting System\Voting System\ElectionMaintenanceForm.cs 39 64 Voting System


Here is the code:

private void pckElection_ItemSelected(object sender, mmPickerItemSelectedEventArgs e)
{
this.dsBallot = this.oBallot.GetBallotByElectionPK((int)this.pckElection.Text);
this.btnNew.Enabled = true;
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform