Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP.NET (http://www.go4expert.com/forums/asp-net/)
-   -   How to retrieve an Ms Access table using ASP.NET-C# wch should get open in Ms Access (http://www.go4expert.com/forums/retrieve-ms-access-table-using-aspnet-c-t22024/)

Reitha G Nair 7May2010 00:01

How to retrieve an Ms Access table using ASP.NET-C# wch should get open in Ms Access
 
please Help,
I hav created one web form using ASP.NET-C# and database Mhe s Access 2007. I did save my database in .mdb format.
i want to open a particular table from the database in a button click. The codes i have written s working fine to open the complete database

protectedvoid btnOk_Click(object sender, EventArgs e)
{
Process mProcess = newProcess();
mProcess.StartInfo.FileName =
"D:\\Trade Enquiry Management System\\App_Data\\TenderEnquiryManagementSystem.md b";
mProcess.StartInfo.WindowStyle =
ProcessWindowStyle.Normal;
mProcess.StartInfo.CreateNoWindow =
true;
mProcess.Start();
mProcess.WaitForExit();
if (!mProcess.HasExited)
{
mProcess.Kill();
}
mProcess.Close();
}


Bt i want to open a table 'Enquiry' under TenderEnquiryManagementSystem.mdb
Any body ll pls help me to get the code for that?????

Thanq
Reitha

satyedra pal 7May2010 12:23

Re: How to retrieve an Ms Access table using ASP.NET-C# wch should get open in Ms Acc
 
MSAccess table can be access in ASP.Net also by using oledb database provider.Oledb is used on the place of process with its coding.


All times are GMT +5.5. The time now is 21:11.