Posts Tagged ‘Side’

How Can I Get Directories List (for Example C:\program Files ) From Client Side Hard With Asp.net?

January 16th, 2010

This cannot be done. Since ASP.NET code runs on the server, you will be only able to access the server directories like this:
// C#
DirectoryInfo ourDir = new DirectoryInfo(@”c:\windows”);
Console.WriteLine(”Directory: {0}”, ourDir.FullName);
foreach (FileInfo file in ourDir.GetFiles() )
{
Console.WriteLine( “File: {0}”, file.Name );
}
Hope this helps.

How Can I Get Directories List (for Example C:\program Files ) From Client Side Hard With Asp.net?

January 15th, 2010

This cannot be done. Since ASP.NET code runs on the server, you will be only able to access the server directories like this:
// C#
DirectoryInfo ourDir = new DirectoryInfo(@”c:\windows”);
Console.WriteLine(”Directory: {0}”, ourDir.FullName);
foreach (FileInfo file in ourDir.GetFiles() )
{
Console.WriteLine( “File: {0}”, file.Name );
}
Hope this helps.

How Can I Get Directories List (for Example C:\program Files ) From Client Side Hard With Asp.net?

January 15th, 2010

This cannot be done. Since ASP.NET code runs on the server, you will be only able to access the server directories like this:
// C#
DirectoryInfo ourDir = new DirectoryInfo(@”c:\windows”);
Console.WriteLine(”Directory: {0}”, ourDir.FullName);
foreach (FileInfo file in ourDir.GetFiles() )
{
Console.WriteLine( “File: {0}”, file.Name );
}
Hope this helps.

How To Handle Client Side Scripting Using Javascript In Asp.net 2.0. Haw To Use Single .js File To Whole Proje

November 29th, 2009

am using ASP.NET 2.0 for my web application, in that i have to client side scripting using Javascript. Am able to do it in each single pages, but i need to use sigle script for whole project (i.e. with using .js file). i dont no how to access these .js file from my ASP.NET page. plz help me …… am stuck uppppppppp

What Are The Advantages Of Php Over Other Server Side Scipting Languages?

September 17th, 2009

Are there better server side languages than php, and which is easiest to learn?