Hi all ,
My datagrip is in a user control with other elements. Can I noe how do i set the datadrip's value so that i can have access to it later when i use the user control ?
:: my codes below ::
+ in my user control +
Private DataGridValue As DataSet
Property DataGridValue() As DataSet
Get
Return DataGrid1.DataS ource
End Get
Set(ByVal Value As DataSet)
DataGridValue = Value
DataGrid1.DataS ource = DataGridValue
End Set
End Property
+ the error message i get when i use the control +
Code generation for property '' failed. Error was :'Specified is not valid.'
Thank you in advance
My datagrip is in a user control with other elements. Can I noe how do i set the datadrip's value so that i can have access to it later when i use the user control ?
:: my codes below ::
+ in my user control +
Private DataGridValue As DataSet
Property DataGridValue() As DataSet
Get
Return DataGrid1.DataS ource
End Get
Set(ByVal Value As DataSet)
DataGridValue = Value
DataGrid1.DataS ource = DataGridValue
End Set
End Property
+ the error message i get when i use the control +
Code generation for property '' failed. Error was :'Specified is not valid.'
Thank you in advance