Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
Public Sub createMyTable() Dim rowCtr As Integer Dim cellCtr As Integer Dim t As TextBox Dim rowCnt As Integer = tblDashboard.Rows.Count If rowCnt < Session("NewCntRow") Then rowCnt = Session("NewCntRow") End If For rowCtr = 1 To rowCnt Dim tRow As New TableRow tRow.Height = 50 Me.tblDashboard.Rows.Add(tRow) Session("NewCntRow") = tblDashboard.Rows.Count For cellCtr = 0 To tblDashboard.Rows(0).Cells.Count - 1 t = New TextBox 't.EnableViewState = True 't.ID = "txt" & cellCtr Dim tCell As New TableCell tRow.Cells.Add(tCell) tRow.Cells.Item(cellCtr).Controls.Add(t) Next ViewState("TableRow") = True Next End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.