Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2003, 10:14 AM
Authorized User
 
Join Date: Aug 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Default passing datatype as a function argument

I need to write a function that will accept a dataset as a parameter and create a 2D array of integer/float/long/whatever numeric type of data in the dataset, and then populate the 2D array using the data in the datatable.

How can I determine the type of data contained in the dataset/datatable in the function. Alternatively, can I pass the datatype that a particular dataset might have. How would I do that in VB.NET

Would appreciate any help, and thanks in advance.






Similar Threads
Thread Thread Starter Forum Replies Last Post
passing argument to a page in c# kawalsingh28 ASP.NET 1.0 and 1.1 Professional 3 October 16th, 2006 07:02 AM
Passing an argument to a web service from a client dotNETnewbie ASP.NET 2.0 Professional 0 April 10th, 2006 11:38 AM
Window.Open not passing argument in ASP.NET whiterainbow Javascript How-To 2 May 10th, 2005 04:03 AM
passing datatype as a function argument texasraven VB.NET 0 September 23rd, 2003 10:22 AM





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