Get data from database and display in the appropriate format.

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Jul 2009
Posts: 75
Reputation: nccsbim071 is an unknown quantity at this point 
Solved Threads: 6
nccsbim071's Avatar
nccsbim071 nccsbim071 is offline Offline
Junior Poster in Training

Get data from database and display in the appropriate format.

 
0
  #1
Jul 5th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,434
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 439
adatapost's Avatar
adatapost adatapost is online now Online
Nearly a Posting Maven

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

 
0
  #2
Jul 6th, 2009
nccsbim071,

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?.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 75
Reputation: nccsbim071 is an unknown quantity at this point 
Solved Threads: 6
nccsbim071's Avatar
nccsbim071 nccsbim071 is offline Offline
Junior Poster in Training

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

 
0
  #3
Jul 6th, 2009
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#.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,434
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 439
adatapost's Avatar
adatapost adatapost is online now Online
Nearly a Posting Maven

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

 
0
  #4
Jul 6th, 2009
nccsbim071,

Don't waste the time. Purchase some books (ASP.NET/Html/Javascript/Css/C# or VB.Net) and read MSDN online pages.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 75
Reputation: nccsbim071 is an unknown quantity at this point 
Solved Threads: 6
nccsbim071's Avatar
nccsbim071 nccsbim071 is offline Offline
Junior Poster in Training

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

 
0
  #5
Jul 6th, 2009
thanks that was really a great help.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 75
Reputation: nccsbim071 is an unknown quantity at this point 
Solved Threads: 6
nccsbim071's Avatar
nccsbim071 nccsbim071 is offline Offline
Junior Poster in Training

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

 
0
  #6
Jul 6th, 2009
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC