Click here to Skip to main content
16,016,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have some data and i am binding it to a datalist in asp.net with 3 records per row expect in the first row.
That is, in my First Row i need only one record. But in the Below rows i need multiple records (say 3).
Please help... Advance Thanks...
Posted
Comments
Mahesh Bailwal 30-May-13 2:34am    
can you provide your sample data which you are binding.
Karthik_Mahalingam 2-Jan-14 23:04pm    
post your code..
Masoom Mir 30-May-13 5:02am    
Provide sample code or sample output
Jignesh Khant 30-May-13 6:22am    
You can use 2 datalists and bind that one record in first list which will be above and rest of fields in second list.

1 solution

You can do as one of the comments suggests and use 2 DataLists or just use 1 DataList and control the data through Sql.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900