hey all,
i am working on an application that will help my band director with uniform check in and check out. i originally started this project in Visual Basic but found that C sharp was far better for doing this. i am pretty well done with the Check Out form for one ouniform but now i need to submit all the information i take in from the form to a database for saving. here is as far as i have gotten.
this is all i have i cant understand how to really write to the database. i ahve a book for C sharp programming but i cant understand how to write the information to the database. please help?Code:SqlConnection dataConnection = new SqlConnection(); try { dataConnection.ConnectionString = "Integrated Security=ture;" + "Initial Catalog=Band;" + "Data Source = TNIXON-PC-05\\Sitz.CheckInCheckOut"; dataConnection.Open(); SqlDataAdapter dataAdapter = data } catch (Exception e) { Console.WriteLine("Error accessing the database: " + e.Message); }
thanks in advance




Reply With Quote
