Click here to Skip to main content
16,006,535 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Sending Mail Problem Pin
Abhijit Jana15-Aug-09 21:35
professionalAbhijit Jana15-Aug-09 21:35 
GeneralRe: Sending Mail Problem Pin
pampam11015-Aug-09 21:51
pampam11015-Aug-09 21:51 
GeneralRe: Sending Mail Problem Pin
Parwej Ahamad15-Aug-09 22:00
professionalParwej Ahamad15-Aug-09 22:00 
AnswerRe: Sending Mail Problem Pin
mrcooll15-Aug-09 22:31
mrcooll15-Aug-09 22:31 
GeneralRe: Sending Mail Problem Pin
pampam11015-Aug-09 23:57
pampam11015-Aug-09 23:57 
AnswerRe: Sending Mail Problem Pin
Abhishek Sur16-Aug-09 6:26
professionalAbhishek Sur16-Aug-09 6:26 
QuestionUpload Files details into database VB code ASP.NET Pin
daffy_200315-Aug-09 17:52
daffy_200315-Aug-09 17:52 
AnswerRe: Upload Files details into database VB code ASP.NET Pin
Abhijit Jana15-Aug-09 20:28
professionalAbhijit Jana15-Aug-09 20:28 
daffy_2003 wrote:
But the thing is when i upload the file, i want the information of the file ( file size, time of upload, file name etc) to be auto updated into the database

When you are uoloading the file, you can easily do that. From PostedFile, you can get the FileName and FileSize . and when you are stroing it to database, just add a timestamp.

Like,
string strFileName=string.empty;
string strError=string.empty;
int FileLenght=0;
if (FileUpLoad1.HasFile)
{

FileUpLoad1.SaveAs(DestinationDir + FileUpLoad1.FileName);
strFileName =  FileUpLoad1.FileName ;
FileLenght = FileUpload1.PostedFile.ContentLength
//Store into Database
SaveFileDataInDB(strFileName,FileLength, DateTime.Now) // You need to implement this

}
else
{
strError = "Error...";
}

Note : This is C# Code. Hope you can do it in VB.NET Now Wink | ;)
Hope this will help you Big Grin | :-D

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
View My Latest Article

GeneralRe: Upload Files details into database VB code ASP.NET Pin
daffy_200315-Aug-09 21:11
daffy_200315-Aug-09 21:11 
GeneralRe: Upload Files details into database VB code ASP.NET Pin
Abhijit Jana15-Aug-09 21:23
professionalAbhijit Jana15-Aug-09 21:23 
GeneralRe: Upload Files details into database VB code ASP.NET Pin
daffy_200316-Aug-09 0:00
daffy_200316-Aug-09 0:00 
GeneralRe: Upload Files details into database VB code ASP.NET Pin
Abhijit Jana16-Aug-09 1:51
professionalAbhijit Jana16-Aug-09 1:51 
GeneralRe: Upload Files details into database VB code ASP.NET Pin
daffy_200316-Aug-09 4:20
daffy_200316-Aug-09 4:20 
Questionhow to bind one part of columns of a datasource by GridView? Pin
Seraph_summer15-Aug-09 7:49
Seraph_summer15-Aug-09 7:49 
AnswerRe: how to bind one part of columns of a datasource by GridView? Pin
Abhijit Jana15-Aug-09 11:43
professionalAbhijit Jana15-Aug-09 11:43 
AnswerRe: how to bind one part of columns of a datasource by GridView? Pin
Abhishek Sur15-Aug-09 12:18
professionalAbhishek Sur15-Aug-09 12:18 
Questionthe bound of gridview to a imagefield Pin
Seraph_summer15-Aug-09 7:41
Seraph_summer15-Aug-09 7:41 
AnswerRe: the bound of gridview to a imagefield Pin
Abhijit Jana15-Aug-09 8:57
professionalAbhijit Jana15-Aug-09 8:57 
GeneralRe: the bound of gridview to a imagefield Pin
Seraph_summer16-Aug-09 6:33
Seraph_summer16-Aug-09 6:33 
QuestionProblem while applying different styles to Menu items of ASP.Net Menu Control Pin
vikram_kul15-Aug-09 4:41
vikram_kul15-Aug-09 4:41 
AnswerRe: Problem while applying different styles to Menu items of ASP.Net Menu Control Pin
Parwej Ahamad15-Aug-09 21:56
professionalParwej Ahamad15-Aug-09 21:56 
Questiondynamic GridView with dataTable Pin
Bannoota15-Aug-09 4:19
Bannoota15-Aug-09 4:19 
AnswerRe: dynamic GridView with dataTable Pin
Abhijit Jana15-Aug-09 20:49
professionalAbhijit Jana15-Aug-09 20:49 
GeneralDynamic Data Update Problem Pin
Brady Kelly15-Aug-09 3:52
Brady Kelly15-Aug-09 3:52 
GeneralRe: Dynamic Data Update Problem Pin
Abhishek Sur15-Aug-09 12:39
professionalAbhishek Sur15-Aug-09 12:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.