Why does my save use the initial value of my TextBox and not the entered value?

前端 未结 6 1455
遥遥无期
遥遥无期 2021-01-01 16:19

I have a textbox on my website:


On page l

6条回答
  •  情深已故
    2021-01-01 16:57

    Check if the page is in postback otherwise the value will be replaced before the save

    If(!IsPostBack){
        Latitude.Text = thisPlace.Latitude;
    }
    

提交回复
热议问题