Encerrado

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

)

}

;

}

Habilidades: .NET, Programação C#, Arquitetura de software

Veja mais: 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

Acerca do Empregador:
( 0 comentários ) Athens, United States

ID do Projeto: #18909322

13 freelancers estão ofertando em média $26 para esse trabalho

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 Mais

$55 USD em 1 dia
(29 Comentários)
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 em 1 dia
(75 Comentários)
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 Mais

$25 USD em 1 dia
(37 Comentários)
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 dias
(35 Comentários)
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 Mais

$30 USD em 1 dia
(10 Comentários)
3.7
ganeshrasekar

I can do it............................................................................................................................................................................................................... Mais

$25 USD em 1 dia
(10 Comentários)
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 em 1 dia
(6 Comentários)
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 Mais

$25 USD em 1 dia
(4 Comentários)
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 dias
(3 Comentários)
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 Mais

$10 USD em 1 dia
(2 Comentários)
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 em 1 dia
(1 Comentário)
0.0
sweetboyran

Have 5 years of experience in .net

$15 USD em 1 dia
(0 Comentários)
0.0
$14 USD em 1 dia
(0 Comentários)
0.0