Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have List<class> in this class

CatID | CatName | ProductID | ProductName | CatID(FK) | ProductDescription


I want to make a web user control which display like image below,

|--------------|    |---------------|   |-------------------|
| CatName      |    | Product Name  |    ProductDescription |
|              |    |Product Name   |   |ProductDescription |
|              |    |Product Name   |   |ProductDescription | 
|--------------|    |---------------|   |-------------------|



I am using the repeater control


Help me how can i make web user control like this
Posted
Updated 9-Jun-14 0:56am
v4
Comments
OriginalGriff 5-Jun-14 3:58am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
OriginalGriff 8-Jun-14 5:15am    
I answer questions as well, even ones as simple as this. Currently, I have answered over 15,000 questions on this site:
http://www.codeproject.com/script/Answers/MemberPosts.aspx?tab=answers&mid=6122202&showall=True

What I don't do is answer questions from people who are rude. And starting off asking for my help by shouting at me *is* rude. Hence, you got informed, then ignored and not answered.
OriginalGriff 9-Jun-14 4:21am    
No, it's basic netiquette:
http://en.wikipedia.org/wiki/Etiquette_in_technology
All upper case is shouting on the net.
Would you be helpful and friendly to someone you came to your desk and started banging his fists on the desk and shouting "TALK TO ME! TALK TO ME!..."?
Or would they be rude and inconsiderate?
syed shanu 5-Jun-14 4:50am    
So what is the problem in this.
You need to place a grid and your grid datasource as your list.
if you want to know how to bind list to grid chk this link :

http://social.msdn.microsoft.com/Forums/en-US/766c7b46-6431-4ec1-8e74-50f718c6606b/how-to-bind-list-to-datagridview?forum=csharplanguage
ZurdoDev 5-Jun-14 7:30am    
Where are you stuck?

1 solution

I would recommend going through the articles on this site including the following one:

User controls in ASP .NET[^]
 
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