Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'property' and 'method'
Message
De
01/03/2004 11:53:22
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
24/02/2004 08:48:50
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Divers
Thread ID:
00879961
Message ID:
00882081
Vues:
18
Mindy-

>Fiscal Year ComboBox
>asp:dropdownlist
>id=drpYear style="Z-INDEX: 103; LEFT: 96px; POSITION: absolute; TOP: 96px" runat="server" Width="208px" Height="35px" Font-Size="X-Small" Font- Names="Verdana" AutoPostBack="True" DataTextField="fydesc" DataSource='dsFiyears.Tables["fi_years"]'
>asp:dropdownlist
>
>If I remove the binding from dropdownlist, I don't get the error. I have the same project written in vb, but have just converted it to c#. In the vb project, I used the databinding property on the dropdownlist which set the datasource = dsFiyears.Tables("fi_years"). I tried to same theory here in the c# project, but it's not working. I have the dataset defined in my code-behind. Let me know if you need more. Thought this would've smacked me in the face by now...what am I missing?

I apologize for the late reply. I was swamped last week. Did Bob's comment help you track the problem? You say you define the DataSet in the code-behind, but you don't say if you've stepped through that code. It may be apparent to someone else from the aspx, but I expect it's in the code.

Hope you've long found it, though, and, again, my apologies.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform