Wednesday, December 8, 2021

Asp.Net AccessDataSource control in asp.net

 <asp:AccessDataSource runat="server" ID="access" DataSourceMode="DataSet" 

                DataFile="~/Database4.mdb" SelectCommand="SELECT * FROM [Employee]"></asp:AccessDataSource>


if you want to connect microsoft access to .net, in gridview. Use asp:AccessDataSource(below is the screenshot of MS access table)




reference:- https://www.c-sharpcorner.com/uploadfile/raj1979/accessdatasource-control-in-Asp-Net-3-5/

https://www.msdotnet.co.in/2016/10/how-to-access-microsoft-access-database.html#.YbBX6dBBzIU

No comments:

Post a Comment