Visual Basic .NET » Database Programming
Paging values from one form template to another form insert template -- captsisko --


Hello I am learning asp.net c# and visual web developer after doing java. I have made a database where I enter values in one form and after pressing insert the information is suppose to go to a database and a second page I set the properties in the insert command for postback url. It goes to another page but my values are not being displayed, I have tried session variables and other things but apparently , I am just not getting it, please can anyone help me.
Here is an example of the code that I use for the first page.

pca_code:
CommandName="Cancel"
Text="Cancel">
CommandName="Insert"
Text="Insert" OnClick="InsertButton_Click"
CommandArgument='<%# Eval("pca_code") %>'
PostBackUrl="~/Code.aspx?trialCode=44" >

This is not all of the code but I am trying one box at a time I am trying to bring pca_code over to the other page Next page

order_number:
pca_code:


fund_code:

CausesValidation="False" CommandName="Cancel"
Text="Cancel">


pretty much the same thing, two textbox ID with the same name different pages. Can someone suggest to me a good example site or code of how to do this, please remember I am not familiar with asp language very much but we are also doing this in C#
Thank you,

[Submit Comment]Home