Search Results

Search found 8 results on 1 pages for 'fishiefishie'.

Page 1/1 | 1 

  • Read from output file in installed WCF service

    - by fishiefishie
    I included a text file as output in a WCF set up project. The text file is correctly located in the same folder with the dll, exe, and config file after the project is installed (C:\Program Files\KLTesting\KLTestApp). However when the program tries to read it, it looks under "C:\Windows\system32", what's the correct way to find & read it? I have string a = Directory.GetCurrentDirectory(); a += "/R0303.txt"; string content = File.ReadAllText(a); Thanks.

    Read the article

  • select top 5 in entity framework

    - by fishiefishie
    I have [Person] PersonID, EmailAddress, FirstName, LastName [OnlineAccount] OnlineAccountID, PersonID, Nickname Each person is allowed to have 0-* OnlineAccount. In entity framework with C#, how do I select the top 5 Person that has the most accounts?

    Read the article

  • Determining if a div contains a table element in JQuery

    - by fishiefishie
    For my accordion, each time the user clicks on the header, i want to see if accordion-content contains a table, if not, generate one and add it to accordion-content. But how do you check if the current element contains a certain type of element? <div class="a-header"> <ul><li></li></ul> </div> <div class="a-content"> </div> $('.a-header').click(function(){ var currentHeader = $(this).next(); //if currentHeader contains 'table' }); Thanks.

    Read the article

1