CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 I need source code to connect to database

Print topic Send  topic

Author Message
harsha

Posts: 16
Posted: 10/17/2007, 1:56 AM

Hi,
I need to connect to the data base using java , and also need instruction about how to call the connection to another programme , please give the correct guide lines for this.
Thanks
View profile  Send private message
sonic

Posts: 8
Posted: 10/17/2007, 2:06 AM

Hi,
What DataBase are you using?
After this I'll tell you how you can connect.
View profile  Send private message
harsha

Posts: 16
Posted: 10/17/2007, 2:11 AM

Hi,
am using MYSQL database....
View profile  Send private message
sonic

Posts: 8
Posted: 10/17/2007, 2:47 AM

Have you ICQ number? It would be usefull now.
View profile  Send private message
harsha

Posts: 16
Posted: 10/17/2007, 2:55 AM

I do not have that number .....
can you please mail the codes and provide instruction of how to run the programme
Thanks
View profile  Send private message
sonic

Posts: 8
Posted: 10/17/2007, 3:13 AM

Ok, so tell me you've created ODBCDataSource?
View profile  Send private message
harsha

Posts: 16
Posted: 10/17/2007, 3:23 AM

Now i have created a database using the MYSQl, in this I have a table called checking where I have two attributes i.e userrname and password, now the issue is how to validate the user ,through his username and password and forward him to another page say user-profile page.
Now i got the connection also but do not know how to validate him .
Please help me .
View profile  Send private message
sonic

Posts: 8
Posted: 10/17/2007, 4:06 AM

As far as understood you want to create Login Page? Am I right?
View profile  Send private message
harsha

Posts: 16
Posted: 10/17/2007, 4:22 AM

Yes i need a login page.
View profile  Send private message
sonic

Posts: 8
Posted: 10/17/2007, 5:16 AM

1. You have to configure : ProjectSettings -> Security
Security Method : Table
Login Page: (PageName with Login Form).ccp
Connection: (Your MySQL Connection)
....
....
You have to enter all fields.
So as you understand there have to be all fields in your table in DataBase.


2. You have to configure : ProjectSettings -> Security Groups
Add 2 groups:
1 Users
2 Admins


View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.