Tuesday 2 February 2010

iron speed: upload a file to file system and save the location in database...[phase two]

Now let us talk a bit about save button. As I was checking the code behind I saw the onclick event handler for save is calling a method named SaveButton_Click_Base(). This is the method from where the data is posted into the DB. The first thing that I noticed is the method is in a section called Do not modify the Section. Here I go again, falling in place where I have to do a prohibited thing with small calibre of knowledge I got..... As you can see there are four string type variables. They are

  • TargetKey
  • DFKA
  • Id
  • value

A Response.Redirect command will unfold what values each of them hold.

No comments: