Google Answers Logo
View Question
 
Q: Creating a category-directory listing using .net and sql server ( No Answer,   1 Comment )
Question  
Subject: Creating a category-directory listing using .net and sql server
Category: Computers > Programming
Asked by: pimplicado-ga
List Price: $5.00
Posted: 18 Feb 2005 19:08 PST
Expires: 01 Mar 2005 17:24 PST
Question ID: 476923
I've been asked to create a directory for my intranet to display
products, categories and subcategories.
They want it to look exactly like the Google Directory
(://www.google.com/dirhp) or the Yahoo directory
(http://dir.yahoo.com/)
(three subdirectories below each category -Not In a tree but in
three columns-)
I need to build it using asp.net and sql server I have
already built 3 tables -Product, category and subcategory-
How can I do that? where can I find a tutorial?
Thanks
Answer  
There is no answer at this time.

Comments  
Subject: Re: Creating a category-directory listing using .net and sql server
From: willcodeforfood-ga on 01 Mar 2005 12:56 PST
 
There are a lot of details to what you are doing to try to cram them
all into a single post, but you are on the right track so far.

You need to first figure out how to query data using ADO.NET.  Here's
your basic tutorial for this:
http://samples.gotdotnet.com/quickstart/aspplus/doc/adoplusoverview.aspx

Many examples on the web will explain how to build your own custom
DataAdapter, custom DataList or other wrapper classes to abstrat your
tables.  Initially you'll want to avoid building anything custom and
just use the built in .NET objects like DataAdpater, DataTable and
DataReader.

So now you've got data.  Now you need to turn it into HTML.  For this,
you will use an ASP.NET control.  There's probably already a control
built into ASP.NET to do what you want.  Read the following article to
figure out which one of the following it is:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspnet-whenusedatawebcontrols.asp

If you need something more custom, then build a User Control:
http://www.ondotnet.com/pub/a/dotnet/excerpt/progaspdotnet_14/index1.html
Custom Controls are overkill for this project.

As you get more knowlegable building websites with ASP.NET, you'll
naturally gravitate to building your own User Controls to repeat the
appearance and functionality of portions of web pages, similar to
using asp include files or a content manager, but much more powerfully
and easily.  Good luck.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy