yardleybates
05-12-2004, 01:29 PM
Trying to avoid the words "Help" and "Newbie" but I am just starting out at trying to convert .asp pages to .NET and .aspx and I am really not doing so well so far.
I have 2 events in my c# code behind on my aspx page.
The Page_Load and the Submit_Click
I have all the data loading in the Page_Load surrounded by
if(!IsPostBack) {}
And yet when I click on the button it seems as though the page just reloads and doesn't actually do any of the things I am asking it to in the Submit_Click. I have tried adding a Response.Write and a Label text set and am getting no visible response.
Response.Write("Give me a break");
Label1.Text="Testing label text set";
Thanks as always for any help. This is the best forum and people always are so helpful (thank goodness):p
I have 2 events in my c# code behind on my aspx page.
The Page_Load and the Submit_Click
I have all the data loading in the Page_Load surrounded by
if(!IsPostBack) {}
And yet when I click on the button it seems as though the page just reloads and doesn't actually do any of the things I am asking it to in the Submit_Click. I have tried adding a Response.Write and a Label text set and am getting no visible response.
Response.Write("Give me a break");
Label1.Text="Testing label text set";
Thanks as always for any help. This is the best forum and people always are so helpful (thank goodness):p