Ticker

6/recent/ticker-posts
thumbnail

DBSearch

 import java.sql.ResultSet;

import java.sql.Statement;

public class DBSearch {

Statement stmt;

ResultSet rs;

public ResultSet searchLogin(String usName) {

try {

stmt = DBConnection.getStatementConnection();

String name = usName;

//Execute the Query

rs = stmt.executeQuery("SELECT * FROM login where username='" + name + "'");

} catch (Exception e) {

e.printStackTrace();

}

return rs;

}

}

Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments

About

Powered by Blogger.

Ad Code

Responsive Advertisement

Search This Blog

Blog Archive

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's.

Subscribe Us

Popular Posts