Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to store value in an arrary

Status
Not open for further replies.

yosie2007

Technical User
Jun 23, 2007
46
US
I am trying to store in an arrary the value of plan ordered....I am wondering the below code will work. I am using vb.net . thanks


Sub PlanOrder()
Dim PlandOrder() As String = Request.getParameterValue("ID")
End Sub


<br />
<strong>Enter Number Of Plan Sets Needed For This Job:</strong><input id="Text1" type="text" name="plans" runat="server" /> <br />
<strong>Enter Number Of Proposals Needed For This Job:</strong><input id="Text2" type="text" name="proposal" runat="server"/><br />
<strong>Enter Number Of CD Version Needed For This Job:</strong><input id="Text3" type="text" name="cd" runat="server"/><br />
<input id="Text4" type="hidden" name="SpNo" runat="server" value='<%#DataBinder.Eval(Container, "DataItem.sp")%>' />
<br />
</tr>




 
yes, Sorry english is not my first language.
I did try to change it to the below code and still not working for me. I just try to save the number of plan, proposal and cd version ordered into an arrary consecutivel

Sub PlanOrder()
Dim PlandOrder() As String = Request.getParameterValue("ID")
End Sub



<ItemTemplate>

<tr>

<asp:Label ID="Label13" runat="server" Font-Italic="true" Font-Bold="true" Text="S.P. Number :" Width="100px"/><%#DataBinder.Eval(Container, "dataitem.sp")%> </br>
<asp:Label ID="Label14" runat="server" Font-Italic="true" Font-Bold="true" Text="Job Description: " Width="130px" /> <%#DataBinder.Eval(Container, "dataitem.desp")%></br>
<asp:Label ID="Label15" runat="server" Font-Italic="true" Font-Bold="true" Text="Job Location: " Width="130px"/> <%#DataBinder.Eval(Container, "dataitem.loc")%></br>
<asp:Label ID="Label12" runat="server" Font-Italic="true" Font-Bold="true" Text="Letting Date: " Width="100px"/> <%#DataBinder.Eval(Container, "DataItem.let")%> </br>

<br /> <br />
<strong>Enter Number Of Proposals Needed For This Job:</strong><asp:TextBox ID="plans" runat="server" /> </br>
<strong>Enter Number Of CD Version Needed For This Job:</strong><asp:TextBox ID="proposal" runat="server" /> </br>
<strong>Enter Number Of CD Version Needed For This Job:</strong><asp:TextBox ID="cd" runat="server" /> </br>
<asp:TextBox ID="sp" Visible="true" runat="server" value='<%#DataBinder.Eval(Container, "DataItem.sp")%>' />
<br />
</tr>

</ItemTemplate>

<SeparatorTemplate > <hr /></SeparatorTemplate>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top