CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/17/2008 2:43:50 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 26 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
DrZ3D
Asp.Net User
some question follow the Building a Custom Database-Driven Site Map Provider1/17/2008 2:43:50 PM

0/0

hi

at learn i see lesone the Building a Custom Database-Driven Site Map Provider ( http://www.asp.net/learn/data-access/tutorial-62-vb.aspx ) and i wanna change the codes an use it in my owne website.

at Step 6: Creating the Custom Site Map Provider i dont find from where read the ProductsBLL() and Northwind.ProductsDataTable

' Get the categories and products information from the database

Dim productsAPI As New ProductsBLL()

Dim products As Northwind.ProductsDataTable = productsAPI.GetProducts()

 

please let me know

thanks

Amanda Wang - M
Asp.Net User
Re: some question follow the Building a Custom Database-Driven Site Map Provider1/21/2008 4:12:27 AM

0/0

Hi,

DrZ3D:
at Step 6: Creating the Custom Site Map Provider i dont find from where read the ProductsBLL() and Northwind.ProductsDataTable

I would suggest that you should read where you left off.

see these code lines:

 Dim productsAPI As New ProductsBLL()
            Dim products As Northwind.ProductsDataTable = productsAPI.GetProducts()

            ' Create the root SiteMapNode
            root = New SiteMapNode(Me, "root", "~/SiteMapProvider/Default.aspx", "All Categories")
            AddNode(root)

            ' Create SiteMapNodes for the categories and products
            For Each product As Northwind.ProductsRow In products

ProductsBLL() is a class that is in the App_Code folder, productsAPI.GetProducts() is a method of the ProductsBLL(), which returns the data of the product table.

Northwind is a dataset of the application, which is in the DAL folder of the root directory.

The line of the  For Each product As Northwind.ProductsRow In products is used to read the  read the ProductsBLL() and Northwind.ProductsDataTable.

Hope it helps.

 


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
DrZ3D
Asp.Net User
Re: some question follow the Building a Custom Database-Driven Site Map Provider1/21/2008 8:05:05 AM

0/0

hi Amanda Wang - MSFT  thanks for your replay

This Question was for 4 Days ago and after 4 days hard learning i creat my owne sitemap provider with my owne DataBase Big Smile

now i have an othere question:

in my database are 3 tables like LearnParents, LearnChildren and Learn with the help of these codes i creat a sitemap for LearnParents and LearnChildren now i wanna bring also learns after the LearnChildren i didnt try it but i will do it today. if is somthing that i should know please let me know.

thanks

Amanda Wang - M
Asp.Net User
Re: some question follow the Building a Custom Database-Driven Site Map Provider1/21/2008 8:54:21 AM

0/0

Hi DrZ3D ,

If the above reply help you, please mark it as answer.

If you have aother new question, I would suggest you should create a new thread , which make your question come up out of the forum, so the community members can reply yours priority.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
July 2007 - Posts - ASP.NET AJAX Team Blogs This session will cover some of the great new features that will be coming soon ... Building a Custom Database Driven Site Map Provider: Scott Mitchell has ...
Nine ASP.NET Site Navigation Problem Solutions: Part 2 Including database-driven content in site map data. ..... NET 2.0 shares one instance of any custom site map providers among all page requests—and thus ...
SQL Server: MSDN Magazine Articles Wicked Code: The SQL Site Map Provider You've Been Waiting For ..... The success of a database-driven international Web site depends on how well the code ...
Scott on Writing These tutorials follow, in scope, the concepts discussed in the earlier edit/ insert/delete-related ... Building a Custom Database-Driven Site Map Provider ...
DotNetSlackers: More Tutorials on Working with the DataList... and ... Oct 31, 2006 ... These tutorials follow, in scope, the concepts discussed in the earlier ... Building a Custom Database-Driven Site Map Provider ...
Crafty Code - A Programming Blog A Google Sitemap Provider for DotNetNuke using the ASP. .... URL pattern - and for some reason this always reverts to parameter driven (non-friendly? ...
Web Site Design UK and Professional Database Driven Website and ... KnockMedia is a global provider of custom web site and web application design and marketing ... ESW Web Design UK, Database Driven webdesign & eCommerce ...
Scott Mitchell This article, the follow up from Building Templated Custom ASP. .... and how to customize the site map provider piece of site navigation. ...
15 Seconds : Database-Driven WWW Help System Back in the days of classic ASP, if you were building a database-driven web site , your choice was either to invest a lot of money to get a copy of Microsoft ...
Google Maps: Answers to your questions « Mastering Multimedia Feb 12, 2008 ... You could build your own database-driven map ... Tips on map building for local news providers : Journalism.co.uk editors blog ...




Search This Site:










need suggestion to buy asp.net(vb.net) oo books please

what is "aspnet_client" folder in asp.net project?

how to replace the ">" character?

pop3 and asp.net

database search engine in asp.net vwd

weird javascript runtime error from .net code

bind a two dimensional array to a drop-down

using legacy <form> tags in codebehind

form validation

help with mht file

simple q about putting controls in a datalist

wiring events from usercontrols

error when trying to send an email notification after registration

dropdownlist help

where's this javascript

validation summary

can't get the right regex

return an id from a stored procedure and display it in a label

java script funtion on button click......

collecting data from web page

sitemap for my site for google

product catalog navigation question

delete a directory in ftp server

what is the easy way to build this feature?

creating a cookie

how to clear data in dropdownlist

login panel doesn't remember username and password?

how do i alert user that record has been added ?

get previous page url for custom error page

way to force a postback from codebehind?

  Privacy | Contact Us
All Times Are GMT