Checking if a row exists in a datagrid

Discussion in 'ASP .Net' started by mirth, Dec 14, 2004.

  1. mirth

    mirth Guest

    Probably a dumb question but i've been away from dotnet for a while.

    If I have a dataset bound to a datagrid and want to add a new row to
    it. Is there anyway I can check if that row exists in the dataset
    without doing another round trip to the server?

    Thanks.
     
    mirth, Dec 14, 2004
    #1
    1. Advertisements

  2. mirth

    hophophop Guest

    Hello mirth,

    Give a look at DataTable.Select()...
     
    hophophop, Dec 14, 2004
    #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.