Solved

Passing Datatables as a parameter to an Applicaiton

Posted on 2009-07-10
3
397 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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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 …

738 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