Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to get the new sibling values dynamically from the database.and i want these values to be placed on the horizantal direction.if i add new sibling in the database that has to display on the menubar?


i have tried im getting in this way

a,b,c a,b,c a,b,c


but i want in this way

a b c

as main menus in menubar


Please give the reply.

[edit]
1) Changed question title to meaningful description. Please do not use "please help me" or similar as it does not tell potential answerers what your problem is - that wastes time if they (in this case) know nothing about threading. If you use a more descriptive title, you will get better focussed responses.
2) Urgency deleted: It may be urgent to you, but it isn't to us. All that your stressing the urgency does is to make us think you have left it too late, and want us to do it for you. This annoys some people, and can slow a response.
- OriginalGriff
[/edit]
Posted
Updated 15-May-12 21:31pm
v2
Comments
bhagirathimfs 16-May-12 3:16am    
Can you share your query ???

This may help you
Use distinct to get distinct value in the query
Sukanya Karri 16-May-12 3:37am    
var st = (from i in dbContext.Menudata

where i.Id <= 3

select



i.Name



).ToArray();

this is my query
Sukanya Karri 16-May-12 4:22am    
did u reveive my query
bhagirathimfs 16-May-12 5:18am    
Yes

Use Distinct i.Name

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