p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 5th, 2007, 07:18 AM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I run or not run Google AD in my ASP.NET w

The following code is google AD, I have added it to my website http://www.hothelpdesk.com

   <script type="text/javascript"><!--
google_ad_client = "pub-5823168326939016";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
        <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>



I hope I can control when it run or not run in my webpage, how can I do ? thanks!

        if (IsFreeVersion== True)
        {
           //Run Google AD and Google AD will display in my webpage
        }
        else
        {
           //Don't run Google AD and Google AD will not display in my webpage
        }


http://www.hothelpdesk.com/ - Web Based Helpdesk, Customer Service, Customer Support Software
__________________
http://www.hothelpdesk.com/ - Web Based Helpdesk, Customer Service, Customer Support Software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run button problem in IE 7.0 and asp.net jits.santhosh General .NET 1 September 9th, 2008 01:55 PM
To run asp.net application in LAN hilda dian Visual Web Developer 2005 1 December 12th, 2007 09:53 AM
How to run ASP.Net with Oracle 9i ramk_1978 ASP.NET 1.0 and 1.1 Professional 1 September 7th, 2006 09:07 PM
Run .sql file through ASP.NET+C# vinodkalpaka C# 2 August 16th, 2006 07:13 PM
Run .sql file through ASP.NET+C# vinodkalpaka ADO.NET 0 February 12th, 2005 07:44 AM



All times are GMT -4. The time now is 06:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc