Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

DJ245

@DJ245
About
Posts
47
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Read from Byte Array
    D DJ245

    Please check the screenshot http://doubts.posterous.com/bytearray-doubt[^] Actual value in the byteArray[0] is Name of an employee, [1] is code and son on... When iterating it returns only its size.. How can i get the Name of Employee from byteArray[0]?

    C# question data-structures

  • Read from Byte Array
    D DJ245

    Actually i don't want its size. I need to get the value. When i iterating it displays the size. How can i get the value behind each array item?

    C# question data-structures

  • Read from Byte Array
    D DJ245

    Dear All, How can i read values from Byte Array? Regards, DJ.

    C# question data-structures

  • XML Search
    D DJ245

    Re: XML Search Ok.. fine.. Updated the XML taskXML =

    And perform the search criteria as follows (My code)

    public XMLNode searchXML()
    {
    if ((null != taskXML) && 0 < subProjectId)
    {
    taskXML = taskXML.SelectSingleNode("//Task[@SubId ='" + subProjectId.ToString() + "']");
    }
    if ((null != taskXML) && 0 < moduleId)
    {
    taskXML = taskXML .SelectSingleNode("//Task[@TaskId ='" + moduleId.ToString() + "']");
    }

    //Problem starts
    if ((null != taskXML) && (null != startDate && null != endDate))
    {
    taskXML= taskXML.SelectSingleNode("//Task[@StartDate >'" + startDate.ToString() + "']");
    if (null != taskXML)
    taskXML= taskXML.SelectSingleNode("//Task[@StartDate < '" + endDate.ToString() + "']");
    }
    //Problem end
    if ((null != taskXML) && 0 < statusId)
    {
    taskXML = taskXML .SelectSingleNode("//Task[@StatusId='" + statusId + "']");
    }

    //Problem starts
    if ((null != projectTaskXML) && string.Empty != taskName)
    {
    taskXML = taskXML .SelectSingleNode("//Task[@TaskName='" + taskName + "']");
    }
    //Problem end
    return taskXML;
    }

    But the date search and name search not working. Also i need to get the parents of searched tasks Could u please help me?

    C# xml help

  • XML Search
    D DJ245

    Dear all, In my application i have an XML like this.. I want to perform a search in this XML Based on SubID, ModuleId, TaskName, between start and end dates. Please help me. Also i need all the parents of the searched nodes without siblings.

    Please help Regards, DJ

    XML / XSL xml help

  • XML Search
    D DJ245

    Dear all, In my application i have an XML like this.. I want to perform a search in this XML Based on SubID, ModuleId, TaskName, between start and end dates. Please help me. Also i need all the parents of the searched nodes without siblings.

    Please help Regards, DJ

    C# xml help

  • Finding gap between Date ranges
    D DJ245

    Thanks Nowakowski. Its working fine..

    C# question

  • Finding gap between Date ranges
    D DJ245

    If u don't mind, could u please post the code scrap here. I am using two loops and finding the difference between each date range (currentItem.StartDate - prevItem.EndDate). Then checking it with all the date renages.

    C# question

  • Finding gap between Date ranges
    D DJ245

    Dear All, I have list of date ranges (Start Date and End Date). I want to find the gap between the each item. ie; My date range list

    #. Start Date End Date

    1.   1-Jan-2010	 2-Jan-2010
      
    2.   1-Jan-2010	 8-Jan-2010
      
    3.   4-Jan-2010	 4-Jan-2010
      
    4.   6-Jan-2010	 8-Jan-2010
      
    5.   9-Jan-2010	10-Jan-2010
      
    6.  10-Jan-2010	14-Jan-2010
      
    7.  10-Jan-2010	15-Jan-2010
      
    8.  17-Jan-2010	18-Jan-2010
      

    Actually i want to get the gap between adjacent items. Expected output

    GapStart GapEnd

    16-Jan-2010 16-Jan-2010 But i get the following

    GapStart GapEnd

    05-Jan-2010 05-Jan-2010 (Not need this gap because many other items include this date range) 16-Jan-2010 16-Jan-2010 How can i filter the resultant list?

    Regards, Lalk

    C# question

  • Reading Microsoft Project file problem
    D DJ245

    Hi, I am making an application integrated with Microsoft Project in c#. Now ,I want to read mpp file and convert all task objects to DTOs. I created DTOs same as Task object. The application should read any Microsoft Project version (from MS 2003). I used the normal methods creating the ApplicationClass object, reading the Project object, then iterating the tasks etc. Found it is too slow and OS dependent. I cant quit the Winproject.exe from my application in Win 2003 server. Also the application doesn't works on 64 bit OS. Please guide me to a solution. Hoping a reply... I had already posted this thread one month before. But didnt get any answer. Regards, DJ

    C# csharp sysadmin help tutorial announcement

  • Reading Microsoft Project file problem
    D DJ245

    Hi, I am making an application integrated with Microsoft Project in c#. Now ,I want to read mpp file and convert all task objects to DTOs. I created DTOs same as Task object. The application should read any Microsoft Project version (from MS 2003). I used the normal methods creating the ApplicationClass object, reading the Project object, then iterating the tasks etc. Found it is too slow and OS dependent. I cant quit the Winproject.exe from my application in Win 2003 server. Also the application doesn't works on 64 bit OS. Please guide me to a solution. Hoping a reply... Regards, DJ

    C# csharp sysadmin help tutorial announcement

  • Read mpp file [modified] [Solved]
    D DJ245

    hi all, i am in need of reading tasks from an .mpp file. How can i find the parent task id of particular task while reading? Please help me.. Lal

    modified on Thursday, November 26, 2009 12:18 AM

    C# question help

  • Convert SQL data to XML data using nHibernate
    D DJ245

    Hi All, I have table, named tblTasks, with columns Id, Name, StartDate, EndDate etc. I want to convert this table in to xml fromat via nHibernate.

    <Task>
    <Id> </Id>
    <Name> </Name>
    <StartDate> </StartDate>
    <EndDate> </EndDate>
    </Task>

    I am using NHibernate dll version 2.1.0. Pls help me. Thanks in advance

    C# database xml help announcement

  • How to read excel content as html?
    D DJ245

    Hi All, In my application i want to read the row content of an excel file as html text (for getting the font and style). If anybody knows please help me.... Regards, Prajilal

    C# html help tutorial question

  • Differnce between private readonly fields and non private readonly fields
    D DJ245

    hi, What is the major differnce between private readonly fields and non private readonly fields... waiting for reply... Regards, Prajilal

    C# question

  • [Message Deleted]
    D DJ245

    [Message Deleted]

    C#

  • [Message Deleted]
    D DJ245

    [Message Deleted]

    C#

  • [Message Deleted]
    D DJ245

    [Message Deleted]

    C#

  • How to set hyperlinks to strings
    D DJ245

    i dont know how to use it..

    C# help tutorial

  • How to set hyperlinks to strings
    D DJ245

    Hai friends, In my small application iam retrieving the links stored in the IE's favorites folder and write to .doc file. i want to set hyperlink to each of them. Please help me. Regards, DJ

    C# help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups