标签:datagridview 重构
在刚刚敲机房的时候遇到的问题就是DataGridView控件显示数据。好在被我解决了,好开心。下面分三部分来写这篇博客。
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged LevelToolStripTextBox.Text = ComboBox1.SelectedItem.ToString() Try Me.User_InfoTableAdapter.FillBy1(Me.Charge_sysDataSet.user_Info, LevelToolStripTextBox.Text) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load DataGridView1.AllowUserToAddRows = False End Sub
【机房重构】——使用DataGridView控件轻松显示数据(一)
标签:datagridview 重构
原文地址:http://blog.csdn.net/luckystar689/article/details/45154433