If you want with Model binding then add a property in Model: public class MobileViewModelĪnd in View:, Model. Public ActionResult ShowAllMobileDetails(MobileViewModel MV,FormCollection form) You can read it from Request using Request.Form, your dropdown name is ddlVendor so pass ddlVendor key in the formCollection to get its value that is posted by form: string strDDLValue = () Here’s how it’s used: If a company sold 20,000 postcards at an average price of 5 per unit. ![]() ![]() You may also see these expressed as the sales revenue formula. 1st Approach (via Request or FormCollection): Gross Revenue Number of Customers x Average Price of Services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |