I have solved an earlier problem which I posted here, about coding Data
Source in OleDbConnection - I am new to ASP.Net. I do not understand the
solution, I just blindly followed the book (Teach Yourself ASP.NET in 21
Days), and guessed, and it worked.
When OleDbConnection is used to connect to a database, ASP.NET appears to
expect a client source, not a Web server reference. I just coded
c:\WWWRoot\.... and it worked.
Does this mean that ASP.NET downloads a database, like HTML pages are
downloaded, and then uses the actual client? I find such a concept to be
unbelieveable, or does ASP.NET download only a database definition? In any
case it is dangerous to download anything to the client regarding a database
due to security.
I expected the Web server to handle the data query and only generated HTML,
including the data query or update message, to be downloaded to client, and
the client to have no knowledge about the database. Therefore, I find it
difficult to understand why a harddrive reference should be included
anywhere in database connection code.
Code: dbStr="c:wwwroo t\...", objConnection = New
OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;" _
& " Data Source=" & dbStr & ";")
I would be grateful for any clarification on this?
Trevor 1 1553
Trevor Hi,
OleDBConnection class is part of the CLR classes and it can be used on
the SERVER side to generate HTML that will be sending to the client. So
the local path is the server local path. Neither the OLEDBConnection
will happened on the client machine nor the DB will be download to the
client.
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Filippo |
last post by:
Hi,
i have a problem about the CLIENT-SERVER architecture procedure.
Well , i have an application in VB with ADO connection to a table in a
database on a SQLSERVER 7.0 .
Is possible to do that when a client updates a data in a field of my table ,
the SERVER communicates to all clients connected to my table that this data
are updated , without the client do anything , for example without a
client-timer to control the data in the server ???...
|
by: Anon Email |
last post by:
Hi people,
I'm learning about header files in C++. The following is code from
Bartosz Milewski:
// Code
const int maxStack = 16;
class IStack
|
by: Me |
last post by:
I need to build a tool to map data from various database schemas into a
system I have built. I need to be able to allow the clients of my software
to use a tool to map data in their database with the data columns that my
software works with. In other words, I have some software but am not sure
what type of database system and data format the users of my software will
have, so I need a tool that allows them to map their existing structure...
|
by: Jim H |
last post by:
I have a UDP socket that sends out a request on a multicast socket and waits
for a response. This client is not listening on a multicast IP but the
local IP. The server (UNIX) responds to the sender's IP. Using debug files
on the server I see the server receive the request from my application on my
machine and I see the server send to the correct IP and port of my machine,
but the ReceiveFrom never returns with any data. If I have a...
|
by: John Lafrowda |
last post by:
Dear all,
here is a simple problem that I cannot overcome:
I'm trying to write a client/server application in Visual Basic .net. The
server is an executable (.exe) project, the clients are class library (.dll)
projects. The server loads the clients from their DLL-files at runtime using
reflection tools, such as:
ClientAssembly =
System.Reflection.Assembly.LoadFrom(Client_To_Load_File_Name)
| |
by: Asus |
last post by:
Hello,
I'm new to Web Services.
I'm trying to develop a Web Service that retrieves some data out of a
database and sends them to the client as a DataSet when a method is invoked.
My question is: Is it possible to run another method on the Web Service
automatically to refresh the data? That means the Web Service should interact
as a Windows Service after a certain amount of time it should retrieve the
data and stores them locally, and...
|
by: E.T. Grey |
last post by:
Hi,
I have an interesting problem. I have a (LARGE) set of historical data
that I want to keep on a central server, as several separate files. I
want a client process to be able to request the data in a specific file
by specifying the file name, start date/time and end date/time.
The files are in binary format, to conserve space on the server (as well
as to increase processing time). The data in each file can be quite
large, covering...
|
by: Timothy.Rybak |
last post by:
Hello all,
This is my first attempt at an application, so kid gloves are
appreciated.
I need to make a very simple form that only has a few elements. One is
TraceCode - a text field that is populated when a user scans a label.
The other is ScanDate - a date/time field that should equal the
date/time of the scan (e.g. 7/31/2006 5:00:00 AM).
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |