Posts by Asylum • 163 points
3 posts
-
4
votes1
answer3994
viewsQ: Reset Auto-increment SQL Server
Good morning, I created a new table in Sqlserver and I am testing some scripts to popular the table and I came across the following situation, in my tests I am doing the Insert in the table checking…
-
6
votes1
answer92
viewsQ: What’s wrong with that code?
My college professor gave us this code and was asked what’s wrong: public class Teste { private static Teste INSTANCE = null; public static Teste getInstance() { if ( INSTANCE == null ) { INSTANCE =…
-
5
votes1
answer144
viewsA: How to highlight a word using REGEX
See if this can help you private void ColourRrbText(RichTextBox rtb) { Regex regExp = new Regex("^([^:]*)"); foreach (Match match in regExp.Matches(rtb.Text)) { rtb.Select(match.Index,…