Lukket

Linq Query Results to DataTable

I am running this Linq query. How can I take the results and create a DataTable that houses the results?

static void Main(string[] args)

{

DataTable dtInfo = GetTable();

var query =

from row in [login to view URL]() select new

{

name = [login to view URL]<string>("name"),

columnname =

([login to view URL]<DateTime>("exam1complete")==[login to view URL])

?

("exam1date")

:

(

([login to view URL]<DateTime>("exam2complete") == [login to view URL]) ? ("exam2date") : ("exam3date")

),

examdate =

([login to view URL]<DateTime>("exam1complete") == [login to view URL])

?

([login to view URL]<DateTime>("exam1date"))

:

(

([login to view URL]<DateTime>("exam2complete") == [login to view URL]) ? ([login to view URL]<DateTime>("exam2date")) : ([login to view URL]<DateTime>("exam3date"))

)

}

;

}

Evner: .NET, C# Programmering, Software Arkitektur

Se mere: c# csv to datatable linq, select rows from datatable using linq c#, iqueryable to datatable, list to datatable c#, linq to dataset c#, convert array to datatable c# using linq, datatable.select to datatable c#, entity framework to datatable, php script display query results, create query query search results php, show query results website, show results database query panel java, oracle include column headers query results, google map mysql query results, query show positive results database access, php displaying query results, perl reading mysql query results, python query results create csv file, oracle display column name query results, mysql show query results generic script

Om arbejdsgiveren:
( 0 bedømmelser ) Athens, United States

Projekt ID: #18909322

13 freelancere byder i gennemsnit $26 på dette job

adeelpirzada

hello have a good day i am a full web developer with over 5 years on freelancer.com. ****In SPECIAL very familiar with ASP.NET, .NET, C#***** I have read your description and have interests in your project. I ha Flere

$55 USD på 1 dag
(29 bedømmelser)
6.1
rinabuoy13

Hello, I am experienced excel expert. I can help with this task with quick turnaorund. Looking to hearing from you. Kind regards Rina B.

$25 USD på 1 dag
(75 bedømmelser)
6.1
okzhang321

Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time. I am well experienced and skillful C# and C++ programmer. I have +15 Flere

$25 USD på 1 dag
(37 bedømmelser)
5.1
carlosperezit

Hi there My name is Carlos and I'm an expert in .Net and sql server. I have been working in software developement for the last 20 years. I have many experience in desktop and web development. Regards

$25 USD in 10 dage
(35 bedømmelser)
5.2
TalAkerele

[login to view URL] I am very happy to bid your project. i'd like to work with you. I read your requirements carefully,i see what you mean. i've been experienced with .NET, C# Programming, Software Architecture i 'll complete Flere

$30 USD på 1 dag
(10 bedømmelser)
3.7
ganeshrasekar

I can do it............................................................................................................................................................................................................... Flere

$25 USD på 1 dag
(10 bedømmelser)
3.9
Stallone83

Hi are you using C# language? And which database SQL or MySql? I can complete ur work. please let me know. Thanks

$30 USD på 1 dag
(6 bedømmelser)
3.1
shailikhatri

I am an experienced Web and Software Developer, and I am very interested in your job post. I have an excellent experience in MVC,.Net Core, ASP.NET, C#, Linq, Entity Framework, MySQL, MSSQL, REST API, JSON, HTML5, A Flere

$25 USD på 1 dag
(4 bedømmelser)
2.8
akshaykumavat69

Hey, I know how to work with LINQ. And i seen your query and tried your scenario. Will work on this ASAP. Just let me know if you want to wok, will give you output result within 1 hr.

$15 USD in 0 dage
(3 bedømmelser)
2.1
akshaybhagwat76

Hello Sir, Thanks for watching my message. I have huge experience in asp.net, DataTable, Linq. As you're looking for Take the results and create a DataTable that houses the results. I can make new anonymous c# li Flere

$10 USD på 1 dag
(2 bedømmelser)
1.9
tbrifki64

I would like to assist you. Kindly advice me further instructions. Thank you very much. Will be waiting your message...

$50 USD på 1 dag
(1 bedømmelse)
0.0
sweetboyran

Have 5 years of experience in .net

$15 USD på 1 dag
(0 bedømmelser)
0.0
$14 USD på 1 dag
(0 bedømmelser)
0.0