-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Jayant_Magic
Message 2 in Discussion
Hi Ramesh, Following is the Code for Connectivity with MMUMPS database: using
System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using InterSystems.Data.CacheClient;
using InterSystems.Data.CacheTypes; namespace OreillyCacheDemo
{
public partial class CacheDemo : Form
{
private CacheConnection CacheConnection; public CacheDemo()
{
InitializeComponent();
CreateCacheConnection(); } private void
CreateCacheConnection()
{
try
{
CacheConnection = new CacheConnection();
CacheConnection.ConnectionString =
"Server = localhost;"
+ " Port = 1972;"
+ " Namespace = USER;"
+ " Password = SYS;"
+ " User ID = _system;";
CacheConnection.Open();
}
catch (Exception CacheConnException)
{
MessageBox.Show(
"Create Cache Connection failed " +
CacheConnException.Message);
}
} For more Info you can visit the following Links:
http://www.windowsdevcenter.com/pub/a/windows/2006/03/28/oop-c-meets-cache.html
Trace all the Sub libnks in thuis link alos to get the complete details.
Hope all this Helps.
Regards Jayant Jindal Catch at: [EMAIL PROTECTED]
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]