A
Anders K. Jacobsen [DK]
Im developing an ASP.NET application. So far im pretty pleased. Databinding
is really nice but also gives me som e problems / design issues.
Lets say I want to bind a list of contries to a DropDownList in a search
form. Now I have a problem because I also want to let the user be able to
select "none" as an empty field. Now im manually adding a row to the
collection before bind but i dont fing that very pretty.
I could add a "No country selected" entry in my database and this would work
here but in other cases not.
What is the common way to do this?
It´s not that big a problem. I just want to hear your experts opinion in
this.
Regards
Anders
is really nice but also gives me som e problems / design issues.
Lets say I want to bind a list of contries to a DropDownList in a search
form. Now I have a problem because I also want to let the user be able to
select "none" as an empty field. Now im manually adding a row to the
collection before bind but i dont fing that very pretty.
I could add a "No country selected" entry in my database and this would work
here but in other cases not.
What is the common way to do this?
It´s not that big a problem. I just want to hear your experts opinion in
this.
Regards
Anders