Jonas Stawski

Everything .NET and More

Using Brackets with StringBuilder AppendFormat

I was in need of using some brackets with the AppendFormat of the StringBuilder class, but the brackets are a special character for the AppendFormat. The function uses the brackets to indicate variable placement. So in the code below the {0} will be ... [More]

Set Focus on a TextBox and Set a Default Button

ASP.Net 2.0 has a new feature (I learned about it today) and I must say it’s a pretty cool feature one that every web developer had to deal with since the very beginning. Now you can set initial focus on your form and also set a default button ... [More]