Solved

Passing Datatables as a parameter to an Applicaiton

Posted on 2009-07-10
3
389 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
Comment Utility
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
Comment Utility
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
Comment Utility
Not exactly the way I have done it but it gave me the inspiration to solve the problem, thanks!!!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 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