Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
Questionhow to call the values from the databases Pin
S. Karthik - Hosur30-May-12 4:21
S. Karthik - Hosur30-May-12 4:21 
AnswerRe: how to call the values from the databases PinPopular
Dave Kreskowiak30-May-12 4:24
mveDave Kreskowiak30-May-12 4:24 
GeneralRe: how to call the values from the databases Pin
Paul Conrad1-Jun-12 14:48
professionalPaul Conrad1-Jun-12 14:48 
AnswerCross posted from QA PinPopular
Pete O'Hanlon30-May-12 4:40
mvePete O'Hanlon30-May-12 4:40 
QuestionMessage Removed Pin
30-May-12 4:05
S. Karthik - Hosur30-May-12 4:05 
AnswerRe: how to call the values from the databases Pin
Eddy Vluggen30-May-12 4:18
professionalEddy Vluggen30-May-12 4:18 
QuestionC#/.NET component/library Media file informations Pin
Istvan T30-May-12 1:38
Istvan T30-May-12 1:38 
Questionget the file path in web project when running unit test project Pin
siva45530-May-12 0:35
siva45530-May-12 0:35 
Actually im getting error when the below code is executed from unit test project...
where import is an xml file in the below code..
XmlTextReader importReader= new XmlTextReader(System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Importcontent/import"));
the above code is present in one of the methods in different project(class library) which is used in test method in the unit test project
where as the above path is present in web project.
and the value of the
System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Importcontent/import")
is null..ie unable to get the complete path of the file i guess bcos the hostingenvironment is not running(web project)
The above code is working fine when running from the webproject ie it returns the exact path.
whereas returning null value when running from test project.
please let me know how to fetch the file path(where file is present in web project) when running from test project.
AnswerRe: get the file path in web project when running unit test project Pin
BobJanova30-May-12 0:49
BobJanova30-May-12 0:49 
AnswerRe: get the file path in web project when running unit test project Pin
AmitGajjar30-May-12 23:53
professionalAmitGajjar30-May-12 23:53 
QuestionHow to get the all unauthorized installed applications in my pc? Pin
Srinubabu Ravilla29-May-12 21:04
professionalSrinubabu Ravilla29-May-12 21:04 
AnswerRe: How to get the all unauthorized installed applications in my pc? Pin
OriginalGriff29-May-12 21:18
mveOriginalGriff29-May-12 21:18 
GeneralRe: How to get the all unauthorized installed applications in my pc? Pin
Srinubabu Ravilla30-May-12 18:31
professionalSrinubabu Ravilla30-May-12 18:31 
AnswerRe: How to get the all unauthorized installed applications in my pc? Pin
sina rahimzadeh29-May-12 22:42
sina rahimzadeh29-May-12 22:42 
SuggestionRe: How to get the all unauthorized installed applications in my pc? Pin
DaveyM6929-May-12 22:50
professionalDaveyM6929-May-12 22:50 
GeneralRe: How to get the all unauthorized installed applications in my pc? Pin
Sentenryu30-May-12 5:11
Sentenryu30-May-12 5:11 
AnswerRe: How to get the all unauthorized installed applications in my pc? Pin
Eddy Vluggen29-May-12 23:46
professionalEddy Vluggen29-May-12 23:46 
QuestionLinq To SQL vs Entity Framework Pin
Kevin Marois29-May-12 13:20
professionalKevin Marois29-May-12 13:20 
AnswerRe: Linq To SQL vs Entity Framework Pin
Abhinav S29-May-12 20:47
Abhinav S29-May-12 20:47 
AnswerRe: Linq To SQL vs Entity Framework Pin
BobJanova29-May-12 23:30
BobJanova29-May-12 23:30 
AnswerRe: Linq To SQL vs Entity Framework Pin
AmitGajjar30-May-12 23:45
professionalAmitGajjar30-May-12 23:45 
QuestionProblem with wmi and exchange Pin
turbosupramk329-May-12 11:35
turbosupramk329-May-12 11:35 
AnswerRe: Problem with wmi and exchange Pin
Dave Kreskowiak29-May-12 18:15
mveDave Kreskowiak29-May-12 18:15 
GeneralRe: Problem with wmi and exchange Pin
turbosupramk330-May-12 3:39
turbosupramk330-May-12 3:39 
GeneralRe: Problem with wmi and exchange Pin
Dave Kreskowiak30-May-12 4:22
mveDave Kreskowiak30-May-12 4:22 

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.