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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only