PDA

Click to See Complete Forum and Search --> : error with datagrid protection level - help


sunshine123
May 8th, 2007, 03:39 AM
I get the following error

(129): 'System.Windows.Forms.DataGrid.CurrentRow' is inaccessible due to its protection level


please help me

jmcilhinney
May 8th, 2007, 03:54 AM
CurrentRow is not a public member. Have you considered answering the question I asked in your other threads?

sunshine123
May 8th, 2007, 04:02 AM
well....what should i do to make it work then...I've been struggling with this for a while...It is my datagrid....which is throwing this error.

havent had problem in Visual studio 2005, but now I'm using visual studio 2003...has it got anything to do with that

jmcilhinney
May 8th, 2007, 05:07 AM
I'm guessing that you were using a DataGridView in VB 2005. The DataGridView.CurrentRow property is public. The DataGridView doesn't exist in .NET 1.1 and the DataGrid.CurrentRow property is private.

I've asked a question in your other thread and I've prompted you to answer it in this thread, yet it still remains unanswered. If you really want help then I suggest you provide the information requested by those who are trying to help you.