Posted on: 4/20/2011 12:12:37 PM | Views : 378

Hi, I am doing a very basic drop down populate from LINQ and it seems the only one that's being populated is the one I DataBind First. If I have two drop downs, the one up top will be only one that will get populated, and if I move them up and down, the top one still gets populated only. I tried them in two different methods, no luck. Can I not DataBind two things in one method? What I am doing is based on another dropdownlist's selectedindexchanged event, I want to populate these two dropdowns. Can someone tell me what I am doing wrong?
 
private void populatedReportLists() { using (LinqDB DB = new LinqDBt()) { int Division = (int)Session["Division"]; //des rep ddl var result = (from r in DB.Sales where r.division == Division select r).Distinct().ToArray(); List<st ...

Go to the complete details ...