Results 1 to 5 of 5

Thread: calling a function

  1. #1

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075

    calling a function

    how do you call a function in VB.NET?

  2. #2
    Member
    Join Date
    Sep 2002
    Location
    Cincinnati, OH
    Posts
    44
    Specify the name of the function.
    Last edited by jwebster03; Dec 3rd, 2002 at 01:46 PM.

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    There has to be more to this question.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    lol
    Dont gain the world and lose your soul

  5. #5

    Thread Starter
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    just wanted to see if questions were still getting answered in here

    now that I have your attention

    I have a ASP.NET ?

    I have a delete button in my datagrid, that diplays a confirm message then deletes the record. All works fine except I have to click the button twice for it to work...

    Public Sub DeleteBid(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.DeleteCommand

    Dim selectedRow As String = DataGrid1.DataKeys(e.Item.ItemIndex)
    Dim btnDelete As Button
    btnDelete = e.Item.Cells(4).Controls(0) '<---2nd column, first control
    btnDelete.Attributes("onclick") = "javascript:return confirm('Are you sure you want to delete \n Bid Record " & selectedRow & "?')"

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