Click here to Skip to main content
15,888,330 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: button style Pin
Paul Conrad13-Jul-07 13:05
professionalPaul Conrad13-Jul-07 13:05 
QuestionDecryting Passwords stored in aspnet_Membership table Pin
Vipul Mehta28-Jun-07 22:26
Vipul Mehta28-Jun-07 22:26 
AnswerRe: Decryting Passwords stored in aspnet_Membership table Pin
originSH29-Jun-07 0:15
originSH29-Jun-07 0:15 
AnswerRe: Decryting Passwords stored in aspnet_Membership table Pin
Vasudevan Deepak Kumar29-Jun-07 1:34
Vasudevan Deepak Kumar29-Jun-07 1:34 
QuestionGetting real sender of HelpRequested events Pin
m_g_a28-Jun-07 20:40
m_g_a28-Jun-07 20:40 
AnswerRe: Getting real sender of HelpRequested events Pin
Robert Rohde1-Jul-07 2:25
Robert Rohde1-Jul-07 2:25 
GeneralRe: Getting real sender of HelpRequested events Pin
m_g_a3-Jul-07 21:32
m_g_a3-Jul-07 21:32 
QuestionMemory leak issue. Pin
PSK_28-Jun-07 19:32
PSK_28-Jun-07 19:32 
Hi all,

I have created a scheduling service which runs all the time, I am having a query regarding following set of code.

private DataSet GetDataSet()<br />
            {<br />
                           <br />
                DataSet excelDataSet = new DataSet();<br />
                OleDbConnection excelConnection = new OleDbConnection(myConnectionString);<br />
                OleDbCommand excelCommand = new OleDbCommand(@"SELECT * FROM  " +fileName, excelConnection);<br />
                OleDbDataAdapter excelAdapter = new OleDbDataAdapter(excelCommand);<br />
<br />
                excelConnection.Open();<br />
                excelAdapter.Fill(excelDataSet);<br />
<br />
                if (excelConnection.State == ConnectionState.Open)<br />
                    excelConnection.Close();<br />
                <br />
                return excelDataSet;<br />
            }


Do I need to call dispose on OleDbDataAdapter and OleDbConnection connection object to avoid memory leaks or garbage collector will take care of this?

Regards,
Prakash Kalakoti

AnswerRe: Memory leak issue. Pin
nitikin29-Jun-07 0:21
nitikin29-Jun-07 0:21 
QuestionPowerCOllections OrderedList Pin
Santiago Perez28-Jun-07 7:52
Santiago Perez28-Jun-07 7:52 
QuestionAssembly loading - directories Pin
David Knechtges27-Jun-07 9:57
David Knechtges27-Jun-07 9:57 
QuestionRemoting: Switching between MBR and MBV at run-time. Pin
Andy L 226-Jun-07 23:15
Andy L 226-Jun-07 23:15 
AnswerRe: Remoting: Switching between MBR and MBV at run-time. Pin
nitikin29-Jun-07 0:27
nitikin29-Jun-07 0:27 
GeneralRe: Remoting: Switching between MBR and MBV at run-time. [modified] Pin
Andy L 229-Jun-07 6:00
Andy L 229-Jun-07 6:00 
GeneralRe: Remoting: Switching between MBR and MBV at run-time. Pin
nitikin1-Jul-07 23:36
nitikin1-Jul-07 23:36 
GeneralRe: Remoting: Switching between MBR and MBV at run-time. Pin
Andy L 23-Jul-07 10:01
Andy L 23-Jul-07 10:01 
QuestionProblem in converting WinHelp to HTML Help [modified] Pin
asha_cybergirl26-Jun-07 22:36
asha_cybergirl26-Jun-07 22:36 
QuestionCommon DLL storage Pin
tri59525-Jun-07 23:22
tri59525-Jun-07 23:22 
AnswerRe: Common DLL storage Pin
Manas Bhardwaj25-Jun-07 23:42
professionalManas Bhardwaj25-Jun-07 23:42 
GeneralRe: Common DLL storage Pin
tri59525-Jun-07 23:46
tri59525-Jun-07 23:46 
GeneralRe: Common DLL storage Pin
Vasudevan Deepak Kumar29-Jun-07 1:42
Vasudevan Deepak Kumar29-Jun-07 1:42 
QuestionHow to Activate A Control Added to Desktop Pin
Nagaraju_Focus25-Jun-07 20:43
Nagaraju_Focus25-Jun-07 20:43 
QuestionData connection wizard Pin
lildiapaz25-Jun-07 15:03
lildiapaz25-Jun-07 15:03 
AnswerRe: Data connection wizard Pin
nitikin2-Jul-07 1:27
nitikin2-Jul-07 1:27 
QuestionMemory management and memory leaks Pin
Giorgi Dalakishvili25-Jun-07 8:55
mentorGiorgi Dalakishvili25-Jun-07 8:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.