Irwsoft NETCore Asp

FileUpload
Brief Information
DescriptionA tag-helper to upload file.
FeaturesTwo modes are Async and Sync.
Async to upload file asynchronously.
Sync to upload file synchronously.
FileUpload tag-helper
FileUpload tag-helper


The INA ASP.net FileUpload tag-helper is a tag-helper to upload file. This tag-helper has two modes are Async and Sync. The Async mode can upload and delete file asynchronously. The Sync mode can upload and delete file synchronously. The Async mode requires browser to support AJAX request.

Example : Input PictureUrl data of Person table with FileUpload


C# code for Person table

// 1) Sample code for Person table
public class Person
{
     public int ID { get; set;}
     public string FirstName { get; set;}
     public string LastName { get; set;}
     public GenderType Gender { get; set;}
     public DateTime DateOfBirth { get; set;}
     public int Age { get; set;}
     public string Address { get; set;}
     public string City { get; set;}
     public string Country { get; set;}
     public string IdentityCardNo { get; set;}
     public string BioData { get; set;}
     public string PictureUrl { get; set;}  // 2) Input PictureUrl property of Person.
}


ASPX code for FileUpload

// 1) Defines the FileUpload tag-helper
<FileUpload ID="FU1" runat="server" SkinStyle="SimpleGrey">
     <DataPropertyName Name="PictureUrl" DataType="FileUrl" />
</FileUpload>


Related Topics :


Irwsoft Data Ultimate Edition 4.0 supports data-schema extension (entity framework, linq to sql, simple class, and etc).