Recently Viewed...
To help you navigate to pages you most recently visited, select from the links below.
Product Forums
Sharepoint Forums
Newsletter
Page Tags
Dynamic Forms Demonstrations
DNN Modules
SnowCovered Top Sellers

One stop solution for events calendar and events registration! Demo site available for free trial.

'Relationship Building' and 'Communication' are two essential nuts and bolts for a business to prosper. This module allows you to bridge both of these and easily generate continuous awareness of your web site, products and services. Your prospects and customers will greatly appreciate this featur

Version 5 of the perennial best-selling tool for creating data-based solutions in DNN without custom programming. This version focuses on greater flexibility, expandability, and ease-of-use.

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to add videos in various format and automatically convert them to flv format, you also can add videos from embed code and play them in our integrated flash video player.

The award winning discussion forum and community solution for DotNetNuke is now even better. When you need to build the best community site, you need the best module, Active Forums!

Powerful, Ajax Enabled, Easy to Use. Document Management has never been better. Open-DocumentLibrary allows DotNetNuke users to share and manage documents in a flexible, intelligent way, offering granular control over Folder and Document access.

Gloss is the first ALL COLORS! skin, featuring a powerful XML-based flash and being 100% W3C CSS XHMTL1.0 compliant. Tune it yourself on the fly, changing colors, backgrounds, containers, text color and size, width and more! Brilliant!Available for DNN4 and DNN5

ALL NEW ! - Minimalist includes skin packs in 12 great colors. Each color has Flat, Gradient and Glass versions. Feature rich XML Flash header, perfect for just about any purpose. 9 Different menu options in each skin pack; 3 horizontal menus, 3 vertical menus and 3 all-new Twin level menus . . .

A 16-in-1 dnn module.Powerful yet easy to use. Capable of producing a multitude of functions including:Image rotator/Numeric rotator/ Mp3 player/Wmv player/ Flash video player /YouTube video player/Multimedia player / Text-to-speech podcast / Flipping book player/Banner topic player/Silverlight albu

Ultra Media Gallery is the most popular photo gallery and media gallery solution for DotNetNuke, UMG offers 10 different flash player to browse your gallery with completely different user interface experience.

    |   Register   |   Friday, January 09, 2009   
Data Springs Product Forums...
Subject: Correct SQL not working on tailored HTML
Prev Next
You are not authorized to post a reply.

Author Messages
Timothy
Posts:31
paddling down the creek
paddling down the creek

07/24/2008 5:39 PM  

Correct SQL not working on tailored HTML


I entered the following SQL statement into SQL under host on my dotnetnuke portal and it worked correctly by displaying all users on the portal with their security roles.  But when I created a SQL Culkin on the tailored HTML module it and then I put that token on the screen for unauthorized.  Well it only showed the #1, which I believe it is the first column on the first row.

Select  * from easycgi_dnn_userroles

I am surprised that it didn't show at least all of the columns in row one. 
I could create an SQL statement like this:

Select  * from easycgi_dnn_userroles where ArticleID=$(ArticleID)

In the SQL above $(ArticleID) a token created for the variable passed in through the querystring called ArticleID.


3 things relating to this is that


1) I would think this SQL statement would return rows containing the cell titled ArticleID and that each column in each row would be shown for each row.


2) seeing what happens with the SQL for showing all the User Roles not sure and all the rows or all the data in a row is there some kind of looping needed.  If SQL testing screen on the dotnetnuke portal doesn't need looping then why would tailored HTML? 


3) for showing each cell in a row could I create an SQL token for  each cell in a row?  Should I do something like this

>>

Select  firstname from easycgi_dnn_userroles where ArticleID=$(ArticleID)

You are not authorized to post a reply.
Forums > Product Discussion - DotNetNuke Modules > Tailored Text/HTML > Correct SQL not working on tailored HTML



ActiveForums 3.7

Copyright 2005 - 2009 by Data Springs, Inc.
Terms Of Use | Privacy Statement