Click here to Skip to main content
15,922,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Jump to another ASPX page and run its class function of that ASPX page. Pin
N a v a n e e t h10-Jan-08 18:07
N a v a n e e t h10-Jan-08 18:07 
GeneralInsert images in to MySql database Pin
yadlaprasad10-Jan-08 9:13
yadlaprasad10-Jan-08 9:13 
GeneralRe: Insert images in to MySql database Pin
Pete O'Hanlon10-Jan-08 11:01
mvePete O'Hanlon10-Jan-08 11:01 
GeneralSomething broke (DataBind Gone Wild) Pin
Todd Smith10-Jan-08 8:18
Todd Smith10-Jan-08 8:18 
GeneralRe: Fixed Pin
Todd Smith10-Jan-08 9:33
Todd Smith10-Jan-08 9:33 
QuestionEnterprise library throws exception once a day: Invalid operation. The connection is closed Pin
HappyASPNETCoding10-Jan-08 7:46
HappyASPNETCoding10-Jan-08 7:46 
GeneralRe: Enterprise library throws exception once a day: Invalid operation. The connection is closed Pin
Pete O'Hanlon10-Jan-08 10:32
mvePete O'Hanlon10-Jan-08 10:32 
GeneralRe: Enterprise library throws exception once a day: Invalid operation. The connection is closed Pin
HappyASPNETCoding11-Jan-08 9:35
HappyASPNETCoding11-Jan-08 9:35 
Thanks for the reply, Pete.
My application uses ApplicationBlock code which takes care of connection open or close. I stepped into the ApplicationBlock code, just like the trace printed out during the exception, it goes to the DoLoadDataSet function. Here's snippet from that function

private void DoLoadDataSet(DbCommand command, DataSet dataSet, string[] tableNames)
{
using (DbDataAdapter adapter = GetDataAdapter(UpdateBehavior.Standard))
{
((IDbDataAdapter)adapter).SelectCommand = command;
adapter.Fill(dataSet);
}
}

Before and after adapter.Fill, the connection is always closed. Also, based on the stack trace, Enterprise library opens connection, fills dataset and close connection immediately. This is what I want, and it is working most of the day, except 1 exception a day.
GeneralMy ASP.NET DataGrid is not showing up in web page [modified] Pin
dyerstein10-Jan-08 7:02
dyerstein10-Jan-08 7:02 
QuestionUsing Outlook tasks and calendar in my ASP net web application Pin
Member 475670910-Jan-08 5:46
Member 475670910-Jan-08 5:46 
Generalcss styles Pin
solarthur0110-Jan-08 4:32
solarthur0110-Jan-08 4:32 
Generalgridview problem Pin
solarthur0110-Jan-08 3:02
solarthur0110-Jan-08 3:02 
GeneralRe: gridview problem Pin
Declan Bright10-Jan-08 3:06
Declan Bright10-Jan-08 3:06 
GeneralRe: gridview problem Pin
solarthur0110-Jan-08 3:19
solarthur0110-Jan-08 3:19 
GeneralCreate Image from html string Pin
Imran Khan Pathan10-Jan-08 1:29
Imran Khan Pathan10-Jan-08 1:29 
GeneralRe: Create Image from html string Pin
N a v a n e e t h10-Jan-08 1:35
N a v a n e e t h10-Jan-08 1:35 
GeneralRe: Create Image from html string Pin
Imran Khan Pathan10-Jan-08 1:56
Imran Khan Pathan10-Jan-08 1:56 
GeneralRe: Create Image from html string Pin
N a v a n e e t h10-Jan-08 2:06
N a v a n e e t h10-Jan-08 2:06 
GeneralRe: Create Image from html string Pin
Imran Khan Pathan10-Jan-08 2:18
Imran Khan Pathan10-Jan-08 2:18 
GeneralDisplay Msgbox Pin
Rinki Mukheraji10-Jan-08 0:47
Rinki Mukheraji10-Jan-08 0:47 
GeneralRe: Display Msgbox Pin
Declan Bright10-Jan-08 1:13
Declan Bright10-Jan-08 1:13 
GeneralRe: Display Msgbox Pin
Rinki Mukheraji10-Jan-08 1:23
Rinki Mukheraji10-Jan-08 1:23 
GeneralRe: Display Msgbox Pin
Declan Bright10-Jan-08 2:53
Declan Bright10-Jan-08 2:53 
Questionhow many characters does an hidden field holds Pin
jagan1239-Jan-08 23:50
jagan1239-Jan-08 23:50 
AnswerRe: how many characters does an hidden field holds Pin
N a v a n e e t h9-Jan-08 23:54
N a v a n e e t h9-Jan-08 23:54 

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.