I am trying to insert a DataTable into a SQL Server database. I'm not sure the best way to go about this. Should I loop through each row in the DataTable and insert them indvidually with seperate Insert statements or is there a way to Insert the entire DataTable with one shot. Is anyone...
I have a block of code on the start page of my application that checks the users settings file and performs some tasks. I then want to set a couple of those setting values to a variable that I can get the value of during the data service portion of my application. I can't seem to call them out...
I want to start a timer right when my program is launched and store the value of the time as a static variable so that I can call the timer function and get the time that the program has been running. My goal is to be able to determine the time from when the program was launched and pass it...
I am writing a function for a Windows application that takes a few arguments. I then want to take the values of these arguments and write them to a file on the users machine using the System class to access the users datapath. I then want to read that file the next time the app is launched and...
I am need to write some code that tracks the users actions and writes them to a text file which will then be sent to a database. Such as what buttons they click on, what they drag and drop and other events. This way we know how to make the software better in the future. Has anyone done anything...
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.