User Profile

Collapse

Profile Sidebar

Collapse
aboon
aboon
Last Activity: Mar 3 '09, 09:56 PM
Joined: Aug 26 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • aboon
    started a topic hide/show field using checkbox/checkboxlist

    hide/show field using checkbox/checkboxlist

    Hi I need help with showing field when checkbox checked and hiding field when the checkbox is unchecked.
    I was able to do it using dropdownlist but I'm not able to do it with checkboxlist at all. Would you also explain the differences between dropdownlist and checkboxlist. Thanks
    This is my code using dropdownlist:
    Code:
    <script language="Javascript" type="text/javascript">
    $(document).ready(function(){
    ...
    See more | Go to post

  • aboon
    replied to how to get string within string
    thank you very much for all your help
    See more | Go to post

    Leave a comment:


  • aboon
    replied to how to get string within string
    Hello,
    Thanks you very much for the example. I tried using StringReader and get the innerXml as a result.
    Code:
     XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load(new StringReader(response));
            XmlNode elem = xmlDoc.DocumentElement;
    The innerXml looks something like this:
    Customer Data1.00011Succ ess10.9169
    MADISONWI
    535625356220.91 69
    MADISONWI
    535935359330.91 69...
    See more | Go to post

    Leave a comment:


  • aboon
    replied to how to get string within string
    I'm not sure how to do it exactly..
    This is part of the code.after I got user input(city, state, zip), send the request string to UPS to validate the address.

    The "encodingString " is the result of the response string which looks like the top post..the next step is to get the values, and dispay them which I still couldn't figure out.

    thanks...
    See more | Go to post

    Leave a comment:


  • aboon
    replied to how to get string within string
    Hi, Thanks for the link..I still couldn't get it to work because the XmlReader get text from a file, but the response string I got from UPS does not store in a file. I'm not sure how to just read a string within that string. I tried using SubString, but that didn't work either because the the length of the response string is not consistent. It depends on the values that user type in, and the result of the validation.

    please help,...
    See more | Go to post

    Leave a comment:


  • aboon
    started a topic how to get string within string

    how to get string within string

    Hi,

    I really need you guys' help with getting string within string. I have an address validation code that will send a request string to UPS, and if the address is validated, UPS will send a response string back. The problem starts here. Once I get the response string, I want to be able to display only city, state and zipcodes, but I don't know how to grab those values from the response string. The response string looks like this:...
    See more | Go to post

  • aboon
    replied to Loading a Null value into an int variable
    in .NET
    thank you all of you. I'll try your advice. I'm using C#. sorry I didn't provide the language I'm using at first place.
    See more | Go to post

    Leave a comment:


  • aboon
    replied to Loading a Null value into an int variable
    in .NET
    Hi balabaster,

    What if I can not change the value in the database to not null. This is how it works...

    Employee enters start dates and en dates. If the employee is currently employed, then he only needs to enter start date, and the end date will be null and the null value is stored in the DB.

    I'm trying to get the value of start dates and end dates to calculate the working period.When it comes to the...
    See more | Go to post

    Leave a comment:


  • aboon
    started a topic Loading a Null value into an int variable
    in .NET

    Loading a Null value into an int variable

    I am loading values from a database record into a class. One of the class properties is an int, which corresponds to an int fiel in the database.
    However, sometimes the DB value in null, which causes an exception when assigning the value to the class property.

    What is the standard proceure for dealing with this problem?

    Thanks
    See more | Go to post

  • aboon
    replied to how to get mindate ?
    in .NET
    That's the part I'm not sure how to do. I haved tried the code below, the out put of mindate was the DateTime.MinDat e not the mindate in the array. Would you plaease give show me some example.

    Code:
    DateTime dtMinDate = new DateTime();
    string strDateFrom = empWH.DateFrom;
    string [] arrDateFrom = strDateFrom.Split((new char[]{','})); 
    		
    if (arrDateFrom != null && arrDateFrom.Length > 0)
    ...
    See more | Go to post

    Leave a comment:


  • aboon
    started a topic how to get mindate ?
    in .NET

    how to get mindate ?

    Hi Guys,
    I've been trying to get the Mindate from the array. But the output I've got was all dates in the array. I know there is somthing missing but I couldn't figure it out. Please help.
    Thanks
    aboon.

    Code:
    DateTime dtMinDate = new DateTime();
                string strDateFrom = emp.DateFrom; 
                string [] arrDateFrom = strDateFrom.Split((new char[]{','})); 
                if (arrDateFrom !=
    ...
    See more | Go to post

  • aboon
    started a topic how to find minDate and Maxdate
    in .NET

    how to find minDate and Maxdate

    I have a list of startdates and enddates in the database somewhere. I want to find minDate from the list of startdates and maxDate from the list of enddates. Would anyone tell me how to do that.

    By the way, I'm using c#

    thanks
    See more | Go to post
No activity results to display
Show More
Working...