votes
What's the difference?
first [code]foreach (DataRow row in Table01.Rows) { int count = row.Field<int>(0); string name = row.Field<string>(1); } [/code] second [code]foreach (DataRow row in Table01.Rows) { int ...
blah blah blah is here! blah blah » Close
first [code]foreach (DataRow row in Table01.Rows) { int count = row.Field<int>(0); string name = row.Field<string>(1); } [/code] second [code]foreach (DataRow row in Table01.Rows) { int ...
I don't understand why, in c#, I cant' cast an object who's value is an integer to a type long. For example: [code]int x = 4; long y = (long)x; Console.WriteLine("y = " + y); // works Object obj = 4; Console.Wri ...
I have a List<Articles> collection. The class Articles implements IContent. I want the method to return a collection of IContent, List<IContent>. I want to do something like: List<IContent> content = articlesList ...
Hi, i'm trying to debug this line of code: [code] dateTimePicker1.Value = ap.Start.ToString("dd/MM/yyyy HH:mm:ss", null); [/code] but keep getting the folowing error? Cannot Implicity Convert 'String' To 'System.DateTim ...
Got feedack? Found a bug? report it here.