Passing a Static Value to Data Source

How do i setup a DataSource to accept a Static Value

Page 1 of 1

0 Replies - 354 Views - Last Post: 16 February 2010 - 07:53 AM Rate Topic: -----

#1 woodjom  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 29
  • View blog
  • Posts: 549
  • Joined: 08-May 08

Passing a Static Value to Data Source

Posted 16 February 2010 - 07:53 AM

Not sure how to explain this but basically i am not using the Session cookie object. I have setup a system of Static/Shared objects within my web app. The object i am trying to pass to a DataSource is at prodsum.core.Line.

I have build a FormView for a app i am working on at work. In this FormView, i have several drop-down listboxes and each one will need to derive from this same Static/Shared value in their various pertinent queries against the database.

Background:
Core.Line holds a Byte value of 1 or 2

Problem:
When i goto setup the DataSource in VS2k8, it only gives me the options {None | Cookie | Control | Form | Profile | QueryString | Session }. In the past i have used either Cookie or Session but for this application i am staying away from Session, Cookie and QueryString as much as possible.

Question:
Is there a way to pull this Static/Shared value from the application domain into the DataSource via the DataSource Wizard?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1