Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'property' and 'method'
Message
From
01/03/2004 11:53:22
 
 
To
24/02/2004 08:48:50
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00879961
Message ID:
00882081
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform