Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Name save in a database
July 17, 2013
This coding is not sufficiant for me. I want created a Windows Application Not a Web Application. which is i deploy in my system.When i open the software then enter a name and age value in the text box,now i click on the save button then it show a message "value save in the databse".and the click on the delete button,show a message "delete value in the database".
Now describe whole the program which is i created :-
1.Firstly i open a c# windows apllication form then creat a two textboxes and two button Save and Delete.
2.Now i am create a database, Right click on solution Explorer->Add->New Item-> Service Based select then cancel.
3.Now create a table, name "userid" in server exlporer.
4.Table have two field username and age now i fill the table (some database value like my name and age) through "show table".
5.Now i added a Reference SqlServerCe and add a namespace then create a Sql conncection.
6.If This coding and database creation is right then Please tell me other coding of that program Step by step.
7.Find the attached design file.
form1.cs coding file:-
public partial class Form1 : Form
SqlConnection con = new SqlConnection("Data Source=USER-PC;Initial Catalog=project1;Integrated Security=True");
private void button1_Click(object sender, EventArgs e)
No response found. Be the first to respond this post
To post reply
Related Questions Related Questions
read excel file and save into database
save outlook data into sql database
to save data from listbox to database
how to save radio listbox contents into database
How to save radiobutton value to database
upload video ((.wmv,.avi,.flv)unlimited size)in asp.net using sql server database(does not save fold
Images slideshow directly from the database( does not from save any folder).
how to save contactus details in database
Save name, Age through text box in database
How to read Unicode form PDF File and Save into DataBase ?
Latest Forum Questions From The Same Category
To Achieve draw wave form from speaker outputs.
How to display the text in the second ck editor with strikes while extracting from database
Mail is working but I want send two excel file to each different person
how to display child nodes with headers and keeping the child nodes in a table
In DataGrid I have Two Dropdownlist, One in Header template and Item Template
Display data directly from database table to PDF using stored procedures in asp.net C#
How to install and use Dev Express ?
Dialogbox Custom Control
Custom Control in Winforms
I just started learning c#.net console application
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend