PDA

View Full Version : Modifying Value while showing in Dropdown list box in Grid View


Gourav
08-01-2007, 02:57 PM
Hi

I am working on a project for a consultant which is in ASP.net with C# in VS 2005. In the database there are entries for the commission type i.e. its in terms of value or percentage. So we are taking FeeType field as boolean (0 for value and 1 for percent). I want to use Gridview for display but the problem is how to display the Feetype which is in form of 0 and 1 to string "value" and "percent". Also while editing in gridview how to use "value" and "percent" in dropdownlist list box.

Can you help me.............:confused:

rafiki
08-01-2007, 03:10 PM
people could help but i doubt they will if you double post :) ill report this one and ask for it to get deleted, :) seing as your new to the forums..