Validation in GridView

Discussion in 'ASP .Net Web Controls' started by Gonzalo Moreno, Dec 20, 2006.

  1. En blancoHello I need help, I don´t know how controller the validation of
    one column of gridview, this column update correct except if the user put
    "," or letters beacuse this fields is numeric, only accept for example "9.2"
    but not "a.3" or "9,2" or "kk". The problem is that mensage of error is
    horrible I prefer put one mensage of advise.
    The gridview update correct, I solve this topic but I need controller this
    validation.
    Ah I programing with v.studio net 2005 and asp.net and v.basic

    Thanks very much.
     
    Gonzalo Moreno, Dec 20, 2006
    #1
    1. Advertisements

  2. Gonzalo Moreno

    Brock Allen Guest

    Use a <asp:TemplateField> and place a validation control in the template.
     
    Brock Allen, Dec 20, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.