Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 24th, 2007, 06:47 AM
Registered User
 
Join Date: May 2007
Location: Hyderabad, A.P, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default method

I want to write a method which accepts categoryid and returns a resultset.
Please tell me how do I write a method and call it to get the resultset..

Thanks

Reply With Quote
  #2 (permalink)  
Old May 24th, 2007, 09:00 AM
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

snip here....

Function GetCategoryIdResultSet(categoryId) as ADODB.Recordset
   ...<do all the dab code here>
   set rst = con.open(<sql statement>)
   GetCategoryIdResultSet = rst
End Functions

Is this you were looking for...

With Regards,
Raghavendra Mudugal
Reply With Quote
  #3 (permalink)  
Old May 25th, 2007, 01:46 AM
Registered User
 
Join Date: May 2007
Location: Hyderabad, A.P, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks

Reply With Quote
Reply


Thread Tools
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
About Method VeradisSanthanam ASP.NET 2.0 Basics 1 June 19th, 2007 06:52 AM
Why is this method placed in filip BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 August 25th, 2006 09:40 PM
Required method? budman Pro JSP 2 July 1st, 2006 07:39 PM
Best method rastham SQL Server 2000 2 February 15th, 2006 11:59 PM
Method StanArtis BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 6th, 2004 05:09 AM



All times are GMT -4. The time now is 08:38 AM.


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