| | |
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!
![]() |
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
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
nccsbim071,
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?.
•
•
•
•
have business requirement and i need to diplay records of data in certain format.
Failure is not fatal, but failure to change might be. - John Wooden
![]() |
Similar Threads
- how to search data from database to display on web page based on dropdown list (PHP)
- how or wat tool must i use to display or populate data from data from the database, (Visual Basic 4 / 5 / 6)
- retrieving data from database into jsp page (JSP)
- Retrving data from database to form (PHP)
- please help with pulling data from database... (PHP)
- convert data in a textbox to a doc format (Visual Basic 4 / 5 / 6)
- fetching data from the database (JSP)
- Login and retrieve user data from database (ASP.NET)
- How to acess data from database and display it form text in formatted way (ASP)
- php wont submit data into the database (PHP)
Other Threads in the ASP.NET Forum
- Previous Thread: Update from Asp.net to Sql server db
- Next Thread: Is Session data getting overwritten?
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamically edit fileuploader fill flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers






