c# - Datalist line break when records with same ID detected -


It is difficult to clarify, but I will try, I have a philanthropist who is populated by a call in a stored procedure . The thing is, when the lines with identical identities came to know that I want to break it first and add it under the first record ....

Picture -> Stack [23,45,566,676,787,878 , 23, 23] (these represent ID records)


23
23
23


45


and so on.

Currently adding a line to a different data item as shown below.


23


Thank you in advance

There will be an idea line during the database, check the current value, the value of the previous, and the next value. If you have a match between the current and the last, then you have a group, then check the next line to come (from your original data source) and if it is different, then enter your empty line.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -