Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 June 6th, 2006, 05:41 AM
Registered User
 
Join Date: Jun 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use rename method

i have 2 stylesheet say stylesheet.css and stylesheettheme1.css
both are in the same folder.all the files in the project are
calling stylesheet.css.

what i have to do is,when i click on a button, i want to
replace the sylesheet.css with sylesheettheme1.css.

i can do this by rename method. firstly, i need to rename
stylesheet.css to say like stylesheet1.css and
secondly, i need to rename stylesheettheme1.css to stylesheet.css
since stylesheet.css is called everywhere.

i wrote below code in say footer.aspx.so when i click on the
button, it should call the colorTheme1().
<input type="button" runat="server" onClick="colorTheme1()" class="cmdbutton70" value="Theme1">

i have to use system.io namespace and i want to write the code
on the server side.

 
Old February 23rd, 2012, 08:14 PM
Registered User
 
Join Date: Feb 2012
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Prevent injection

Please tell me.. How can we prevent the SQL injection in ASP.NET ?

Last edited by Jitendra Malan; February 23rd, 2012 at 08:18 PM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
LNC Rename dmoffice Access VBA 6 November 16th, 2006 09:42 PM
Rename table collie Access 1 February 23rd, 2005 02:49 PM
Rename a column JENKINSACTIVE SQL Server 2000 3 December 16th, 2004 01:11 AM
Can't rename a report bmurrin Access 2 January 28th, 2004 07:02 PM





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