String sql="select * from Areas where Area_id like "%TxtAreaId%";
if(TxtAreaName!=null){
String wherSql="and Area_name like "%TxtAreaName%";
}
if(TextAreaType!=null){
String whereSql="and Area_Type like "%TextAreaType%";
}
sql+=whereSql;
String sql="select * from Areas where Area_id like "%TxtAreaId%";
if(TxtAreaName!=null){
String wherSql="and Area_name like "%TxtAreaName%";
}
if(TextAreaType!=null){
String whereSql="and Area_Type like "%TextAreaType%";
}
sql+=whereSql;