Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-27-2004
victorchan victorchan is offline
Registered User
 
 
Join Date: Sep 2004
Posts: 4
How can I connect to MSSQL With ICE?

HI all,

I am going to use C# with ICE to develop an application run on Window 2003 with MSSQL.

My client side need to pass query to server and receive dataset from server.

But I don't know how to pass dataset to client side In client.ice.

I had study the forums Posts and most of them are related to "FREEZE".
Is that means I can connect to MSSQL by using FREEZE class?

Can i pass Datasets by using ICE?

Can anyone point a way to me to do that?

Thanks a lot!

Last edited by victorchan : 09-27-2004 at 04:58 AM.
Reply With Quote
  #2 (permalink)  
Old 09-27-2004
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Freeze helps persist Ice objects (Ice class instances) in a Berkeley DB database, and has nothing to do with passing objects "over the wire".

> My client side need to pass query to server and receive dataset from server.

You need define a Slice version of your query and dataset, implement it in your server and use it in your client. For example:

typedef sequence<string> Rows;

interface SqlDb
{
Rows selectQuery(string query);
};

Cheers,
Bernard
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Connect with Internet richard Help Center 4 10-10-2006 02:08 AM
[help]how to connect a server by ip? joise Help Center 5 06-30-2006 06:11 AM
connect question yxt Help Center 0 09-02-2005 06:33 AM
Connect failed HELP! alesio Help Center 1 02-24-2004 07:06 AM
::connect failure diddek Help Center 2 01-26-2004 03:01 PM


All times are GMT -4. The time now is 10:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.