0
Answer

Drop down list problem!

Administrator

Administrator

21y
1.4k
1
Hi there I have an error when I'm dynamically setting up an asp.net dropdown list. I am setting both the DataValueField AND the DataTextField to equal a field called CompanyName from one of my tables. When I view the source code of the finished page I see which is fine. When I try and insert the value of this drop down list into a field called cmsID in another table, it works, but when I check the database, the contents of the field cmsID is "CompanyName" instead of "Abacus" or "EIA" - what have I done wrong? here's the full script...