none
GridView1 內的 GridView2 的 select 如何設定 RRS feed

  • 問題

  • 我想在GridView1中放入GridView2並用用 select "選項" 叫出同一頁中另一個GridView3

            

    Protected Sub GridView1_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound

            For I = 0 To Me.GridView1.Rows.Count - 1
                Dim grd As GridView = CType(GridView1.Rows(I).Cells(9).FindControl("GridView2"), GridView)
                          Dim No As String = grd.SelectedDataKey.Value
                Label205.Text = grd.SelectedDataKey.Value

           Me.ShowMsg3(No3)

            Next

        End Sub

    2014年3月5日 下午 12:21

解答