Click here to Skip to main content
15,914,386 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: where I must(should) use Forms authentication Pin
Siva Rama Raju31-Jan-07 20:32
Siva Rama Raju31-Jan-07 20:32 
GeneralRe: where I must(should) use Forms authentication Pin
indian14331-Jan-07 20:57
indian14331-Jan-07 20:57 
GeneralRe: where I must(should) use Forms authentication Pin
Pete O'Hanlon1-Feb-07 9:18
mvePete O'Hanlon1-Feb-07 9:18 
GeneralRe: where I must(should) use Forms authentication Pin
indian1431-Feb-07 17:51
indian1431-Feb-07 17:51 
GeneralRe: where I must(should) use Forms authentication Pin
Pete O'Hanlon1-Feb-07 22:23
mvePete O'Hanlon1-Feb-07 22:23 
GeneralRe: where I must(should) use Forms authentication Pin
indian1431-Feb-07 22:37
indian1431-Feb-07 22:37 
Questionsql connection string Pin
niki_nilu31-Jan-07 19:52
niki_nilu31-Jan-07 19:52 
AnswerRe: sql connection string Pin
varshavmane31-Jan-07 20:04
varshavmane31-Jan-07 20:04 
Try doing this:
In the Class define 2 variables SqldbCon and strConnection and write the function GetConnection to open the connection.Define this
<appSettings>
<add key="DbConnection" value="server=buddha;database=TMM;uid=TMM;pwd=TMM098" />
</appSettings>
in ur Web Config file.Fillowing is the way.

Dim SqldbCon As SqlConnection
Dim strConnection As String

Public Function GetConnection() As SqlConnection
strConnection = System.Configuration.ConfigurationManager.AppSettings.Item("DbConnection").ToString

If IsNothing(SqldbCon) Then

SqldbCon = New SqlConnection(strConnection)

End If

If SqldbCon.State = ConnectionState.Closed Or SqldbCon.State = ConnectionState.Broken Then
SqldbCon.Open()
End If

Return SqldbCon
End Function


Hope it will help u.
AnswerRe: sql connection string Pin
varshavmane31-Jan-07 20:05
varshavmane31-Jan-07 20:05 
Questionvalidation problem Pin
niki_nilu31-Jan-07 19:45
niki_nilu31-Jan-07 19:45 
AnswerRe: validation problem Pin
Sylvester george31-Jan-07 19:50
Sylvester george31-Jan-07 19:50 
QuestionHow to generate Report in MS Word Pin
Jay_se31-Jan-07 19:33
Jay_se31-Jan-07 19:33 
AnswerRe: How to generate Report in MS Word Pin
praveenanand31-Jan-07 20:21
praveenanand31-Jan-07 20:21 
AnswerRe: How to generate Report in MS Word Pin
praveenanand31-Jan-07 20:28
praveenanand31-Jan-07 20:28 
QuestionRe: How to generate Report in MS Word Pin
Jay_se31-Jan-07 22:32
Jay_se31-Jan-07 22:32 
AnswerRe: How to generate Report in MS Word Pin
praveenanand31-Jan-07 23:27
praveenanand31-Jan-07 23:27 
GeneralRe: How to generate Report in MS Word Pin
Jay_se31-Jan-07 23:54
Jay_se31-Jan-07 23:54 
GeneralRe: How to generate Report in MS Word Pin
praveenanand1-Feb-07 0:32
praveenanand1-Feb-07 0:32 
GeneralRe: How to generate Report in MS Word Pin
Jay_se1-Feb-07 1:02
Jay_se1-Feb-07 1:02 
GeneralRe: How to generate Report in MS Word Pin
praveenanand1-Feb-07 2:04
praveenanand1-Feb-07 2:04 
GeneralRe: How to generate Report in MS Word Pin
praveenanand1-Feb-07 2:05
praveenanand1-Feb-07 2:05 
GeneralRe: How to generate Report in MS Word Pin
Jay_se1-Feb-07 2:08
Jay_se1-Feb-07 2:08 
AnswerRe: How to generate Report in MS Word Pin
Jay_se1-Feb-07 17:26
Jay_se1-Feb-07 17:26 
QuestionDatagrid Pin
kirthikirthi31-Jan-07 19:31
kirthikirthi31-Jan-07 19:31 
AnswerRe: Datagrid Pin
Sylvester george31-Jan-07 19:47
Sylvester george31-Jan-07 19:47 

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.