Friday, 24 July 2009

Pingu Game!

This game is fantastic!!

Hotels in Rotherham

There are a few Hotels in Rotheham South Yorkshire.  Here are a few of the popular ones that everyone knows.

Carlton Park Hotel Rotherham/Sheffield

Moorgate Road, Rotherham 

This newly refurbished hotel is 1 mile (1.6 km) from Rotherham town centre. It has free Wi-Fi, an indoor pool, a gym and comfy en suite bedrooms with 32-inch LCD TVs.… More

Aston Hotel Sheffield/Rotherham

Britannia Way, Catcliffe, Rotherham 

Equal distance from Sheffield and Rotherham, this hotel is a few minutes from junction 33 of the M1 motorway and one junction south of Meadowhall.… More

Good Night Inns Rotherham

114 Moorgate Road, Rotherham 

This recently refurbished hotel is on the edge of Rotherham town centre and 5 minutes from the M1, junction 33. The new rooms have free Wi-Fi and LCD TVs with Freeview

The Welcome Inn Rotherham/Sheffield

Wortley Road, Rotherham 

Welcome Inn is a 52 bedroom no smoking hotel close to the M1 motorway, Meadowhall shopping centre, Hallam FM arena and Don Valley stadium. Continental breakfast is available for £3.95 per person.…

Stonecroft Hotel

Main Street, Bramley, Rotherham 

This 17th century, grade 2 listed residence offers comfortable en suite accommodation and period features with modern comforts.… More

The Brecon Hotel

49-51 Moorgate Road, Rotherham

Established in 1963, this small family-run hotel in Rotherham aims to offer you a friendly home from home atmosphere where all the staff care for your wellbeing.… More

Holiday Inn Rotherham Sheffield

West Bawtry Rd, M1 Junction 33, Rotherham 

Stylish and contemporary, this modern hotel has a great location, only 800 metres from junction 33 of the M1 motorway and close to Meadowhall Shopping Centre and Sheffield Arena

Thursday, 23 July 2009

Form and Query Request ASP Code

<html>
<body>
<form action="demo_reqquery.asp" method="get">
Your name: <input type="text" name="fname" size="20" />
<input type="submit" value="Submit" />
</form>
<%
dim fname
fname=Request("fname")
If fname<>"" Then
      Response.Write("Hello " & fname & "!<br />")
      Response.Write("How are you today?")
End If
%>

</body>
</html>

Don't use the request.querystring or request.form just use request!

ASP File System Object

The following code uses the GetFile method of the FileSystemObject object to instantiate the File object and the DateCreated property to return the date when the specified file was created:

Example

<%
Dim fs,f
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile("c:\test.txt")
Response.Write("File created: " & f.DateCreated)
set f=nothing
set fs=nothing
%>

PropertyDescription
AttributesSets or returns the attributes of a specified file
DateCreatedReturns the date and time when a specified file was created
DateLastAccessedReturns the date and time when a specified file was last accessed
DateLastModifiedReturns the date and time when a specified file was last modified
DriveReturns the drive letter of the drive where a specified file or folder resides
NameSets or returns the name of a specified file
ParentFolderReturns the folder object for the parent of the specified file
PathReturns the path for a specified file
ShortNameReturns the short name of a specified file (the 8.3 naming convention)
ShortPathReturns the short path of a specified file (the 8.3 naming convention)
SizeReturns the size, in bytes, of a specified file
TypeReturns the type of a specified file

Methods

MethodDescription
CopyCopies a specified file from one location to another
DeleteDeletes a specified file
MoveMoves a specified file from one location to another
OpenAsTextStream Opens a specified file and returns a TextStream object to access the file





Hide the Blogger Navbar or Banner form your Blog

To hide the Blogger Navbar :

1- Log in to your Blogger account

2- On your Dashboard, select 
Layout. This will take you to the Template tab. Click Edit HTML. Under the Edit Template section you will see you blog's HTML.



3- paste 
the CSS definition in the top of the template code:

#navbar-iframe {
display: none !important;
}

...
<b:skin><![CDATA[/*
-----------------------------------------------
Blogger Template Style
Name: Rounders
Designer: Douglas Bowman
URL: www.stopdesign.com
Date: 27 Feb 2004
Updated by: Blogger Team
----------------------------------------------- */
#navbar-iframe {
display: none !important;
}
/* Variable definitions
====================
<Variable name="mainBgColor" description="Main Background Color"
type="color" default="#fff" value="#ffffff">
<Variable name="mainTextColor" description="Text Color" type="color"
default="#333" value="#333333">
...

Remove the code to show it again.