SQLdatasource using querystring does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gwtech
    New Member
    • Jul 2007
    • 3

    SQLdatasource using querystring does not work

    Sending with:
    http://www.catahouliga ns.com/Message%20Board/MBUpload.aspx?M essageID=78&Sub ject=hhh&TopicI D=1

    SQLdatasource
    <asp:QueryStrin gParameter DefaultValue="0 " Name="MessageID " QueryStringFiel d="MessageID" Type="Int32" />

    This should work but doesn't. There are no examples explaining if something is missing. ALL examples say "That's all that is required!"

    Please tell me where I can find full examples or posts if you know of any.

    Thanks
    gwtech
  • gwtech
    New Member
    • Jul 2007
    • 3

    #2
    I want to make a detailsview use a sqldatasource which gets its select value from the querystring.

    Does anyone else have this problem?
    I know this should work but???? What I'm I missing?
    An Imports declaration perhaps?

    Anyone?

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Do you use a connection string? Please provide more info and the rest of your relevant code. Do you receive any errors? Thanks.

      Comment

      Working...