Linq Query Results to DataTable

Imefungwa Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

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"))

)

}

;

}

.NET Kuprogramu ukitumia C# Software Architecture

Kitambulisho cha Mradi: #18909322

Kuhusu mradi

11 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

11 wafanyakazi huru wanazabuni wastani wa $27 kwa kazi hii

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 kwa siku 1
(Maoni 85)
6.3
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 kwa siku 10
(Maoni 39)
5.3
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 Zaidi

$10 USD kwa siku 1
(Maoni 11)
4.6
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 Zaidi

$25 USD kwa siku 1
(Maoni 5)
4.0
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 kwa siku 1
(Maoni 16)
3.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 kwa siku 0
(Maoni 6)
2.9
tbrifki64

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

$50 USD kwa siku 1
(Maoni 1)
0.0
sweetboyran

Have 5 years of experience in .net

$15 USD kwa siku 1
(Maoni 0)
0.0