aspx_beginners thread: 'DataSource' is not a member of 'System.Web.UI.WebControls.Label'
This is in reference to page 79. It does not like the line:
Line 18: objCommand = New OleDbDataAdapter(strCommand,objConnection)
Line 19: objCommand.Fill(DataSet1,"employee")
Line 20: DataGrid1.DataSource=DataSet1.Tables("employee").DefaultView
Line 21: DataGrid1.DataBind()
Line 22: End Sub
The line in question is line 20. It is complaining that DataSource is
not a member of DataGrid. Anyone's help would be appreciated.
Allen Scott Gerner
agerner@a...
(732) 531 - 3036
"GREAT MINDS DISCUSS IDEAS,
AVERAGE MINDS DISCUSS EVENTS,
SMALL MINDS DISCUSS PEOPLE."
- Eleanor Roosevelt