943,796 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1659
  • ASP.NET RSS
Jul 5th, 2009
0

Get data from database and display in the appropriate format.

Expand Post »
I have business requirement and i need to diplay records of data in certain format. My problem is as below:

I have database with two tables names "Restaurant" and "Restaurant_Associates". "Restaruant" table stores list all the restaruants available in town wheres "Restaurant_Associates" sotres the list of associates for particular restaruant in "Restaurant" table. One restaurant can have so many associates.

Now my problem is to display the Restaurant and their Associates in the form as given below:

Restaurant1
Restaurant1 Associate1
Restaruant Associate2
Restaruant Associate3
Restaruant2
Restaruant2 Associate1
Restaurant2 Associate2
Restaurant 2 Associate2

in the above format with Edit and Delete link by the side of associates.

How can i do this using different server side controls in ASP.NET or by any other method available in .NET

Thanks
Randhir
Reputation Points: 35
Solved Threads: 6
Junior Poster
nccsbim071 is offline Offline
128 posts
since Jul 2009
Jul 6th, 2009
0

Re: Get data from database and display in the appropriate format.

nccsbim071,

Quote ...
have business requirement and i need to diplay records of data in certain format.
Post your code so we can help you. Source program must be surrounded with BB code tags: See # icon at toolbar and also read How to use bb code tags?.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 6th, 2009
0

Re: Get data from database and display in the appropriate format.

I don't have any codes. I don't have any idea how to display the data in above given format. I haven't done anything for above problem. I just need idea of how it can be done using different ASP.NET server controls and programming using c#.
Reputation Points: 35
Solved Threads: 6
Junior Poster
nccsbim071 is offline Offline
128 posts
since Jul 2009
Jul 6th, 2009
0

Re: Get data from database and display in the appropriate format.

nccsbim071,

Don't waste the time. Purchase some books (ASP.NET/Html/Javascript/Css/C# or VB.Net) and read MSDN online pages.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Jul 6th, 2009
0

Re: Get data from database and display in the appropriate format.

thanks that was really a great help.
Reputation Points: 35
Solved Threads: 6
Junior Poster
nccsbim071 is offline Offline
128 posts
since Jul 2009
Jul 6th, 2009
0

Re: Get data from database and display in the appropriate format.

This doesen't mean i do not have any idea about server side controls i just need the hint of doing it.

Thanks
Please help
Reputation Points: 35
Solved Threads: 6
Junior Poster
nccsbim071 is offline Offline
128 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Update from Asp.net to Sql server db
Next Thread in ASP.NET Forum Timeline: Is Session data getting overwritten?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC