Raju Posted March 28, 2003 Posted March 28, 2003 hi friends, how to get the column name of the datagrid....on mouse click........... Quote
Moderators Robby Posted March 28, 2003 Moderators Posted March 28, 2003 using the DataSet Tables to find out... This will work on any clicked cell Private Sub DataGrid1_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) messagebox.show(dataset1.Tables(0).Columns(Datagrid1.CurrentCell.ColumnNumber).ColumnName.ToString) End Sub Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.