473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

remoting and database access

Hi there,

I developed a client server model. The server is
connected to a database and I see the contents of the
database. I have a Class Library which the Server
referenced to. Furthermore I have an interface which
should communicate with the client for data exchange.

How can I access the data from the database from the
Windows Apllication to the Class Library?

Thanks a lot for your help.
Chris

Class Library

using System;
using IRemoteServer;

namespace BankClassLibrary
{
/// <summary>
/// Summary description for Class1.
/// </summary>public class
BankDetailsClassLibrary : MarshalByRefObject,
RemoteInterface
{
public BankDetailsClassLibrary()
{
//
// TODO: Add constructor logic
here
//
}

private string b_bankid = "";

public string B_bankid
{
get
{
return b_bankid;
}
set
{
b_bankid = value;
}
}
}
Jul 19 '05 #1
1 1385
how about this:
http://www.dotnetbips.com/displayarticle.aspx?id=213

or this:
http://www.dotnetbips.com/displayarticle.aspx?id=208

The latter includes source code for doing Remoting in a multi-tiered app.
"chris" <ch*********@hotmail.com> wrote in message
news:07****************************@phx.gbl...
Hi there,

I developed a client server model. The server is
connected to a database and I see the contents of the
database. I have a Class Library which the Server
referenced to. Furthermore I have an interface which
should communicate with the client for data exchange.

How can I access the data from the database from the
Windows Apllication to the Class Library?

Thanks a lot for your help.
Chris

Class Library

using System;
using IRemoteServer;

namespace BankClassLibrary
{
/// <summary>
/// Summary description for Class1.
/// </summary>public class
BankDetailsClassLibrary : MarshalByRefObject,
RemoteInterface
{
public BankDetailsClassLibrary()
{
//
// TODO: Add constructor logic
here
//
}

private string b_bankid = "";

public string B_bankid
{
get
{
return b_bankid;
}
set
{
b_bankid = value;
}
}
}

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
1
by: Ron L | last post by:
I am trying to setup a solution that will include a client which will access a database via remoting calls. I am hosting my remoting project in IIS, and am using Windows Integrated security. ...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
4
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
13
by: Ron L | last post by:
I am working on an application that is a front-end for a SQL database. While it is not an immediate requirement, the application will probably be required to be able to connect via the internet at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.