|
-
Dec 3rd, 2002, 11:10 AM
#1
Thread Starter
Frenzied Member
calling a function
how do you call a function in VB.NET?
-
Dec 3rd, 2002, 11:24 AM
#2
Member
Specify the name of the function.
Last edited by jwebster03; Dec 3rd, 2002 at 01:46 PM.
-
Dec 3rd, 2002, 11:57 AM
#3
There has to be more to this question.
-
Dec 3rd, 2002, 01:27 PM
#4
Frenzied Member
lol
Dont gain the world and lose your soul
-
Dec 3rd, 2002, 01:39 PM
#5
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|