Hi, I'm having a play around with asp.net at the mo and in particular DB functionality.
I have however encountered a small issue, I am trying to bind a datasource to a drop down list, but all I am getting is the following:
http://augustus.aces.shu.ac.uk/students/jmbradl3/Default.aspx (check out the drop down list there)
Anyone any ideas what could be going on here?
My code is as follows:
Thanks in advance,
James
I have however encountered a small issue, I am trying to bind a datasource to a drop down list, but all I am getting is the following:
http://augustus.aces.shu.ac.uk/students/jmbradl3/Default.aspx (check out the drop down list there)
Anyone any ideas what could be going on here?
My code is as follows:
Code:
[size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] employeeAdapter [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]New[/color][/size][size=2] BBBDBTableAdapters.EmployeeTableAdapter
ddlBranch.DataSource = employeeAdapter.GetAllEmployeeData
ddlBranch.DataBind()
[/size]
Thanks in advance,
James