Click here to Skip to main content
16,008,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to convet XSD schema to database table Pin
Sathesh Sakthivel12-Jun-07 18:20
Sathesh Sakthivel12-Jun-07 18:20 
QuestionStored Procedure return more than one row Pin
J Liang12-Jun-07 17:20
J Liang12-Jun-07 17:20 
AnswerRe: Stored Procedure return more than one row Pin
Krish - KP12-Jun-07 18:09
Krish - KP12-Jun-07 18:09 
GeneralRe: Stored Procedure return more than one row Pin
Chetan Ranpariya12-Jun-07 19:44
Chetan Ranpariya12-Jun-07 19:44 
GeneralRe: Stored Procedure return more than one row Pin
J Liang13-Jun-07 15:37
J Liang13-Jun-07 15:37 
QuestionWeb Services Pin
Agyeman12-Jun-07 17:00
Agyeman12-Jun-07 17:00 
QuestionSession Management Pin
moomoooomoo12-Jun-07 16:27
moomoooomoo12-Jun-07 16:27 
AnswerRe: Session Management Pin
Sathesh Sakthivel12-Jun-07 17:12
Sathesh Sakthivel12-Jun-07 17:12 
QuestionDatabase results to Array? Pin
bjjonesey12-Jun-07 14:25
bjjonesey12-Jun-07 14:25 
AnswerRe: Database results to Array? Pin
Sameer Alibhai12-Jun-07 14:38
Sameer Alibhai12-Jun-07 14:38 
GeneralRe: Database results to Array? Pin
bjjonesey12-Jun-07 16:24
bjjonesey12-Jun-07 16:24 
Questiondisable tooltip for calendar control Pin
D.Sridhar12-Jun-07 11:39
D.Sridhar12-Jun-07 11:39 
QuestionHow to make row clickable DataGrid? Pin
kidus112-Jun-07 11:08
kidus112-Jun-07 11:08 
AnswerRe: How to make row clickable DataGrid? Pin
Chetan Ranpariya12-Jun-07 19:54
Chetan Ranpariya12-Jun-07 19:54 
AnswerRe: How to make row clickable DataGrid? Pin
kumarjammula12-Jun-07 23:24
kumarjammula12-Jun-07 23:24 
QuestionHow can I programmatically retrieve the app_data path Pin
MBursill12-Jun-07 8:00
MBursill12-Jun-07 8:00 
I have an XML file in my app_data directory. My Data Access layer (a class library project) needs to know where the XML file is.

I currently have:
c:\projects\My website\                       (solution file is here)
c:\projects\My website\website                (aspx files, web config, & junk)
c:\projects\My website\website\app_data\      (a few database files and an xml file)
c:\projects\My website\websiteDA\             (project folder for data access class library)

If I add the DA class library project as a reference to my website project, is there any way for the class library to know what the data directory of the website may be.

Using something like:

XmlTextReader settingsReader = new XmlTextReader("settings.xml");

tells me it's looking in:

C:\projects\My website\

the same folder as the solution file. Very odd. I would have expected c:\projects\My website\website

DB access gets around this by somehow parsing "|DataDirectory|" in the connection string, resolving it to match the app_data path. Could I do something similar?

-Mike.
AnswerRe: How can I programmatically retrieve the app_data path Pin
Not Active12-Jun-07 8:10
mentorNot Active12-Jun-07 8:10 
GeneralRe: How can I programmatically retrieve the app_data path Pin
MBursill12-Jun-07 8:32
MBursill12-Jun-07 8:32 
GeneralRe: How can I programmatically retrieve the app_data path Pin
Not Active12-Jun-07 8:49
mentorNot Active12-Jun-07 8:49 
GeneralRe: How can I programmatically retrieve the app_data path Pin
MBursill12-Jun-07 9:10
MBursill12-Jun-07 9:10 
Questionmenu parent backcolor when hovering child menu Pin
janetb9912-Jun-07 7:27
janetb9912-Jun-07 7:27 
AnswerRe: menu parent backcolor when hovering child menu Pin
Not Active12-Jun-07 8:18
mentorNot Active12-Jun-07 8:18 
GeneralRe: menu parent backcolor when hovering child menu Pin
janetb9913-Jun-07 9:36
janetb9913-Jun-07 9:36 
GeneralRe: menu parent backcolor when hovering child menu Pin
Not Active13-Jun-07 10:01
mentorNot Active13-Jun-07 10:01 
QuestionSubmit Button Pin
seemamltn12-Jun-07 7:15
seemamltn12-Jun-07 7:15 

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.