将新行添加到gridview nd绑定以上数据

问题描述:

大家好
请帮我解决这个问题.
我有一个gridview,其中包含由三个下拉列表和一个文本框组成的行.我的问题是,当我从dropdownlist中选择一个项目时,将其放置在网格视图的最后一列中,我必须使用数据动态地在gridview中获得新的一行wich绑定到了上面的行,因此请尽快答复.

hi to all
please help me out from this problem.
i have a gridview which contain a row consisting of three dropdown lists and a textbox .My problem is when i selectan item from dropdownlist wich is placed last column in the grid view,i have to get a new row in the gridview dynamically with the data wich is binded to the above row so pls reply it soon

修复您的代码.您还可以从模糊的描述中得到什么其他答案?如果您需要更多信息,请尝试发布一些代码.您是否尝试过设置断点以查看执行操作时所调用的代码?无疑,更改下拉列表选择的事件处理程序中的代码是导致此问题的原因.
Fix your code. What other answer could you expect from a vague description ? If you want more info, try posting some code. Have you tried setting breakpoints to see what code is called when you do what you''re doing ? Code in the event handler for the droplist selection changed is most certainly the cause of hte issue.