How to Create and Delete Folder Dynamically in ASP.NET

Filed in ASP.NET, Web AppTags: , , , , ,

As you all know while developing a big application in asp.net everybody use Folders inside the application to keep the files separate. The Folder make an important for the developer sometime. In this Article I will tell you that how can you create as well as delete the folders inside your asp.net application. First to create an application you need to import “System.IO” Namespace. Because to create and remove folders we use the “DirectoryInfo” Class. As you will study this article later you will get the code with example about creating and deleting folder at runtime.

 

Read the rest of this entry »

How to Split and Merge a String Value

Filed in ASP.NET, Web AppTags: , , , ,

Today we will discuss two main operation that can be performed with String while developing an application in ASP.NET. First let me explain these two terms. Split is the term in which we break a string value to multiple string values. The splitting is performed with a specific separator  value. Suppose we need to split a date like “12-09-2011″. Then in that case the separator values is “-” and after split the string we will save the three different values in different different variables. The another term Merge is the reverse process of Split. Merging the values makes multiple values into a single value. In this article I will discuss these two operation with example.

 

Read the rest of this entry »

How to change the format of DateTime variable in ASP.NET

Filed in ASP.NET, Web AppTags: , , , , , , ,

This article will help you to change the display format of a DateTime variable in C#.NET. As you all know that DateTime variable is used to store date and time of any particular. and some time we need to change the format of this value. For Example some time we need to display only Date or only Time from the DateTime value. Also some time we need to change the format like DD:MM:YY or MM:DD:YY or anyone else. In this project we are using a calender control and we will learn how to change the format according to our requirement.

 

Read the rest of this entry »

Validate a Web Application Form using JavaScript Function

Filed in ASP.NET, JavaScript, Web AppTags: , , , , , , , ,

Hello guys, we have already learned that how to validate a web application form using validation controls. These validation controls are easy to use thats why the developers use these controls. But some time we need to make our web application more fast. As you all know that using more ASP.NET controls makes site more slow to load. So reduce the loading time of the web page we use sometimes JavaScript Function to validate the web form. JavaScript Function are also easy to use and thsi method is very fast to validate the form. and I hope that you will also learn that how to call a Javascript function from the code behind page in ASP.NET.

 

Read the rest of this entry »

How to call a JavaScript Function from ASPX Code

Filed in ASP.NET, Web AppTags: , , , , , , ,

While developing applications in ASP.NET some time we need use a JavaScript Function in the Source part of the web page. As we know that using JavaScript inside the application reduces the loading time of the particular web page. But some time we need to call the JavaScript Function from the code behind or we can say that we need to call the function from aspx coding page. Today in this project I am going to share a demo project that will help you to explain how to call a javascript function from ASPX page.

 

Read the rest of this entry »