Home
About
Contact
Login
Home
Code and Articles
Videos
Books
Search
Demos
Portfolio
Feedback
Home
>
Categories
>
Code from a Category
Salesforce CRM (4)
VB.Net (85)
Zoho Campaigns (1)
Zoho Invoice (1)
MSSQL (230)
Asp.net C# / VB (342)
SugarCRM (1)
CSS (11)
PHP (120)
Google (2)
jQuery (18)
C++ (1)
Zoho Support (1)
Zoho Creator (7)
Zoho Mail (3)
Zoho CRM (63)
Other (16)
DotNetNuke (2)
Uploading and Deleting Files via Form in ASP.NET and VB
User Name:
codelecturer
Name:
Mike Chauhan
Contact Me:
www.datawebcoder.com/ContactUs.aspx
Home Page:
www.datawebcoder.com
6 years of total IT experience including programming, application development, System Maintenance . 3 years of Experienced and expertise in .Net Framework VB, Visual Basic.Net, ASP.Net 2.0, 3.5 and AD...
[More]
Viewed Times:
1733
Add Date:
11/22/2012
This article will show how we can upload files to a web server and also use a GridView control to delete files as well.
Quite often, we want to allow uploading of files to a web server, which enables new content to be loaded much quicker & easier than using FTP. ASP.NET makes this easy for us to do, but what happens when we want to delete files from a web server, too? Well ASP.NET, of course, has an answer for this too. We can use a GridView to display files in a certain directory, and allow a user to delete these files.
First, we need the following assembly reference:
We need to add a FileUpload control and a GridView:
The code-behind will look something like this:
Happy Programming!!!
Reply above Post
Related Posts
Understanding and handling SQL Server Transaction Deadlocks.
Guest Book with their hands on PHP and MySQL
Understanding Exception Handling in VB.Net
How to write useful .NET and C# coding standards
What is difference between HTTP Handler and HTTP Module.
Post a Comment
Name:
(Optional)
Email:
(Optional, you can get an email if somebody replys your comments)*
Email me if somebody respons my comment below:
Yes
No
Details**:
Enter Text
as Below:
(case insensitive, if hard to read, click the "get a new one" button)
* Your email address will not be shared with any third parties for any reason.
** Maximum 1000 charactors.