TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Danish Habib
NA
694
244.3k
how to show Associated Record on edit
Feb 6 2015 1:25 AM
Dear I have an application in which i have associated records like cascade in nature
District------>populates------->Tehsisl
Tehsils-------->Populates ------->UCs
UCs-------------->populates------Villages
I am using three seperate table to store these records they also are related with a user so i have placed a userid as foreign key (for example i have assigned 200 villages to a user so he will be responsible for activities in these 200 villages)
on editing I get 200 Rows when i join these tables how to show checkboxlist,any other control on edit (should i populates the district(Checkboxlist or Dropdown) and then make a selection based on selected values but this is not right case because if my district id is one then i dont want to populates all the teshils but just the tehsils where district id is one so just populates those tehsil where district id is one and then pass this seleccted tehsil to uc method to get the associated uc and same for villages by managing this in code makes my process slow .....what chould i do ??
Reply
Answers (
0
)
How to create Roll Over Image Effect Using Datalist Asp.net
How to post data to linkdin using Asp.net?