Click here to Skip to main content
15,914,397 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
respected sir/ madam,
i am doing a project on election voting system in vb .net. i have connected a database for it, but how can i use that data in another form in my project.in my project i provided voter list and candidates list who are participating in election.this election system like giving code to a particular voter to a particular candidate. now the problem is, in my project i have a form like casting form. in that i added text box, where we give a code to particular candidate to vote them. that to which i provided in my database. so kindly help me, to retrieve that data, how to write the code for that. please.

please send me solution as soon as possible.
my database connction is ms access. if i give a password/ code to candidate textbox, it should go to database, and should check it, if yes it should cast.
Posted
Updated 14-Oct-13 4:10am
v3

1 solution

Hi
Please clear your question we can not speculate what is your DBMS for example Access, MS-SQL or ... so if you are use MS SQL you should set ip base connection string you can see from this link:
http://www.connectionstrings.com/[^]

If you are use a MS Access I suppose to you change your DBMS and use MS-SQL for any question please tell me ;-)

Best Regards
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900