Linq Query Results to DataTable

終了済み 投稿 5年前 着払い
終了済み 着払い

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 C#プログラミング ソフトウェアアーキテクチャ

プロジェクトID: #18909322

プロジェクトについて

11個の提案 リモートプロジェクト アクティブ 5年前

11人のフリーランサーが、平均$27 で、この仕事に入札しています。

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 1日以内
(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 10日以内
(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 もっと

$10 USD 1日以内
(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 もっと

$25 USD 1日以内
(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 1日以内
(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 0日以内
(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 1日以内
(レビュー1件)
0.0
sweetboyran

Have 5 years of experience in .net

$15 USD 1日以内
(0件のレビュー)
0.0