Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Visual Studio 2012 ---- create a database that can store all the info locally/send what is in textboxes to database with a button

$
0
0

Okay, all the application stuff is ready to go. I need to figure out how to create a blank database from scratch that will run off the local server. How do I get that working? I have started an .sql file with this code to build my table, but where do I go from there?

CREATE TABLE RCC (
orderID  	INTEGER(7) 	PRIMARY KEY,
Service_date		DATE,
phone_Number		INTEGER(10),
First_name 		VARCHAR(10) 	NOT NULL,
Last_name		VARCHAR(10)	NOT NULL,
vehicle_Make 	VARCHAR(10),
vehicle_Model 	VARCHAR(10),
vehicle_Color 	VARCHAR(10),
vehicle_Year	INTEGER(4),
vehicle_Mileage	INTEGER(9),
);
 

What I would like to do next is once my local database is running, I would like the textboxes  in my application that match up with the table column names I've created above to store the information entered straight in the database into their respective columns once I click the "save" button.

Any help would be very much appreciated.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>