Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Using querystring for Initial SQL Bind
Last Post 12-01-2008 05:32 PM by Daniel Salas. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Daniel SalasUser is Offline
new to the springs
new to the springs
Posts:2
Avatar

--
11-27-2008 03:18 PM

    Hi,

    I'm trying to implement an initial SQL Rendering/Bind using a querystring containing an Id in order to populate some read only fields on the form:

    Querystring passed : FairId (also tried making it a hidden field reading its value from the querystring).
    Passed like this: (url of page containing the Form)/Default.aspx?FairId=114

    Fields on the Form: FairName (textbox, read only),  FairCity (textbox, read only)

    Enable initial SQL data bind (checked)
    Only enable when querystring present? (empty)
    Initial SQL query:

    If I use the following select, it works:

    Select FairName, FairCity from FairsAU where FairsAUId = 114

    If I try to use the querystring (or a field shortname), it doesn't work:

    Select FairName, FairCity from FairsAU where FairsAUId = '$(FairId)'

    Also tried

    Select FairName, FairCity from FairsAU where FairsAUId = $(FairId)
    (without the single quotes)

    Any ideas? I guess the question is: how to use a variable in the SQL expression? How are they parsed?

    Best regards,

    Daniel Salas
    ICCI Melb Inc.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-01-2008 06:54 AM

    Daniel,

     

    Hi. Can you please review this thread, this thread relates directly to using the SQL Databind Feature w/ Querystring variable.

     

    -Chad

     

    Daniel SalasUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    12-01-2008 05:32 PM

    Hi Chad,

    Thank you for the update. I had opened a support ticket about this and got the same answer. I did a search of the forum on 'querystring' but somehow missed that thread.

    Regards,
    Daniel Salas
    ICCI Melb Inc.

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi