hello, i just started to code aspx, but i found troubles adding the connection string in the web.config
i was trying to code the "populate the listbox" tutorial, and in the part of pasting the connection string in the above mentioned file, i'm getting this error
"Only elements allowed"
The debug points to that line in the web.config
Thanks in advance, this web is cool because the tutorials are so well explained, which is hard to find on other sites for noobies like me.
thanks thanks thanks !
Jump to Post
Here might be one solution to help you out. This is not my work I found it elsewhere.
In the web.config file, add the following section <configuration> <appSettings file="app.config"></appSettings> </configuration> In a new file, add the following and save it as app.cfg <?xml version="1.0" encoding="utf-8" ?> <appSettings> …
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.