Here is my code:
<%@ Page Language="VB" MaintainScrollPositionOnPostback="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Dim ttlPrice As Single Protected Sub GridView1_SelectedIndexChanged1(ByVal sender As Object, ByVal e As System.EventArgs) Dim sngID, sngPrice As Single Dim txtDescription, txtList As String sngID = GridView1.SelectedRow.Cells(1).Text() sngPrice = GridView1.SelectedRow.Cells(2).Text() txtDescription = Gridview1.SelectedRow.Cells(3).Text() ttlPrice = sngPrice + ttlPrice txtTotalPrice.Text = ttlPrice txtList = sngID & " " & txtDescription & " " & sngPrice txtMessage.Text = txtMessage.Text & vbCrLf & txtList End Sub
I hope you guys can help im real stuck with this!
Randall.

New Topic/Question
Reply




MultiQuote






|