S
Shanti
I was posting this at developer newsgroup with not much of response:
Does CF version of DataGrid have the 'DataMember' property?
There is a sample code in .NET Framework Class Library topic
"DataGrid.DataSource Property", which is given below:
Private Sub BindToDataSet(myGrid As DataGrid)
' Create a DataSet.
Dim myDataSet As New DataSet("myDataSet")
' Insert code to populate DataSet with several tables.
myGrid.DataSource = myDataSet
' Use the DataMember property to specify the DataTable.
myGrid.DataMember = "Suppliers"
End Sub 'BindToDataSet
When I try to enter last line in a SmartDeviceApplication, I get error
"DataMember is not a member of System.Windows.Forms.DataGrid". Why?
Does CF version of DataGrid have the 'DataMember' property?
There is a sample code in .NET Framework Class Library topic
"DataGrid.DataSource Property", which is given below:
Private Sub BindToDataSet(myGrid As DataGrid)
' Create a DataSet.
Dim myDataSet As New DataSet("myDataSet")
' Insert code to populate DataSet with several tables.
myGrid.DataSource = myDataSet
' Use the DataMember property to specify the DataTable.
myGrid.DataMember = "Suppliers"
End Sub 'BindToDataSet
When I try to enter last line in a SmartDeviceApplication, I get error
"DataMember is not a member of System.Windows.Forms.DataGrid". Why?