Can you reply with the code so we can look? You can change names of variables or connections that might be for internal use only.
Maybe members of the form can help. I would describe what you understand and where you're lost and what steps you have taken so far.
I'd use a using statement for my connection and then wrap your other statements inside. I'm pretty sure the using statement will close/dispose of your connection automatically.
As far as the regex goes, I'd use something like the following. You'd have to customize it to work with your read file but that shouldn't really be hard. I know you don't like regular expressions but honestly if you take a few hours to learn them, they're really not to bad and super useful in...
Hello,
I'm new to the forum and learning C#. So I'm probably going to take some blasting over the next few months for not having clean code. But I figured a good way to get good at C# is to practice. I thought maybe I could look and form post and try to solve them and that would not only help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.