I'm used that code there don't work. i mean at designtime OK, but when i builded no error but don't work .
<System.ComponentModel.Description("the columns of the datagridview in this user control"), System.ComponentModel.Editor("System.Windows.Forms.Design.DataGridViewColumnCollection, System.Design", GetType(Drawing.Design.UITypeEditor)), System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.ComponentModel.Category("Misc")> Public ReadOnly Property Columns() As DataGridViewColumnCollection
Get
Return Me.DataGridView_Search.Columns
End Get
End Property
<System.ComponentModel.Description("the columns of the datagridview in this user control"), System.ComponentModel.Editor("System.Windows.Forms.Design.DataGridViewColumnCollection, System.Design", GetType(Drawing.Design.UITypeEditor)), System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationVisibility.Content), System.ComponentModel.Category("Misc")> Public ReadOnly Property Columns() As DataGridViewColumnCollection
Get
Return Me.DataGridView_Search.Columns
End Get
End Property