Skip to content

Instantly share code, notes, and snippets.

View surfmuggle's full-sized avatar
💭
Browsing stuff

surfmuggle surfmuggle

💭
Browsing stuff
View GitHub Profile
@surfmuggle
surfmuggle / index.html
Created March 12, 2017 00:25 — forked from anonymous/index.html
empty-dust-5559
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>empty-dust-5559</title>
<link rel="stylesheet" href="styles.css">
<script type="application/dart" src="main.dart"></script>
</head>
@surfmuggle
surfmuggle / gist:6215414
Created August 12, 2013 21:22
How can i pivot every student in the StudentList so that i can databind a List<CourseDetails> to the same xtragrid. This is the code for a question on stackoverflow: http://stackoverflow.com/questions/18196882/binding-custom-object-with-list-to-grid
// Linqpad demo
void Main()
{
var getData = new GetData();
getData.Course1().Dump();
getData.Course2().Dump();
var list1 = GetData.StudentList1();
var list2 = GetData.StudentList2();
// List<Student> list1 = GetData.StudentList1().ToList<Student>();
// List<Student> list2 = GetData.StudentList2().ToList<Student>();