Click here to Skip to main content
15,504,286 members
Home / Discussions / C#
   

C#

 
QuestionC# modify ssrs report property Pin
dcof14-Nov-13 11:41
dcof14-Nov-13 11:41 
QuestionConvert HTML to PDF Pin
NYCABR14-Nov-13 9:50
NYCABR14-Nov-13 9:50 
QuestionThreading - Play / pause / stop question Pin
Mirko Jurcevic14-Nov-13 3:07
Mirko Jurcevic14-Nov-13 3:07 
AnswerRe: Threading - Play / pause / stop question Pin
Pete O'Hanlon14-Nov-13 3:28
mvaPete O'Hanlon14-Nov-13 3:28 
GeneralRe: Threading - Play / pause / stop question Pin
Mirko Jurcevic14-Nov-13 3:33
Mirko Jurcevic14-Nov-13 3:33 
GeneralRe: Threading - Play / pause / stop question Pin
Pete O'Hanlon14-Nov-13 4:02
mvaPete O'Hanlon14-Nov-13 4:02 
AnswerRe: Threading - Play / pause / stop question Pin
Ennis Ray Lynch, Jr.14-Nov-13 6:41
Ennis Ray Lynch, Jr.14-Nov-13 6:41 
QuestionConvert Datatable data into Json data in C# Pin
susanna.floora14-Nov-13 2:12
susanna.floora14-Nov-13 2:12 
i have a data table which as Name and employee Id Details

Name EmpID
Tom 1238
Dick 1069

if i use the code
string json = JsonConvert.SerializeObject(dt, Formatting.Indented);
i get Json data as follows

[
{
"Name": "Tom",
"EmpID": 1238
},
{
"Name": "Dick",
"EmpID": 1069
}
]

But i need the JSon data in the below format how do i achieve it???


"DATA": [
["Tom", 1238],
["Dick", 1069]
]
AnswerRe: Convert Datatable data into Json data in C# Pin
V.14-Nov-13 3:04
professionalV.14-Nov-13 3:04 
AnswerRe: Convert Datatable data into Json data in C# Pin
Richard Deeming14-Nov-13 5:19
mveRichard Deeming14-Nov-13 5:19 
Question[Solved] Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 21:06
emma.sun.sts13-Nov-13 21:06 
AnswerRe: Windows Service - problem with write file at scheduled time Pin
Bernhard Hiller13-Nov-13 21:56
Bernhard Hiller13-Nov-13 21:56 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 22:25
emma.sun.sts13-Nov-13 22:25 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Bernhard Hiller13-Nov-13 22:29
Bernhard Hiller13-Nov-13 22:29 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 22:39
emma.sun.sts13-Nov-13 22:39 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Eddy Vluggen13-Nov-13 22:48
professionalEddy Vluggen13-Nov-13 22:48 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Pete O'Hanlon14-Nov-13 1:14
mvaPete O'Hanlon14-Nov-13 1:14 
Questionread only Pin
seeker6213-Nov-13 9:41
seeker6213-Nov-13 9:41 
SuggestionRe: read only Pin
Richard MacCutchan13-Nov-13 9:56
mveRichard MacCutchan13-Nov-13 9:56 
GeneralRe: read only Pin
seeker6213-Nov-13 10:13
seeker6213-Nov-13 10:13 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 10:29
mveRichard MacCutchan13-Nov-13 10:29 
GeneralRe: read only Pin
seeker6213-Nov-13 10:47
seeker6213-Nov-13 10:47 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 11:42
mveRichard MacCutchan13-Nov-13 11:42 
GeneralRe: read only Pin
seeker6213-Nov-13 11:49
seeker6213-Nov-13 11:49 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 11:57
mveRichard MacCutchan13-Nov-13 11:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.