![]() |
[HELP] - Is is possible to access MsAccess database from an html page?
Now lets see how this board is helpful ... =)
I have this problem in my thesis. I was thinking if it is possible to read, write, delete records in a MS Access database from an html page ... think it is possible ? Please direct me to a page that contains such info. Thanks |
|
thanks ... any more peeps want to lend a hand ?
|
Here is a simple way to display data from an Access DB using a 'DataReader' in VB.NET for an ASP.NET page.
PS -- Regular ASP is thing of the past. As for updating/deleting and such, buy a good book. 'ASP.NET Unleashed' is great. ===================== Imports System.Data.OleDb 'Note: First you need to import the System.Data.OleDb Class. 'Note: Then set the variables and complete the conn. Dim strConn As String = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\data\data1.mdb;" Dim strSQL As String = "Select * From table1" Dim Conn As New OleDbConnection(strConn) Dim Cmd As New OleDbCommand(strSQL, Conn) Conn.Open() 'Note: Then you can Bind to a Repeater, DataGrid, or any other control. Repeater1.DataSource = Cmd.ExecuteReader(System.Data.CommandBehavior.Clos eConnection) Repeater1.DataBind() ===================== I use Visual Studio.NET, but check in to ASP.NET Web Matrix -- It's a free tool by Microsoft to build ASP.NET Web Pages in C# or VB.NET. Also, check out SQL Server -- much better than Access. |
forget asp and access
move on to php and sql |
Why go with PHP when you can build web pages with:
C++ C# COBOL EIFFEL Jscript Python VisualBasic.NET ...And Many More. ASP.NET and XML Web Services are the MOST powerful things to hit the Internet -- ever. Trust me. Wait and see. The power once only seen in Desktop Applications is now right in an ASP.NET web page. |
all hail microsoft!
|
Quote:
|
and why would i need to harness the power of desktop applications into a webpage?
so i can make an online word processor? forget php/sql, i can do that with java. or perhaps an online graphics program? or an online web browser, where someone can open up IE, visit my webpage, and then surf the web thru my webpage. the possibilities are endless! |
Sorry guys -- I'm not going to argue the differences of Java, PHP and .NET.
:) Java is very solid, and PHP is a tight scripting language. I do use PHP on a regular basis, and we have some very hardcore Java programmers over at SitePass. If you just want to simply display/edit/delete simple data, I would use PHP. If I wanted to build a solid Web Application, I personally would use ASP.NET. |
cold fusion is also an option!
|
I never really got in to Cold Fusion that much -- but if it does the trick, cool :)
Can't forget about Perl now can we? :) |
Quote:
|
Quote:
If you are growing your traffic, good for you, but you might as well answer the question if you know whats up. It seems there is always someone on GFY that has the answer. There is also always someone on GFY who dosen't have the answer, just a bunch of bullshit to throw out. Here is my answer: Blackrose, if you want info on NT stuff, go to www.brainbuzz.com, they are a company located in the south and it seems their main focus is NT. They had a lot of MS developers and a huge knowlede DB. You will probably get any answers you need there very quick. If you get the chance, hit me up on ICQ. See you in Vegas, hopefully. :helpme |
Thanks Jason =)
It actually sucked a lot leaving you guys ... I have to agree you gave me some awesome service there especially with Andre ... but i just cant take the fuckups caused by Myles ... We could surely do business again in the near future ... and if time permits ... yes, ill see you in vegas =) Now, on my question ... the reason i need to know how is that im planning to use html in my baby thesis instead of using VB ... sure i know how to read/write from and mdb thru VB proggie ... but i want more interaction ... so i thought of using html ... ive also read somewhere that flash can access a mdb database ... but i wouldnt bother with flash ... just some simple html would do ... if possible =) |
Quote:
Blackrose , html cannot talk to a database, use asp, php, ssi, etc. You can write html and use the include to pull your database info out. php.net man , great new langauge that allows html to be dynamic - its amazing. Rory |
All times are GMT -7. The time now is 11:17 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123