Windows Forms Applications.

Posted by Bobd under C# on 6/18/2015 | Points: 10 | Views : 674 | Status : [Member] | Replies : 2
i'm new to the it whole thing, and now i'm working on a windows forms applications to be my very first project in my career.
I am having difficulties now, on writing code to update, delete, save and search for records in a database table.
Could someone help me out please by writing the code for me or telling me what to do please.
Thanks in advance.
BobD.




Responses

Posted by: Raja_89 on: 6/19/2015 [Member] Starter | Points: 25

Up
0
Down
Hai

The above process is very easy

Declare a vairable for connection string in App.config
Use that vairable in class file

Open the db connection
Create a method for opening a connection call it beginning in your application

Create a method with string as parameter to send query

Access that method by creating an instance in your form

Regards



Bobd, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bobd on: 6/19/2015 [Member] Starter | Points: 25

Up
0
Down
i need the code please.
Thanks.

Bobd, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response