?
Solved

Passing Datatables as a parameter to an Applicaiton

Posted on 2009-07-10
3
Medium Priority
?
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
RyanAndres earned 1500 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 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