473,586 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5749
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.Odb c 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.com wrote:
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#appl ication code to use with JDBC
forTimesTenDB connection ?
2 - I'm new to .NET, so is it possible to integrateC#appl ication
code to use with ODBC
forTimesTenDB connection ?
Any help is appreciated.
Advance Thanks

You can use the classes in System.Data.Odb c 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.Odb c 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.com wrote:
>You can use the classes in System.Data.Odb c to connect using ODBC.

Can someone include a sample code using System.Data.Odb c 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.Odb c;

public class MainClass
{
public static void Main(string[] args)
{
OdbcConnection con = new OdbcConnection( "Dsn=TestTimesT en;");
con.Open();
OdbcCommand cmd = new OdbcCommand("SE LECT * FROM t1", con);
OdbcDataReader rdr = cmd.ExecuteRead er();
while(rdr.Read( )) {
int f1 = (int)rdr[0];
string f2 = (string)rdr[1];
Console.WriteLi ne(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
2016
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 following errors are being dispayed 5:21:26 PM Error Message: OperationInstance: SoapException Stack Trace:...
3
20660
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 SDK (English) is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?
0
1507
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 gives the exception, when i check the database the row is updated as it is expected to be. One more thing, when I use ExecuteScalar
18
3020
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 from the world of 'agile development': stop making so many decisions and start writing some actual code!" -- Peter Hansen Scott David Daniels and...
6
2071
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 article: Microsoft Knowledge Base Article - 819267 INFO: HTTP GET and HTTP POST Are Disabled by Default ...
9
3193
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 questions are below... "David Good" wrote: > We have a network running both Win2k and Win2k3 webservers and our web sites > reside on a UNC network...
1
3490
by: gunsupancar | last post by:
is there any module to access TimesTen in-memory database using python?
3
6606
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
6633
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 Framework Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1...
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7841
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8204
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6617
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1184
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.