Results 1 to 6 of 6

Thread: datagrid row count

  1. #1

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    datagrid row count

    hi there

    does any one know any code for checkin data row count on datagrid

    i want to make a noise for every time the datagrid is increased by one
    Last edited by d2005; Sep 29th, 2005 at 03:57 AM.
    it works 60% of the time, all the time.

  2. #2

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: datagrid row count

    ok so i have the row count

    Dim rowCount As Integer
    rowCount = Me.dgMsgIn.DataSource.Rows.count

    does anyone know know how to make a noise
    it works 60% of the time, all the time.

  3. #3

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: datagrid row count

    so i tried this but it dont work

    Dim rowCount As Integer
    rowCount = Me.dgMsgIn.DataSource.Rows.count

    TxtMessageOut.Text = rowCount
    If rowCount = rowCount + 1 Then
    Beep()

    End If
    it works 60% of the time, all the time.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: datagrid row count

    What's the beep for? This is ASP.NET. And elaborate upon 'doesn't work'

  5. #5

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: datagrid row count

    my datagrid represnents messages that are pulled from the database,
    a row if you like

    if the datagrid has a new row upon refresh then i want it to make a noise
    just to wake the person up
    so for every row incremented then i want a noise,
    a beep for example
    it works 60% of the time, all the time.

  6. #6

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: datagrid row count

    any ideas, was away for weekend and now im back to the samwe old troubles lol
    it works 60% of the time, all the time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width