Thursday, June 23, 2011

How to upload and download files thru FTP Server?



I have use several references in creating this window application. I have somehow simplified it and extract codes from the references that I have used. There is only three buttons, they are upload, download and close. The upload button is used to copy file to ftp server. In short You are transferring or copying your local file to ftp server. The download button is used to get file from ftp server to your local folder or machine. The close button is used to close your application.

Here is what the application looks like,


Here is my code

Here are my references that I have used in this blog:
Code Project
C# Corner
Code Guru
MSDN Microsoft
ondotnet

Monday, June 20, 2011

How to create simple dynamic window form application?

I have created a window form that will generate two textbox, one combobox, one datepicker, and four label. This form does not connect to any database. The purpose of this application is to show how to create controls at runtime.

Tuesday, June 14, 2011

How to create code generator for your data objects, data access layer and business access layer?

This post of mine shows how I create DAL, BAL, Data entity objects, interface. This code generator will generate code for this .cs file.
First, this is how it looks like when you are creating DAL,
Second, this is how it looks like when you are creating BAL,
Third, this is how it looks like when you are creating data entity objects,
Fourth, this is how it looks like when you are creating the interface,

Here is the code,
if you wish to see the actual code, go to this link

.