At a time save data in database and display what i am selecting data in another page

Posted by Mandlaa under ASP.NET on 5/4/2013 | Points: 10 | Views : 807 | Status : [Member] | Replies : 8
Hi anybody help me,
I am trying to save and display at a time
I am atteaching my sample one i want click button save and display that data what i am selecting in that fields another page
please help me




Responses

Posted by: Kmandapalli on: 5/6/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

In the button click event write the code for saving the details entered and at last i mean at the end of the code write Response.Redirect("WebForm2.aspx");
In the pageload of Webform2, bind the data and display it.

Regards,
Shree M.

Kavya Shree Mandapalli

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 5/6/2013 [Member] Starter | Points: 25

Up
0
Down
tHANKS FOR REPLYING,
At the time of data displying data in a html page Not for aspx it's possible?
can you give me the example?

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kmandapalli on: 5/6/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

I did not get you.

Regards,
Shree M.

Kavya Shree Mandapalli

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 5/6/2013 [Member] Starter | Points: 25

Up
0
Down
save the data in database is ok,
After saving the data in database and displaying data not use WEBFORMS use Htmlpage

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kmandapalli on: 5/6/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

Response.Redirect("Page1.html");

Regards,
Shree M.

Kavya Shree Mandapalli

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 5/6/2013 [Member] Starter | Points: 25

Up
0
Down
how to display data with images in html pages?
give example

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kmandapalli on: 5/6/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

In the html page, tale a label or textbox control depending on your requirement.
<input Label ID="lblName" />
go to the .cs page,
bind the value of Name from the table to this label.
For suppose, if your table name is Details,
In the pageload, write
Details objdtls = new Details();
lblName.Text=objdtls.Name;

declare all the fields in the same manner....

Mark as Answer if satisfied....

Regards,
Shree M.

Kavya Shree Mandapalli

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mandlaa on: 5/6/2013 [Member] Starter | Points: 25

Up
0
Down
Hi, Suppose I am taking html page there is no .cs files and where is pagelod in html page?

Mandlaa, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response