Just a quick for time format
That is common to have "AM/PM" in time format. That is usng "tt" Example: DateTime.Now.ToString("hh:mm tt")
Read moreMy .Net Blog — posts in this category.
That is common to have "AM/PM" in time format. That is usng "tt" Example: DateTime.Now.ToString("hh:mm tt")
Read moreThat is a common mistake for myself. I like to create some sub-windows which are acting a dialog. I am so easy to forget set ShowInTaskbar = false.
Read moreI am writing a simple diary application. I am using a monthcalendar control to select the date to load the diary. I need the control to display the date in…
Read moreThat is very easy by using Reflection. using System.Reflection; Assembly.GetExecutingAssembly().GetName().Version;
Read moreI like to use regular expression validation. That is simple. You only need to use:using System.Text.RegularExpressions For the numeric value validation: Regex…
Read moreI faced a number of error for parsing a string into int. In most of cases, there is a validation missing. If (IsNumeric(str)) { int i =0; Int32.TryParse(str,out…
Read moreI have tried to Convert.ToString to convert int into a format a comma in each thousand. I am not successfully. Well, because I went to a wrong way. I shoulduse…
Read moreThis afternoon, I was practicing Socket Programming in C#. That is the reason I wrote this program. http://www.itblogs.info/download/NetworkTester.zip This…
Read moreThat is easy!In Click of LinkLabel:System.Diagnostics.Process.Start("http://www.itblogs.info/");Then .Net Runtime will call your default browser.
Read moreI have done a google search on crypto topic. Some examples are saying to CryptoStream(outStream,…
Read moreI did an example to get an object from Spring Context. The key lines of code: IApplicationContext ctx = ContextRegistry.GetContext(); WindowConfig config =…
Read more