GridView添加新行 [英] GridView Add New Rows

查看:82
本文介绍了GridView添加新行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将产品绑定到gridview的下拉列表中.当我从下拉列表中选择任何一种产品时,它应该在相应的列中显示成本和描述,然后我将输入数量并计算总数.在C#中使用asp.net.可以请任何人指导我该怎么做.提前谢谢.

问候,
Jeevan.

Hi,

I am binding products to the dropdown list in gridview. When i am selected any one of the product from the dropdown list it should display cost and description in the respective columns then i will enter the quantity and it will calculate the total. Using asp.net with c#. Can any one please guide how can i do that. Thanks in advance.

Regards,
Jeevan.

推荐答案

这对您有帮助吗?

http://www.c-sharpcorner.com/UploadFile/Art%20Scott/GridViewInsertANewRow09012006165053PM/GridViewInsertANewRow.aspx [^ ]

您也可以使用GridView Footer添加新的空行.
Does this help you ?

http://www.c-sharpcorner.com/UploadFile/Art%20Scott/GridViewInsertANewRow09012006165053PM/GridViewInsertANewRow.aspx[^]

You can use GridView Footer to add a new empty row as well.


此链接可帮助您在gridview中添加行.检查
在GridView中添加空行 [
this link help you add rows in gridview. check that
Adding Empty Rows in GridView[^]


这篇关于GridView添加新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆