【问题标题】:how to display the the selected cell value to textbox1 and textbox2?如何将选定的单元格值显示到 textbox1 和 textbox2?
【发布时间】:2010-12-20 06:30:39
【问题描述】:

我已将gridview1 中的票价字段转换为显示票价|如下图所示的同一单元格中的座位...

我希望当用户选择/单击预订按钮行时,票价金额将显示在 textbox1 中,座位将显示在 Textbox2 中

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
    Textbox1.text=GridView1.SelectedRow.Cells(6).TextToString
End Sub

【问题讨论】:

    标签: asp.net vb.net gridview


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2013-02-22
      • 1970-01-01
      • 2013-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多