User Profile

Collapse

Profile Sidebar

Collapse
ashishc
ashishc
Last Activity: Oct 16 '09, 04:28 PM
Joined: Jan 3 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ashishc
    started a topic How to compute Permutation of 4P3?
    in Java

    How to compute Permutation of 4P3?

    Let's say i create a String array that store 4 Alphabets {"A","B","C","D "}
    How can i get the result if i need permutation of 4P3 and 4P2?

    I had refer to many examples from the internet, but those examples cannot compute n selection from m elements. They only able to computer permutation of m elements without selection e.g. 4P4.

    I need help in how to create an algorithm that...
    See more | Go to post

  • ashishc
    started a topic socket programming with perl
    in Perl

    socket programming with perl

    hi,
    I want to try to connect to a tcp socket in perl, post some data (xml command), and the response from the socket will be an xml which i want to parse in perl.

    Can someone please share some sample code with me here?

    This is kind of urgent for me to get it working...pleas e help me ...

    thanks
    ash
    See more | Go to post

  • ashishc
    replied to macro help needed
    Hi,
    I did write something, but its not working, so if you could help me with it that will be great. I am posting my sample from excel here. This is really urgent so if you could post some code, that will be great.

    Thanks


    This is what my excel looks like

    144B7FC1-0761-4CC0-A112-91AFFDA08411 StartingJob 23:56:29
    144B7FC1-0761-4CC0-A112-91AFFDA08411 StartingModule 23:56:29
    ...
    See more | Go to post

    Leave a comment:


  • ashishc
    started a topic macro help needed

    macro help needed

    Hi all,
    I need to write a macro for the following case, can anyone help me with it?

    I have an excel sheet which has 6 columns, one column is Status, 2nd column is time and third col is pid. Now for any case there can be many "sets" of data having the same pid, but different status and times.

    The staus could be Start, doing 1, doing 2, error1, complete.

    I need to write something which can...
    See more | Go to post

  • ashishc
    started a topic Server.HTMLEncode

    Server.HTMLEncode

    Hi All,
    I have an asp form and server.htmlenco de is not working for the text field only for ampersand sign.
    If I enter A&M, it cuts off the &M and only A is displayed. If I enter A<1, that works fine..

    <input type="Text" name="Title" size="35" maxlength="60" value="<%=Serve r.HTMLEncode(oO bject.Title)%>" >

    Any thoughts?

    ...
    See more | Go to post

  • That is not what I want..I can do that too but what I want is when i select a radio button, it invokes the onClick event. Now onClick of radio button I want a function invoked which returns a value and that is stored in a variable.
    See more | Go to post

    Leave a comment:


  • Get the return value from a function in javascript

    Hi
    I want to know how can I get the return value from a function into a variable onClick event of a selection of radio button.

    Let me explain in detail, I have 3 radio buttons and if i select any one, then I want to call a function to which I pass the value of selected radio button and the function does some processing and then returns some value which i store in a variable.

    [CODE=javascript]var returnValue="";...
    See more | Go to post
    Last edited by gits; Jan 28 '08, 07:47 AM. Reason: added code tags

  • ashishc
    started a topic Drop Down list issues in jsp
    in Java

    Drop Down list issues in jsp

    Hi all,
    I am not able to populate a drop down list in jsp...i am pasting the code here for someone to please suggest. I am new to struts and dont know whats going wrong...

    JSP PAGE:
    <html>
    <body>
    <h1>JSP Page</h1>

    <html:form action="/test">

    <html:select property="flavo ur">
    <html:options name="FLAVOURS"/>...
    See more | Go to post

  • ashishc
    started a topic Data Grid in struts page
    in Java

    Data Grid in struts page

    Hi,

    Can anybody share a code with me for displaying a datagrid in a struts page? The data will be populated from DB and filled in grid.

    Is there any other way to display such data on jsp page, apart from using normal html table/TR/TD in loop?

    Rgs,
    Ashish
    See more | Go to post

  • ashishc
    replied to Datagrid in Struts page
    in Java
    Did you happen to find a solution to this? I am also stuck in the same situation and wanted to know if you have come up with some solution..

    Thanks
    Ashish
    See more | Go to post

    Leave a comment:


  • ashishc
    replied to unable to select a value in DIV tag
    Can you give an example code to show me ?
    See more | Go to post

    Leave a comment:


  • ashishc
    started a topic unable to select a value in DIV tag

    unable to select a value in DIV tag

    Hi All,
    I have written a AutoSuggest in jsp and am using javascript to call the strut page which calls the database and returns me the xml back.

    On the html page i have a text box where i enter the name of the city and I have a DIV tag which I populate with the results.
    Now my problem is that, after I get the results back I am not able to select a value from the DIV tag.

    Here is the complete jsp code....
    See more | Go to post
    Last edited by gits; Jan 4 '08, 08:45 AM. Reason: added code tags
No activity results to display
Show More
Working...