最好的方式来创建与左边的列标题动态表 [英] Best way to create dynamic table with left column header

查看:99
本文介绍了最好的方式来创建与左边的列标题动态表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建其中具有超过20的行和列的数量可以根据用户的输入是改变动态表。第一列标题和其他列需要使用数据的Web服务返回绑定。并有可编辑的几行。当提交按钮用户点击需要验证改变细胞和处理数据。
我创建了ASP.net表,并逐一加行和单元格之一。但这不是做的可重复使用的方式,是否有任何替代创建可编辑的动态表左栏为标题?

I'm creating dynamic table which having more than 20 rows and number of columns can be change according to user input. first column is header and other columns need to bind using data returning from web services. And there are few rows which can editable. when user click on submit button need to validate the changed cells and process the data. I have created ASP.net table and added rows and cells one by one. but this is not reusable way of doing, is there any alternative to create editable dynamic table with left column as header?

推荐答案

这里是做到这一点的一种方法,需要在给定的例子,但可用于逻辑一些定制

Here is the one way to do this, need some customization on given example but logic can be used.

这篇关于最好的方式来创建与左边的列标题动态表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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