Click here to Skip to main content
15,889,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am a new in java programming, I need program to create dsn auto when the program is running.
So I need to know how to write source code to do this.
Thanks,
Kitsana
Posted

DSN = 0
WHILE (some condition is TRUE)
DO
    DSN = DSN + 1
    CALL OtherProcessingFunctions()
DONE
 
Share this answer
 
Comments
Nagy Vilmos 14-Nov-11 8:13am    
That's not even Java! ;)
Richard MacCutchan 14-Nov-11 12:05pm    
Clever clogs!
Thanks for help but:

I would like to create a dsn within my java program without going to the control panel -> Administrative Tools -> Data Sources (ODBC).
 
Share this answer
 
Comments
Nagy Vilmos 14-Nov-11 8:14am    
Post this as a comment to Richard and he /may/ help. Then again he /may/ suggest a small amount of effort on your part.

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