remoting and database access

  • Thread starter Thread starter chris
  • Start date Start date
C

chris

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;
}
}
}
 
Back
Top