Wednesday, January 9, 2008

Open the 'New Window ' with JavaScript

Syntax:-
Window.Open('New Form name','width=--,height=--,scrollbar=--,resizable=--');

Unable to start debugging on the web server.The blogger is not configured to be debugged.(Procedure of Virtual Directory)

Please check the virtual of the project is proper or not.
Way of making the virtal of the any project in asp.net.


1.Goto in IIS(Internet Information Services).
2.Right click on the 'Default Web Site' section.
3.Click on 'New' and then click at virtual Directory.
4.Then click at 'next'
5.Fill the project name in alias Textbox then click 'next' button.
6.Give the Project path .Click at 'next' button
7.Checked all 'Checked Box' then click 'next' button
8.and then click at 'Finish.

Tuesday, January 1, 2008

Spliting the string with any word

In C#
For Example -
String str="c//Programfile//abc//xyz";

string [] strsql=str.split('//');
strsql[0]="C";
strsql[1]="Programfile";
strsql[2]="abc";
strsql[3]="xyz";

if u want to get the value of the last array element .
string lastelement= strsql[strsql.length-1];

Given the tooltip at any Image and any thing

We use the 'alt' attribute for given the tooltip .
if we want to show the caption of any image at the mouse over of that image ,then we also use the "alt "attribute of the tag