Skip to main content

Posts

Showing posts from March, 2013

Disable Browser's Back Button using JavaScript function in asp.net

In some cases we need to implement this functionality in our application, suppose our application contains the login page to user and after login, user is entered into application and user log outs from application then user should not see application other pages by clicking browser's back button. He should re-login into system by provided login window. So like this we have to implement this

Javascript tips for ASP.Net

We can use Javascript whenever we need to do some clientside operations in asp.net. There are so many Javascript operations which we repeatedly use in our applications. This article will list some of the repeated Javascript utilities, which we can use in our asp.net application. Moving forward this article will discuss about, Ø         MaxLength in ASP:Textbox Control. Ø         Passing Date from Calendar Pop-Up to Parent Window. Ø         Clear File Upload Control. Ø         Restricting the user copying the Page Text.

Creating Photo Album in ASP.Net

ListView control is one of the most flexible data-bound control that can be used to present the data in any custom format. Moving forward, in this article we will use this new control to create Google’s Picasa style photo album. Even though, picasa has more features we will implement only the display of albums and its photos using List-view control.

import excel sheet to SQL server database table using c# asp.net

The Page having a FileUpload control and the Upload button, on selecting the Excel file user needs to click on Upload button to store the data to Server. Here we are treating the uploaded file as database hence we need to create OLEDB connection to this file, from this connection will be created and the data is fetched to C# as DataTable. '[Sheet1$]' is the Name of the Worksheet where requires data is present.: