ASP.NET C# Dynamic DropDown not loading

I have a drop down list that I have to make dynamic.  It is using a home grown Entity framework 4 to retrieve the data.  I have everything else loading like email, phone number etc..  It is the drop-down that isn't showing the name from a table in the database.  I will attach the aspx page and the code behind so you can see what I am talking about. The drop down that isn't work is the first one ddlName.  The other drop downs are fine. Thanks for any help.
Request.aspx.cs
Request.aspx
tonymm73Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

unknown_routineCommented:
I read your code

You need to provide a datasource for ddlName

ddlName.Datasource ="MydataSource"

I don't see this in your code.
0
tonymm73Author Commented:
I see what you mean but this is where my problem is.  If I was going to a SQL database or Entity Framework I would know what to do.  The problem is I have to grab everything from methods in a page called RequestTracker.cs  The RequestTracker.cs page goes to entity RequestTracker.edmx.  I can't change this because the rest of the application uses this.   So I am getting the names from a Method that are in the RequestTracker.cs.  This is my first post and I am not sure if I can post those pages as well.  I will try after this reply.  I appreciate the help.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
unknown_routineCommented:
So use or create a method in  RequestTracker.cs that returns a Dataset and use it to bind your drop down to.
0
tonymm73Author Commented:
You were right I din't have this coded correctly. ddlName.Datasource ="MydataSource"
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.