PDA

View Full Version : سوال: ارور این کد چیه حل نمیشه



mohadeseshad
پنج شنبه 03 دی 1394, 21:05 عصر
Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
DataGridView1.Rows.Item(index As integer).Cells(Cell Index As Integer).Value.ToString
مقدار = DataGridView1.Rows.Item( Index As Integer).Cells(Cell Index As Integer).Value
DataGridView1.Rows.Count.ToString()
DataGridView1.Columns.Count.ToString()
DataGridView1.Rows.Count.ToString()
DataGridView1.Columns.Count.ToString()
DataGridView1.Columns.Item(Row Index As Integer).HeaderText.ToString
:گریه::گریه: عنوان = DataGridView1.Columns.Item(Row Index As Integer).HeaderText
DataGridView1.CurrentRow.ToString()
DataGridView1.CurrentCell.ToString()
DataGridView1.SelectedCells.Count.ToString()
DataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect
Try
Me.Nomre_ResanTableAdapter.Fill(Me.Nomre_ResanData Set.Nomre_Resan)
Catch
MsgBox("Can not Find Database")
End Try
Console.ReadKey()

:افسرده: End Sub