Linq Query Results to DataTable
$10-30 USD
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"))
)
}
;
}
Kitambulisho cha Mradi: #18909322
Kuhusu mradi
11 wafanyakazi huru wanazabuni wastani wa $27 kwa kazi hii
Hello, I am experienced excel expert. I can help with this task with quick turnaorund. Looking to hearing from you. Kind regards Rina B.
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
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
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
Hi are you using C# language? And which database SQL or MySql? I can complete ur work. please let me know. Thanks
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.
I would like to assist you. Kindly advice me further instructions. Thank you very much. Will be waiting your message...