Row filtering

Discussion in 'ASP .Net Web Services' started by siaj, Feb 24, 2005.

  1. siaj

    siaj Guest

    Hi all,
    I am having a dataset which is Reading from the XML file. The Dataset has a
    table Users with Scheema (US_ID, US_Name). I am attempting to add new user to
    this table. for this I want to fetch the max US_ID , increment by One and add
    to table
    The code is
    maxID = dsUser.Tables(0).Select("US_ID=MAX(US_ID)")
    The issue I am facing is that I am not getting proper maxID as US_ID is
    interpreted as char while reading.
    I also tried using the cast expression but I m getting syntax error.

    any suggestion will be highly appreciated...

    Cheers,
    siaj
    siaj, Feb 24, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Craig
    Replies:
    2
    Views:
    2,874
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Nov 2, 2004
  2. =?Utf-8?B?c2lhag==?=

    Row filtering

    =?Utf-8?B?c2lhag==?=, Feb 24, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    1,739
    Kevin Spencer
    Feb 24, 2005
  3. Siegfried Heintze

    Wanted: Example of Row Filtering with DataView

    Siegfried Heintze, Sep 10, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    18,989
    Juan T. Llibre
    Sep 11, 2005
  4. D
    Replies:
    0
    Views:
    205
  5. matis
    Replies:
    0
    Views:
    119
    matis
    Aug 30, 2006
Loading...

Share This Page