动态添加行 [英] Add rows dynamically

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

问题描述

我必须在一列中显示一个标签,在另一列中显示一个下拉列表。从第一个下拉列表中选择值后,我们将必须显示带有选项的第二个问题。我们将不得不动态生成行。

请帮我解决这个问题

I'll have to display one lable in one column and a dropdown in the other column. Upon the selection of value from the first dropdown list we will have to display the second question with options. like that we will have to dynamically generate the rows.
please help me out on this

推荐答案

试试这个..



Try this..

protected void DD_SelectedIndexChanged(object sender, System.EventArgs e)
{
     //Do your next change here...
     //Change the value of next drop down list
}


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

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