Solved

Passing Datatables as a parameter to an Applicaiton

Posted on 2009-07-10
3
390 Views
Last Modified: 2012-05-07
I have an applicaiton that I want to pass a datatable to, the applicaiton reads the datatble and performs some arbitary action. I'm guessing that I can't pass it as a parameter, I was wondering how an application can recieve a datatable any help on this would be helpful
0
Comment
Question by:LantraTech
3 Comments
 
LVL 8

Accepted Solution

by:
RyanAndres earned 500 total points
ID: 24827848
Is your application a windows form, console, service, web site, or what?

You can pass a DataTable programatically for example a DLL containing a method that takes a DataTable parameter and return a DataTable parameter. Your application would call the referenced DLL and pass the DataTable and then get the return value.
0
 
LVL 12

Expert Comment

by:funwithdotnet
ID: 24828850
Serialization is a convenient technique. This might be a nice little sample:
http://visualbasic.about.com/od/learnvsnet/l/blecvbnet10302.htm
0
 

Author Closing Comment

by:LantraTech
ID: 31602301
Not exactly the way I have done it but it gave me the inspiration to solve the problem, thanks!!!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Angular JS Route 3 54
Eagerly loading related objects in entity framework 5 26
C# parent child form 5 19
Get Client IP on RDS - VB.NET 15 29
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now