VB version example:
<% @ Page language = "vb"%>
ID = "AccessDataSource1" Runat = "server" DataSourceMode = "dataset" DataFile = "~ / app_data / northwind.mdb" SelectCommand = "Select Employeeid, Firstname, Lastname, Title from Employees" UpdateCommand = "Update Employees set firstname =?, lastname = ?, title =? where urgeyeid = @ EmployeeID asp: accessDataSource> ID = "GridView1" Runat = "server" AutogenerateColumn = "false" Datakeynames = "EmployeeID" AutogenerateEditButton = "true" DataSourceId = "AccessDataSource1"> columns> ask: GridView> form> Body> Html> ----------------------- The above examples come from Microsoft MSDN: http: //msdn2.microsoft.com/en-cn/library/system.Web.ui.WebControls.accessDataSource.aspx
ID = "AccessDataSource1"
Runat = "server"
DataSourceMode = "dataset"
DataFile = "~ / app_data / northwind.mdb"
SelectCommand = "Select Employeeid, Firstname, Lastname, Title from Employees"
UpdateCommand = "Update Employees set firstname =?, lastname = ?, title =? where urgeyeid = @ EmployeeID
asp: accessDataSource>
ID = "GridView1" Runat = "server" AutogenerateColumn = "false" Datakeynames = "EmployeeID" AutogenerateEditButton = "true" DataSourceId = "AccessDataSource1"> columns> ask: GridView> form> Body> Html> ----------------------- The above examples come from Microsoft MSDN: http: //msdn2.microsoft.com/en-cn/library/system.Web.ui.WebControls.accessDataSource.aspx
ID = "GridView1"
AutogenerateColumn = "false"
Datakeynames = "EmployeeID"
AutogenerateEditButton = "true"
DataSourceId = "AccessDataSource1">
columns>
ask: GridView>
form>
Body>
Html>
-----------------------
The above examples come from Microsoft MSDN: http: //msdn2.microsoft.com/en-cn/library/system.Web.ui.WebControls.accessDataSource.aspx