User Profile

Collapse

Profile Sidebar

Collapse
mikeyeli
mikeyeli
Last Activity: Jul 4 '11, 10:42 AM
Joined: Oct 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mikeyeli
    replied to How to set dates in a single row?
    Thanks for the reply, but i think i didnt explain myself too well last time, what i need is to convert consecutive dates into a range of dates.

    ex:
    Code:
    ID ACTIVITY         DATE
    1  gardening        01/01/2011
    1  gardening        02/01/2011
    2  cooking          03/01/2011
    2  cooking          04/01/2011
    2  cooking          05/01/2011
    1  gardening        06/01/2011
    1  gardening        07/01/2011
    ...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    started a topic How to set dates in a single row?

    How to set dates in a single row?

    Hey guys!, i have to do the following:

    Suppose i have the following data:

    Code:
    ID ACTIVITY         DATE
    1  gardening        01/01/2011
    2  cooking          02/01/2011
    1  gardening        03/01/2011
    i need to make a stored procedure that gives the the result of something like this.

    Code:
    ID ACTIVITY     INITIAL_DATE  END_DATE
    1  gardening    01/01/2011    03/01/2011
    ...
    See more | Go to post
    Last edited by mikeyeli; Apr 26 '11, 03:23 AM. Reason: trying to make it clearer.

  • mikeyeli
    started a topic [ASP.NET 1.1/Oracle] Oracle Issue in transaction
    in .NET

    [ASP.NET 1.1/Oracle] Oracle Issue in transaction

    Ived been having a problem with one of my old applications, its been working fine for the last 2 years or so, and today it crashed with the following:

    This OracleTransacti on has completed; it is no longer usable

    Im completely lost here, i have no idea whats going on, i believe its not the application since its been working fine for a while, but there still might be something im missing. Maybe someone can help out on...
    See more | Go to post

  • Thank you joedeene!
    Exactly what i needed!...
    See more | Go to post

    Leave a comment:


  • [WinForms .net 3.5] How to make an application start when windows starts?

    Good Day people!

    i need to make an application im making, start when windows starts, i just wanted to ask you how can i do this, or to point me in the right direction.

    Thanks!
    See more | Go to post

  • mikeyeli
    replied to C# Winform Application Case Switch Problem
    in .NET
    i assume you want the value of the item selected on the combobox...
    for that use :

    Code:
    this.comboBox1.SelectedValue
    if what you really want is the text, then you should debug the app see if the text contains some unwanted character or spaces in it....
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to Gridview PopupBox on MouseOver
    in .NET
    the link i gave has a number of javascript controls that look nice, and can be used for similar purposes.

    anyway, a script that might help you achieve this is here
    http://www.technorealm.co.uk/scripts...rshowtext.html

    this is a good example of a pop - over window, it has running examples a works great. hope this helps you!...
    See more | Go to post

    Leave a comment:


  • this is a weird behaviour could you post some code?
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to Gridview PopupBox on MouseOver
    in .NET
    is this a web app, or winforms?

    if its web, i think this is a question for the javascript forum, javascript is the only way i can think of achieving such a task. you can try these controls Extjs...
    See more | Go to post

    Leave a comment:


  • is this a web application or winform application?
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to how to update a cookie value
    in .NET
    To update a cookie you can do this:
    Code:
    public void setCookieValue(string key, string value)
    		{
    			HttpCookie cookie = null;
    			string cookieName = "whateverTheCookieNameIs";
    			
    			if (Request.Cookies[cookieName] != null )
    			{
    				cookie = Request.Cookies[cookieName];
    				cookie.Values[key] = value;			
    				Response.AppendCookie(cookie);
    			}			
    		}
    ...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to Problems returning array from a service
    in .NET
    ok i see you have several small bugs here.

    first thing you should see:
    Code:
    public ListData[] GetListData()
    this method returns a an array of ListData objects. not a single ListData object
    so the client app here:
    Code:
    list = myws.GetListData();
    expects you to assign the returning array to an array of ListData.

    so the solution to that would be:
    Code:
    localhost.ListData[] list;
    list =
    ...
    See more | Go to post

    Leave a comment:


  • Session in .net suck, you have to be extremely careful, and yes they are kinda buggy in my opinion.
    • You should check iis settings, maybe theres a problem there.
    • Check Session timeout.
    • Try something else


    By trying something else, you should consider the fact that saving a whole shopping cart in session can also be e memory problem for the server if there are a lot of users this can be a problem. and your current issue. i think...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to Problems returning array from a service
    in .NET
    Exactly what difficulties are you having?...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to Embedded HTML in WINFORMS?
    in .NET
    Thank you so much that is exactly what i needed to know...i guess i just wasnt looking in the right place. Thank you...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    started a topic Embedded HTML in WINFORMS?
    in .NET

    Embedded HTML in WINFORMS?

    Good day people!

    ive been searching all over the net for this, i think my problem is that i cant formulate the question the right way.

    how to have embedded html content inside a webform. html inside a winform

    my english isnt that good, i hope im clear enough to get understanded
    if anyone can guide me, give links on where to read this would be great.

    thanks!
    See more | Go to post

  • mikeyeli
    replied to C#-web: Reading Users Of Active Directory
    in .NET
    You're right, ive been searching, cant find a way to directly removing them on the filter, i think you should follow platers advice, do some post proccess to remove these accounts, although you have to think a way to make this efficient, since there can be a considerable amount of users. sorry i couldnt help...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to StreamReader and "using" statement
    in .NET
    oh i didnt know that, thanks for the correction r035198x....
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to C#-web: Reading Users Of Active Directory
    in .NET
    you must specify what you want at the DIrectorySearch er filter
    ex C#:
    Code:
    search.Filter = "(&(objectClass=user)(objectCategory=person))";
    Here is an example:
    Code:
    public static ArrayList GetAllADDomainUsers(string domainpath)
    {
            ArrayList allUsers = new ArrayList();
            DirectoryEntry searchRoot;
            
            searchRoot = new DirectoryEntry(domainpath);
    ...
    See more | Go to post

    Leave a comment:


  • mikeyeli
    replied to StreamReader and "using" statement
    in .NET
    this statement:
    Code:
    StreamReader sw = new SteamReader(errors.txt, true)
    assigns an open stream to sw.

    so yes you must close it.

    why do you need to use a "using" statement?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...