tdietrich513 / datatableproxy Goto Github PK
View Code? Open in Web Editor NEWA quick utility class for converting IEnumerables into easily bindable DataTables
A quick utility class for converting IEnumerables into easily bindable DataTables
Can we expect an update to support .NET Core? This is holding me back from using .NET Core myself since my project has a dependency on this library.
https://docs.microsoft.com/en-us/dotnet/articles/core/porting/libraries
Thanks!!
Tom,
First, thanks for sharing this. I was able to get things working very quickly. However, in my particular scenario, I'm attempting to put the results of the ToTable() method into the DataSource of a Recordset, and I get the exception System.InvalidCastException("No such interface supported"). I have a snippet of my code below.
Any help is appreciated.
Thanks,
Chuck
var rs = new ADOR.Recordset();
var repo = new CustomerRepository();
//The following line threw the exception, so I broke it apart below
//rs.DataSource = repo.GetInfo(pId).ToTable(new ClassMapping().AddAllPropertiesAsColumns());
//This is the one line of code broken apart
var accountList = repository.GetInfo(pId);
var classMapping = new ClassMapping().AddAllPropertiesAsColumns();
var table = accountList.ToTable(classMapping);
rs.DataSource = table; //Exception is thrown on this line
I've got a signed application that I'd like to try linking this project into. Any chance of signing it (even with a self-signed cert)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.