如何将DataTable转换成List<T>
1个回答
展开全部
动态生成的控件:Private Sub UserControl1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim myPicture = New System.Windows.Forms.PictureBox() Me.Panel3.Controls.Add(myPicture) myPicture.Size = New System.Drawing.Size(115, 160) myPicture.TabStop = False myPicture.Name = "p" myPicture.Cursor = Cursors.Hand AddHandler myPicture.Click, AddressOf mypic_Click '添加事件 End Sub 处理事件的过程:Private Sub mypic_Click() 'ByVal id As String Dim bookInfo As New BookInfo bookInfo.Show() Me.Parent.Enabled = False
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询