Click here to Skip to main content
15,903,856 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
daffy_2003 wrote:
however, when a new file is uploaded, the existing info in the gridview is being overwrite by the new one. Any idea how to not let it overwrite the previous data?

This is why, I guess you didnt check the IsPostback Property on Page_Load().
So when the Image is uploading, Page is getting postback and grid is binding with blank data.

Do something like this is Page_Load

if( ! Page.ISPostBack)
 {
  BindGrid();
 }


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

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 
GeneralRe: Dynamic Data Update Problem Pin
Brady Kelly15-Aug-09 20:34
Brady Kelly15-Aug-09 20:34 
QuestionInterface can be disturbed if javascript alert can be shown Pin
Nitinpro15-Aug-09 1:21
Nitinpro15-Aug-09 1:21 
AnswerRe: Interface can be disturbed if javascript alert can be shown Pin
Abhijit Jana15-Aug-09 2:18
professionalAbhijit Jana15-Aug-09 2:18 
GeneralRe: Interface can be disturbed if javascript alert can be shown Pin
Nitinpro15-Aug-09 4:45
Nitinpro15-Aug-09 4:45 

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.