FormView and DropDownList



I have a problem with formviews and DropDownLists in ASP.NET 2.0. I'm
using a formview to insert an order into a database. Part of the order
is a Driver's name. Currently, I have a dropdownlist bound to a
database that simply selects all drivers from a database table. After
inserting the data, the DropDownList is cleared and the first driver
from the table is selected. I would like the system to remember the
last driver's name which I entered after insering row. It would make it
easier for me to enter several routes for one driver. Could anybody
help me solve this problem? Thanks.
Maciejka

.



Relevant Pages

  • FormView and DropDownList
    ... I have a problem with formviews and DropDownLists in ASP.NET 2.0. ... database that simply selects all drivers from a database table. ... easier for me to enter several routes for one driver. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: DropDownLists and NULL values
    ... If my database doesn't actually like a zero, in my businesslayer, I will ... > leaving it NULL but this leads to problems with DropDownLists because ... > there is no value to bind to and an eror is raised. ... > obviously not got the 0 value insertion code in the right place. ...
    (microsoft.public.dotnet.framework.aspnet)
  • DropDownList
    ... from the datetime column in the Database. ... I have an employee form. ... how to get 3 other dropdownlists filled with ...
    (microsoft.public.dotnet.framework.aspnet)
  • Controls for an online quiz
    ... Questions are read from an XML file (or a database, ... first column filled with DropDownLists corresponding to ... If user doesn't select any or one of the DropDownList items for the ...
    (microsoft.public.dotnet.framework.aspnet)