Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 9th, 2007, 06:50 AM
Authorized User
Join Date: Jan 2007
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default DotNet Desktop Application with Oracle

I m using Oracle 10g with DotNet framework 1.1 for developing desktop application. I hav a problem that my application is using to much space. I m using Direct Queries instead of StoreProcedures. I m closing and disposing connection object but problem is still there. Please help me in this matter.

Ali Irfan
Old January 10th, 2007, 02:45 AM
Friend of Wrox
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts

It is difficult to say without seeing your sample code. If the DotNet Framework has a trace feature use it, in order to give incite into the culprit. When the oracle connection is established and open is the entire database read or selected tables in the oracle database? This, your issue, my be the reason why Oracle suggest using the JDeveloper Edition with 10g.

Hope this helps.
Old January 10th, 2007, 06:22 AM
Registered User
Join Date: Dec 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Mr. Ali Irfan please send me the whole code and also description of your actual problem and have u any speed problem

Old January 17th, 2007, 01:38 AM
Authorized User
Join Date: Jan 2007
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84

This is my sample code for Select Query. I wonder inspite of all these actions why it is taking to much space in memory(RAM). Also it think so that JDeveloper version for dotnet is in Dotnet2.0 not in 1.1. If so then please do inform me. Thanks

        Conn = Objconn.OleDb_SQL_Connection;

            ObjCmd = Entity.Get_All(); // interface
            ObjCmd.Connection = Conn;

            OleDbDataAdapter da = new OleDbDataAdapter(ObjCmd);

            DataSet DS = new DataSet();

            ObjCmd.Connection = null;

            DataView DV = new DataView(DS.Tables[0]);

            DS = null; //null
            da = null; //null
            Objconn.Dispose(); //null
            Conn.Close(); //null
            Conn.Dispose(); //null
            Conn = null; //null
            ObjCmd = null; //null

            return DV;

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big Desktop Database Application abhijitbk WinForms/Console Application Design 0 July 24th, 2008 07:54 AM
security for Desktop application mattphung Pro VB.NET 2002/2003 5 May 30th, 2008 12:32 PM
TopMost Dialog for Application not Desktop? Raeldor C# 1 November 15th, 2007 03:45 PM
how to use css in C#(desktop application) ahmad_diab85 C# 1 December 28th, 2006 12:56 PM
Connect desktop application to the server vinodkalpaka J2EE 0 June 20th, 2005 03:14 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.