473,324 Members | 2,196 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,324 software developers and data experts.

TimesTen with C# or .NET Framework

zw
Hi

I like to use C# within 2.0 .NET Framework to connect application to
TimesTen DB.
But it looks like there's no such support for this.
Questions

1- Is there a way to integrate C# application code to use with JDBC
for TimesTen DB connection ?
2 - I'm new to .NET, so is it possible to integrate C# application
code to use with ODBC
for TimesTen DB connection ?

Any help is appreciated.

Advance Thanks

Feb 5 '07 #1
4 5737
zw wrote:
Hi

I like to use C# within 2.0 .NET Framework to connect application to
TimesTen DB.
But it looks like there's no such support for this.
Questions

1- Is there a way to integrate C# application code to use with JDBC
for TimesTen DB connection ?
2 - I'm new to .NET, so is it possible to integrate C# application
code to use with ODBC
for TimesTen DB connection ?

Any help is appreciated.

Advance Thanks
You can use the classes in System.Data.Odbc to connect using ODBC.

--
Göran Andersson
_____
http://www.guffa.com
Feb 5 '07 #2
zw wrote:
I like to use C# within 2.0 .NET Framework to connect application to
TimesTen DB.
But it looks like there's no such support for this.
Questions

1- Is there a way to integrate C# application code to use with JDBC
for TimesTen DB connection ?
2 - I'm new to .NET, so is it possible to integrate C# application
code to use with ODBC
for TimesTen DB connection ?
If it does not have to be free, then look at:

http://www.tankardsoft.com/

Arne
Feb 10 '07 #3
zw
On Feb 5, 5:07 pm, Göran Andersson <g...@guffa.comwrote:
zw wrote:
Hi
I like to useC#within 2.0 .NET Framework to connect application to
TimesTenDB.
But it looks like there's no such support for this.
Questions
1- Is there a way to integrateC#application code to use with JDBC
forTimesTenDB connection ?
2 - I'm new to .NET, so is it possible to integrateC#application
code to use with ODBC
forTimesTenDB connection ?
Any help is appreciated.
Advance Thanks

You can use the classes in System.Data.Odbc to connect using ODBC.

--
Göran Andersson
_____http://www.guffa.com- Hide quoted text -

- Show quoted text -
Can someone include a sample code using System.Data.Odbc with TimesTen
DB ?
Oracle told me that TimesTen doesn't have support for this.
What's the workaround if C# has to be used. Any advice ?
No $ to purchase 3rd party data provider.

Feb 16 '07 #4
zw wrote:
On Feb 5, 5:07 pm, Göran Andersson <g...@guffa.comwrote:
>You can use the classes in System.Data.Odbc to connect using ODBC.

Can someone include a sample code using System.Data.Odbc with TimesTen
DB ?
Oracle told me that TimesTen doesn't have support for this.
What's the workaround if C# has to be used. Any advice ?
..NET supports ODBC.

TimesTen supports ODBC.

The obvious conlcusion is that .NET can use TimesTen via ODBC.

There are no tricks necessary !

Code example:

using System;
using System.Data.Odbc;

public class MainClass
{
public static void Main(string[] args)
{
OdbcConnection con = new OdbcConnection("Dsn=TestTimesTen;");
con.Open();
OdbcCommand cmd = new OdbcCommand("SELECT * FROM t1", con);
OdbcDataReader rdr = cmd.ExecuteReader();
while(rdr.Read()) {
int f1 = (int)rdr[0];
string f2 = (string)rdr[1];
Console.WriteLine(f1 + " " + f2);
}
con.Close();
}
}

Speak about straightforward code !

Arne
Feb 18 '07 #5

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

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
0
by: Rujuta Gandhi | last post by:
Hi All, I used the OdbcConnection, OdbcCommand.ExecuteNonQuery() to update the timesten database. It gives the following error. ERROR Driver does not support this function Eventhough it...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: gunsupancar | last post by:
is there any module to access TimesTen in-memory database using python?
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.