I want to allow user to upload word document. When they hit the submit button I want that document stored in database table. I have one table (users) with a field called files. Currently, I'm using DAL to insert users and location data into my users table. I've included the FileUpload control but I need help to program it. Thanks
DAL:
INSERT INTO dbo.users(users, location)
VALUES
(@users, @location)
.CS
protected void btnStoreUsers_Click(object sender, EventArgs e)
{
string location= location.text;
string users= users.text;
int success = 0;
success = (int)ApplicationBLL.InsertUsers(users, location);
}
...
Go to the complete details ...