Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: processing parameters??


Message #1 by "Yu, Kevin" <kyu@N...> on Wed, 10 Oct 2001 16:24:27 -0400
hi. 

I have some questions on passing parameters from one aspx page to another or

itself.

say I have a datalist from the database like this:



<form id="timesheet" method ="post" action="post.aspx"  runat="server">

<asp:datalist align ="center" id="projects" layout="flow" showfooter=true

repeatcolumns="1" borderwidth="0" runat="server">

<ItemTemplate>			

			<tr>

			<td width = "20%" valign=top><b><%#

DataBinder.Eval(Container.DataItem, "projid") %></td>

			<td width = "70%"><%#

DataBinder.Eval(Container.DataItem, "title") %></td>

			<td width = "10%"><asp:textbox id ="WorkHours" value

= "0.0" runat="server"/></td>

			</tr>

</ItemTemplate>

</asp:datalist>

<asp:button id="post' runat ="server" text="Post"/>

</form>

in the asp:textbox section, after the user enter the time values and click

the POST button and submit the time reports.



how to grab all the values and process them on the "post.aspx"?





Kevin Yu

system.data.oledb

coop student

Western Research Center - Natural Resource Canada

email: kyu@n...

phone:(780) 987-8611




  Return to Index