在datagrid中动态行重叠 [英] dynamically row overlapping in datagrid

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

问题描述

在我的Web应用程序中,我需要一个网格.该网格将显示不同客户的付款....现在,如果客户有很多付款,则网格也会多次显示客户名称......... ..但是现在的要求是,即使客户有一次以上的付款,也只能显示一次唯一的客户........这意味着该客户进行的所有付款行都将按客户的那几行进行分组字段将重叠.....这应该通过vb代码动态完成.....任何人都可以帮助我证明用于解决此问题的示例代码..... .........


-------------------------我必须使用simle datagrid .......因为该页面已在应用程序中,如果我必须使用网格需要进行很多更改.........

In my web application I need a grid.This grid will show payments made by different customer....Now If a customer has many payments the grid shows the customer name also many time...........But now the requirement is to show one unique customer only once though the customer has more than one payment ..........That means all rows of payment made by that customer will be grouped for those rows the customer field will be overlapped..........This should be done dynamically by vb code..........anyone pls help me proving sample code to solve this issue................


-------------------------I hav to use simle datagrid.......becuse this page already in the application ,if i have to use grid alots of change need to be done............

推荐答案

您可以在特定位置使用分层网格控制客户排成一排,子排是由他们进行的付款.

现在,请先尝试.要求输入代码无济于事.

这是询问者的期望:
1. 先尝试您要做什么!
2.制定看起来像问题/无法解决的问题.

试试看,告诉他们是否遇到问题.
成员将非常乐于提供这样的帮助.
You can go for hierarchical grid kind of control where a particular customer is in one row and the child rows are payments made by them.

Now, try first. Asking for code would not help.

Here is what is expected by enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


DataGrid的单元合并在ASP.NET中 [ ^ ] ...................我已经通过上面的链接解决了这个问题....
Cell Merging of DataGrid in ASP.NET[^]...................I have solved this by the help of above link................


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

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