Friday, March 28, 2014

Cookies in ASP.NET C#

To store website's data into browser we use cookies. Today in this example we will learn how to store cookies into your browser by using C# in your ASP.NET project. For this you need to know about class HttpCookie. Its under System.Web. For more info you can go here. First we will...

Wednesday, March 26, 2014

Add own template in ASP project

Adding your own template is a very essential part of a web site. We fist design the template layout and then cut it according to portions and add this into the asp project. Now replace the controls with ASP controls. Like replace a text box with asp text box and add the class name into that asp textbox...

Sunday, March 23, 2014

Create PDF files in C#

Creating PDF files is a very important thing in web tech. You need to generate PDF files to show some result of user. To create you need to import few namespaces. .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: Consolas, "Courier New", Courier, Monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color:...

Friday, March 21, 2014

File uploading using FTP in C#

Sometimes we need to upload files into a directory of a different website from our site, even just yesterday I found this kind of problem. My actual site is in its own server, I wanted to upload files from another server(admin panel). So for that I found this way very useful. And now I am sharing my code with you. On a button click, get the FileUploader to get the file name and the user-name, password...

Wednesday, March 5, 2014

AJAX Control Toolkit in ASP.NET

AJAX stands for Anonymous Javascript and XML. It helps to send data to server without refreshing the page. In visual studio it has given some predefine AJAX controls like Script Manager, Script Manager Proxy, Update Panel, Timer, Update Progress. But apart from all these there are many other tools of AJAX to use and make the application much more flexible. Such as is AJAX Toolkit. You can download...

Tuesday, March 4, 2014

ASP default Login form using C#

To use the ASP default Login form you need to add a login control into your web form . ...

File uploading in ASP.NET using C# with file checking

File uploading is an important thing for any kind of websites, and in this post I will show you how to upload a file from your website to server using C#. For this you need to add a control called FileUploder and a button. So take a web form and add a file uploader control with a button. For uploading files you need to use a method named  FileUpload.SaveAs. Here using this method upload...

Quiz software using C# (Windows application) with Ms. Access

In the previous post I had show you how to use Ms. Access as your database. Now in this article I will explain you how to create a Quiz software. First take a look about the database. Here I have done all the program in just one form. And using panel I did all the hiding and showing data. Table Question (tblQuestion) ID (Number auto increment by 1) Question (Text) Option1 (Text) Option2 (Text) Option3...

MS. Access connection with C# in windows or web application

Ms. Access is very useful database for the standalone application, where you need to run the program without installing the database in user's machine like a quiz or any other examination system. So lets have a look how to code the program to connect your software with Ms. Access database. If you have done previously to connect the SQL server and done fetching or retrieving data from database it...

Popular Posts

Pageviews