Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Dreamweaver and SQL and if statements

Posted 06 Jun 2005 17:46:35
1
has voted
06 Jun 2005 17:46:35 Jim Arthur posted:
Hi, using MX-2004 and ASP.NET C# -- have a dw created dataset from sql stored procedure. Insert langauge starts <mm:dataset
ID="dstest1", etc. This stored procedure has one parameter, @tableID. I would like to turn this into an if...else sequence where if the querystring containes the querystring, the if statement runs but if not and else statement would apply a different dataset which would have two parameters, studyID and pageID. without listing all of the code, the idea is
if (request.querystring["tableID"] != ""
run mmdataset1
else
run mmdataset2
I cannot seem to find the correct combination of if else or page_load or whatever to get this work. Can someone point me to a tutorial or article that would assist?
thanks

Jim Arthur

Replies

Replied 06 Jun 2005 22:41:36
06 Jun 2005 22:41:36 Jim Arthur replied:
figured it out -- was attempting to apply the mm:if at the wrong place.


Jim Arthur

Reply to this topic