Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have asp.net application setup file with data base
if in my pc mysql and xampp not install than can i insert data in application??
is it possible ???
please help me
Thank You.
Posted

1 solution

If you are trying to use MySql as a database in your code, then your application must have access to an installation of MySql (and your code must use an appropriate connection string to connect to it) in order to work.

There are other ways to do it that require no external server installation, but exactly which way to go, and what changes your code would need will depend on what kind of data your application is using, what quantity, how many users need access to the same data, and how your application works at present. We have no access to that information.
 
Share this answer
 
Comments
Bama Boy 15-Oct-13 1:57am    
its only for one user and i want insert basic information like address name in mysql ...it is posible in setup without install mysql i insert
OriginalGriff 15-Oct-13 3:45am    
If it's for one user, and you only want to store a single address then MySql, MsSql or even Access, SqLite, or SqlCE is vastly overkill: use a applications settings file, or store a text file in the User Data folder and access it there!
Bama Boy 15-Oct-13 3:54am    
i already get database with .exe but there is mysql want to install or not ???
OriginalGriff 15-Oct-13 3:59am    
Sorry? That doesn't make any sense to me - it's probably a lack of coffee on my part.
Could you try rephrasing that, remembering that I can't see your screen?
Bama Boy 15-Oct-13 4:01am    
OK Thank You sir

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