Click here to Skip to main content
15,900,973 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionrebind parent grid from chield Pin
bikash pattanayak16-Mar-09 1:33
bikash pattanayak16-Mar-09 1:33 
AnswerRe: rebind parent grid from chield Pin
San0216-Mar-09 2:15
San0216-Mar-09 2:15 
AnswerRe: rebind parent grid from chield Pin
ToddHileHoffer16-Mar-09 5:02
ToddHileHoffer16-Mar-09 5:02 
Questionbest way to provide downloading of odd files on your website Pin
L Viljoen16-Mar-09 1:32
professionalL Viljoen16-Mar-09 1:32 
AnswerRe: best way to provide downloading of odd files on your website Pin
Vimalsoft(Pty) Ltd16-Mar-09 2:42
professionalVimalsoft(Pty) Ltd16-Mar-09 2:42 
GeneralRe: best way to provide downloading of odd files on your website Pin
L Viljoen16-Mar-09 2:48
professionalL Viljoen16-Mar-09 2:48 
Questioncan we add connection string in global.asax??? Pin
nkmkrishna16-Mar-09 0:59
nkmkrishna16-Mar-09 0:59 
AnswerRe: can we add connection string in global.asax??? Pin
San0216-Mar-09 1:04
San0216-Mar-09 1:04 
Yes! you can add connection string at Global.asax.

code of global.asax with Connection String:
---------------------------------------------------------------------------
]]>
]]>



void Application_Start()
{
//Connection string for SQL Server with trusted connection
Application.Add ("DB_CONNECTION_STRING","DRIVER={SQL Server};SERVER=ServerName;DATABASE=DataBaseName;Trusted_connection=yes;");
}

void Session_Start()
{
//open connection to database
OdbcConnection cnConnection = new OdbcConnection (Application.Get("DB_CONNECTION_STRING").ToString());
cnConnection.Open();
Session.Add ("DB_CONNECTION", cnConnection );
}

void Session_End()
{
//a graceful disconnect
OdbcConnection cnConnection = (OdbcConnection) Session["DB_CONNECTION"];
cnConnection.Close ();
}



~Sanjeev
Questionhow to upload multiple file using single file upload control? Pin
keyur satyadev16-Mar-09 0:51
keyur satyadev16-Mar-09 0:51 
AnswerRe: how to upload multiple file using single file upload control? Pin
Christian Graus16-Mar-09 1:02
protectorChristian Graus16-Mar-09 1:02 
GeneralRe: how to upload multiple file using single file upload control? Pin
San0216-Mar-09 1:10
San0216-Mar-09 1:10 
GeneralRe: how to upload multiple file using single file upload control? Pin
Christian Graus16-Mar-09 9:35
protectorChristian Graus16-Mar-09 9:35 
GeneralRe: how to upload multiple file using single file upload control? Pin
San0216-Mar-09 19:48
San0216-Mar-09 19:48 
Questionwhat is the best way Pin
prasadbuddhika16-Mar-09 0:44
prasadbuddhika16-Mar-09 0:44 
AnswerRe: what is the best way Pin
San0216-Mar-09 1:01
San0216-Mar-09 1:01 
GeneralRe: what is the best way Pin
prasadbuddhika16-Mar-09 1:27
prasadbuddhika16-Mar-09 1:27 
GeneralRe: what is the best way Pin
San0216-Mar-09 1:38
San0216-Mar-09 1:38 
Questionchanging the data type fields using asp.net Pin
a.stevens16-Mar-09 0:19
a.stevens16-Mar-09 0:19 
AnswerRe: changing the data type fields using asp.net Pin
Christian Graus16-Mar-09 0:36
protectorChristian Graus16-Mar-09 0:36 
GeneralRe: changing the data type fields using asp.net Pin
a.stevens16-Mar-09 14:22
a.stevens16-Mar-09 14:22 
QuestionNo overload for method error Pin
rakeshs31215-Mar-09 23:45
rakeshs31215-Mar-09 23:45 
AnswerRe: No overload for method error Pin
Christian Graus15-Mar-09 23:51
protectorChristian Graus15-Mar-09 23:51 
AnswerRe: No overload for method error Pin
Gaurav K Singh16-Mar-09 0:06
Gaurav K Singh16-Mar-09 0:06 
QuestionSilverlight concept.... Pin
Ch.Gayatri Subudhi15-Mar-09 23:32
Ch.Gayatri Subudhi15-Mar-09 23:32 
AnswerRe: Silverlight concept.... Pin
Christian Graus15-Mar-09 23:38
protectorChristian Graus15-Mar-09 23:38 

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.