Question Solutions are welcome in any language. :-) I'm looking for the fastest way to obtain the value of π, as a personal challenge. M...
Read More
Home
Archive for
July 2008
Binary Data in MySQL *
Question How do I store binary data in MySQL ?
Answer The answer by phpguy is correct but I think there is a lot of confusing additional ...
Read More
Filling a DataSet or DataTable from a LINQ query result set *
Question How do you expose a LINQ query as an ASMX web service? Usually, from the business tier, I can return a typed DataSet or DataTabl...
Read More
Determining a web user's time zone *
Question Is there a standard way for a Web Server to determine what time zone offset a user is in?
Perhaps from an HTTP header? Or part ...
Read More
How do I calculate relative time? *
Question Given a specific DateTime value, how do I display relative time, like:
2 hours ago
3 days ago
a month ago
Et cetera?...
Read More
How do I calculate someone's age in C#? *
Question Given a DateTime representing a person's birthday, how do I calculate their age?
Answer For some reason Jeff's code did...
Read More
Tool for Converting Visual J# code to C#? *
Question Are there any conversion tools for porting from Visual J# code to C# ?
Answer Have you tried Reflector + FileGenerator to dump...
Read More
Why doesn't the percentage width child in absolutely positioned parent work? *
Question I have an absolutely positioned div containing several children, one of which is a relatively positioned div . When I use a percen...
Read More
When setting a form's opacity should I use a decimal or double? *
Question I want to use a track-bar to change a form's opacity.
This is my code:
decimal trans = trackBar1.Value / 5000;
this.Opaci...
Read More
Subscribe to:
Comments
(
Atom
)