|
DataTables in their entirety, or just the data therefrom? I'd normally use DataReader to populate POCOs and JSONify them - but would think about a library to go from DataReader straight to JSON...
Nope, a part of it you can take from right here in CodeProject.
DataTable To JSon[^]
^ Not my article
Edit: actually the trick is NOT to go the whole way to string
But to pass to the View the list of Dictionaries. MVC is internally using then the System.Web.Script.Serialization.JavaScriptSerializer();
modified 20-Oct-19 21:02pm.
|
|
|
|
|
I agree, but only because it's designed to write applications that serve web pages, instead of hide all that silly html and server stuff from you so you don't have to bother learning any of it.
|
|
|
|
|
I'm digging into my first MVC project as well, and that's one of the first things that came to mind, that I was back in the client side mess formerly known as classic ASP. Yuck. Although I am enjoying MVC overall.
|
|
|
|
|
?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
The Darleks away...hence all the chocolate posts...
|
|
|
|
|
Are you suggesting that DBC is DD's alter-ego?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Well, have you ever seen them in the same place at the same time physically?
|
|
|
|
|
You isn't you when you are hungry
|
|
|
|
|
Have you been to Luton to verify such facts? you brave brave man
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Moi, little old me, brave... no, medals for others I will bravely cheer them on , As for Luton, I believe the old saying 'Here Be Monsters' covers that.
|
|
|
|
|
Luton's fine as long as you take a few cans of Special Brew for the natives (well, crates really)!
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
Special Brew!! They are some pampered Natives! Down here you can get away with Fosters, Black Label if you want your tires still drivable...
|
|
|
|
|
In Luton you get to marry their daughters for Fosters.
For Special Brew you don't get to marry the daughter...
|
|
|
|
|
Ahh in Bristol the answer is 'Harry De? Woz you on m8', or in the Queens English 'Marry Me?, may ask what is that my friend'...
|
|
|
|
|
In Luton it's a bit like an arranged marriage:
1) They want her out of the house ASAP - she is costing 'em a fortune in shell suits and the child support runs out at 16.
2) If you don't marry 'em, you get arranged...
Take the Tramps Brew Of Choice - you know it makes sense.
|
|
|
|
|
Well if he is my alter-ego then I wish he'd help with the bl**dy CCC once in a while!
Anyway, we have been in "the same place at the same time physically" (I'm not afraid of Luton!) but it was rather uncomfortable so I asked him to move his Dalek outfit off my foot ... ASAP
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
Ummm OKAY
|
|
|
|
|
Is the for Me+DD being one person or just a comment on Luton?
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
It was a case a case of one emoticon does both.
|
|
|
|
|
glennPattonWork wrote: It was a case a case of one emoticon does both
Cheapskate!
"State acheived after eating too many chocolate-covered coconut bars - bountiful"
Chris C-B
|
|
|
|
|
|
That just sounds like such a bad idea.., while being cool!
|
|
|
|
|
I see the next redneck sport coming out of this.
"Hay Cletus! Let's order up some o dem ladies 'undies an' shoot dem Amerzons outta da sky when dey comes!"
It was broke, so I fixed it.
|
|
|
|
|
...so Amazon arm their delivery vehicles in response...and SkyNet is born...
|
|
|
|
|
Underneath, it's a hyper-alloy combat chassis, microprocessor-controlled. Fully armored; very tough. But outside... it's a harmless delivery vehicle - grown for the cyborgs.
It was broke, so I fixed it.
|
|
|
|