Click here to Skip to main content
15,894,410 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: I'd like to pay a programmer for a few hours of thier time. I'd like a C# gui made into a web page. Pin
N a v a n e e t h21-Oct-08 18:21
N a v a n e e t h21-Oct-08 18:21 
AnswerRe: I'd like to pay a programmer for a few hours of thier time. I'd like a C# gui made into a web page. Pin
Guffa21-Oct-08 20:24
Guffa21-Oct-08 20:24 
Questionautomatically highlighting first empty row in gridview Pin
kyi kyi21-Oct-08 16:38
kyi kyi21-Oct-08 16:38 
AnswerRe: automatically highlighting first empty row in gridview Pin
Brij21-Oct-08 17:31
mentorBrij21-Oct-08 17:31 
AnswerRe: automatically highlighting first empty row in gridview Pin
kyi kyi31-Oct-08 8:22
kyi kyi31-Oct-08 8:22 
QuestionReturning Gridview cell that was clicked. Pin
dptalt21-Oct-08 10:02
dptalt21-Oct-08 10:02 
QuestionTrying to recreate/cause error using asp.net oracle connections Pin
badprog21-Oct-08 9:55
badprog21-Oct-08 9:55 
QuestionUnable to access connection string from app config Pin
John-ph21-Oct-08 8:51
John-ph21-Oct-08 8:51 
I have been trying for hours now. but unable to access the connection strng from app config file.

1. Application has reference to System.Configuration.dll
2. App Config file has the connectionString

still the following code returns nothing.

Private Shared Function GetConnectionString( _
        ByVal name As String) As String

        Dim returnValue As String = Nothing

       Dim settings As ConnectionStringSettings = _
           ConfigurationManager.ConnectionStrings(name)

        If Not settings Is Nothing Then
            returnValue = settings.ConnectionString
        End If

        Return returnValue
End Function

can any one guess what's going wrong?

- Regards -
   J O N


     A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers


AnswerRe: Unable to access connection string from app config Pin
SeMartens21-Oct-08 9:14
SeMartens21-Oct-08 9:14 
GeneralRe: Unable to access connection string from app config Pin
John-ph21-Oct-08 9:26
John-ph21-Oct-08 9:26 
GeneralRe: Unable to access connection string from app config Pin
SeMartens21-Oct-08 9:52
SeMartens21-Oct-08 9:52 
AnswerRe: Unable to access connection string from app config Pin
N a v a n e e t h21-Oct-08 18:25
N a v a n e e t h21-Oct-08 18:25 
GeneralRe: Unable to access connection string from app config Pin
John-ph21-Oct-08 19:17
John-ph21-Oct-08 19:17 
GeneralRe: Unable to access connection string from app config Pin
Jaffer Mumtaz21-Oct-08 21:07
Jaffer Mumtaz21-Oct-08 21:07 
GeneralRe: Unable to access connection string from app config Pin
John-ph21-Oct-08 21:27
John-ph21-Oct-08 21:27 
GeneralRe: Unable to access connection string from app config Pin
Jaffer Mumtaz21-Oct-08 22:25
Jaffer Mumtaz21-Oct-08 22:25 
Questionhow to publish the web site ? Pin
TerRO_GirL21-Oct-08 7:49
TerRO_GirL21-Oct-08 7:49 
AnswerRe: how to publish the web site ? Pin
SeMartens21-Oct-08 9:18
SeMartens21-Oct-08 9:18 
GeneralRe: how to publish the web site ? Pin
TerRO_GirL21-Oct-08 20:34
TerRO_GirL21-Oct-08 20:34 
GeneralRe: how to publish the web site ? Pin
SeMartens21-Oct-08 21:46
SeMartens21-Oct-08 21:46 
GeneralRe: how to publish the web site ? Pin
TerRO_GirL22-Oct-08 1:22
TerRO_GirL22-Oct-08 1:22 
GeneralRe: how to publish the web site ? Pin
SeMartens22-Oct-08 1:45
SeMartens22-Oct-08 1:45 
GeneralRe: how to publish the web site ? Pin
TerRO_GirL22-Oct-08 5:10
TerRO_GirL22-Oct-08 5:10 
GeneralRe: how to publish the web site ? Pin
SeMartens22-Oct-08 5:29
SeMartens22-Oct-08 5:29 
GeneralRe: how to publish the web site ? Pin
TerRO_GirL22-Oct-08 5:50
TerRO_GirL22-Oct-08 5:50 

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.