输入最后一列时在gridview中动态添加行
问题描述:
我有一个没有记录的三列网格视图.即HEADINGS AS sno产品名称价格.when
输入第一行,我需要在产品列中选择一个下拉列表并选择产品.然后将选定的产品价格绑定到价格列.在第一行后,最后一列键输入要动态创建的新行并再次执行相同的过程.结束gridview,我需要在gridview下进行总计计算.请帮助该怎么做.
I Having a gridview of three column with no records.ie HEADINGS AS sno productname price.when
enter a first row i need a dropdownlist in product column and select the product.and the selected product price to bind to price column.after first row last column key entered a new row to be created dynamically and goes the same process again.at the end gridview i need a total amount to be calculated below the gridview .please help how to do.