Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > WebMatrix - User Control accessing Header information

Thread Tools

WebMatrix - User Control accessing Header information

Bill Godsil
Posts: n/a
I am trying to build a little Documentation search site, using WebMatrix,
Access, and Index Server.

I am placing my documentation in individual pages, as Index Server
doesn't seem to want to index data that WILL be in the page, when built.
It only wants to index what is in the static page.

However, I want to access certian data about the document that I have
stored in the Access database (even though it won't be indexed).

I create a metatag "DocID", which will hold the record ID for the
appropriate record in the Access Database.

I developed a page that will get the DocID data, using -


It works great, and I am able to perform a SQL query into the Access
Database, and populate a datagrid. Looks great, boss is happy!

However, I then try to move the datagrid and associated code into a User
Control, so, as I make edits, to please the boss, I only have to do it
once. Unfortunately, the command -


No longer works, when I do this.

Is there a way for the user control to access header information on the
page it is placed on?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header files with "header.h" or <header.h> ?? mlt C++ 2 01-31-2009 02:54 PM
Accessing USER CONTROL which is inside Masterpagethrough Another USER Control inside normal page. Kiran More ASP .Net Web Controls 2 11-14-2006 12:58 PM
[WebMatrix] Problem with MSDE umberto ASP .Net 0 11-08-2003 09:06 AM
update command in webmatrix Mark ASP .Net 0 11-08-2003 02:26 AM
Webmatrix stuck ccd ASP .Net 0 08-20-2003 11:51 PM