Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 23rd, 2006, 06:48 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

Are you talking about windows form or webforms? Anyways, the code that I have given above is a sample where we ourselves loop through some number say from 0 to 3 and create the no of checkboxes, so you can yourself determine the no of checkboxes you are creating.

Anyways, if you are querying something different, do let us know in detail.

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
 
Old November 23rd, 2006, 07:31 AM
Registered User
 
Join Date: Nov 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thnx mike for everything...
i got ur code and it worked too...
neways can u tell me abt how we can assign a path to a directory
of our web server in the html tag.
actually i m using a menu bt i dnt know how to give the path of that directory
in html on websoite page.
any help wld b gr8
thnx

 
Old November 23rd, 2006, 08:37 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Abhi

Not sure exactly what you need, but I guess you want to track path to a folder witin your server, below is the line that you can write to trace the path for 'images' folder within your server (this is an example):

<%=Server.MapPath("./images/")%>

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
 
Old November 24th, 2006, 01:24 AM
Authorized User
 
Join Date: Oct 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi mike...
i tried the path method u gave to me..
bt its nt working..
my folder where all the four js files are kept are in
"c:\intetpub\wwwroot\simple_menu"
so i gave the path as u told me...i.e.
<%=server.mappath("c:\intetpub\wwwroot\simple_menu ")%>
bt it is giving an error that "invalid path...virtual path expected"

can u help me pls..
thnx

 
Old November 24th, 2006, 01:56 AM
Authorized User
 
Join Date: Oct 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi mike...
i tried by ur reply n help...
n it worked after making some changes on it..
thnks for the help as it was nt possible without ur help...
thnx again..
bye n tc






Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new buttons at runtime and making them v tknnguyen Visual Basic 2008 Essentials 1 June 6th, 2008 10:26 AM
Creating CheckBox at runtime. sachingowdar Java GUI 2 April 22nd, 2007 09:55 PM
Creating a DLL at runtime jai2k Beginning VB 6 1 January 5th, 2005 01:23 PM
Creating Access database at runtime in C# janigorse General .NET 0 September 18th, 2004 06:24 AM
Creating Access database at runtime janigorse Access 0 September 18th, 2004 03:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.