Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim UPSCmdText As String = "SELECT name,custid,tracknum,street,city,state,zip,weight,emailaddress,refnumber1,refnumber2,cost,shipopt,returnopt,void,attn,satopt,substring(shipdate,5,2) + '/' + substring(shipdate,7,2) + '/' + substring(shipdate,0,5) as shipdate FROM ups_export WHERE ('" & session("number") & "' + 1000000 = custid)"
Dim UPSCmd As New SQLDataAdapter (UPSCmdText, myConnection)
Dim MDUPSInfo As DataSet
UPSCmd = New SqlDataAdapter(UPSCmdText, MyConnection)
MDUPSInfo = New DataSet()
myCommand4.Fill(MDUPSInfo,"[ups_export]")
UPSGrid.DataSource = MDUPSInfo.Tables("[ups_export]")
UPSGrid.DataBind
<asp:DataGrid id="UPSGrid" Font-Size="10" runat="server" autoGenerateColumns="False" CellSpacing="1" CellPadding="3" BackColor="#efefef" ForeColor="Black" EnableViewState="False">
<HeaderStyle font-bold="True" forecolor="black" backcolor="#efefef"></HeaderStyle>
<ItemStyle backcolor="#efefef"></ItemStyle>
<columns>
<asp:HyperLinkColumn
HeaderText="Tracking Number"
DataTextField="TrackNum"
DataNavigateUrlField="TrackNum"
DataNavigateUrlFormatString="[URL unfurl="true"]http://wwwapps.ups.com/WebTracking/processRequest?HTMLVersion=5.0&Requester=NES&AgreeToTermsAndConditions=yes&loc=en_US&tracknum={0}"[/URL]
target="_blank"
/>
<asp:BoundColumn
HeaderText="Ship Date"
DataField="shipdate"
/>
<asp:BoundColumn
HeaderText="Ship Option"
DataField="ShipOpt"
/>
<asp:BoundColumn
HeaderText="Description 1"
DataField="refNumber1"
/>
<asp:BoundColumn
HeaderText="Description 2"
DataField="RefNumber2"
/>
<asp:BoundColumn
HeaderText="Return Label?"
DataField="ReturnOpt"
/>
<asp:BoundColumn
HeaderText="Voided?"
DataField="Void"
/>
</columns>
</asp:DataGrid>