Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 28th, 2004, 12:18 PM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to davidkwang
Default public function execute = HELP! Return value ?

<-----code start here--->
Private Sub btnSearchRec_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearchRec.Click

myConnection.Open()
Dim myExpertSearch As New ExpertSearch
' this is the part troubling me...:(
If myExpertSearch.Execute("Select * from stock", myConnection, 0) = True Then
txtSTOCK_ID.Text = myExpertSearch.FieldValue
End If
myConnection.Close()

End Sub
<-----code end here--->

Here is the situation, I wrote a simple stock control program, yet add function was fine... one thing is the search function where the search function have to be done before update or delete it right?

however, I need help on the blue text part where I need to return all the value from search form, yet eventually I'm able to return one value from one column only... if I put a nested if statement... i have to click 10 times of "ok" in term of all the value can reinsert in to the form where I do all the update and delete function... any clue? or tips... I'm suffering here....

Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
public sub or function ? kscase Visual Basic 2005 Basics 3 May 20th, 2007 03:14 PM
function return 'Nothing' problem srinuRocks ASP.NET 2.0 Basics 0 March 10th, 2005 10:32 AM
execute function whoses name is stored in a variab aliawan Beginning VB 6 5 February 4th, 2005 05:01 AM
How to return array value from a function nebpro BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 September 29th, 2004 12:14 PM
Return a UDT from a function alex_read Pro VB 6 1 April 23rd, 2004 05:37 AM



All times are GMT -4. The time now is 05:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.