<?
include "objDB.php";
include "objGrid1.php";
$grd = new obj_grid();
$sql = "SELECT cli_id, cli_nome FROM obj_cli ORDER BY cli_nome";
$grd->setSQL($sql);
$grd->setTitulo(" Cliente ");
?>
<HTML>
<HEAD>
<TITLE>Objeto</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="obj.css">
<SCRIPT Language="Javascript">
function Sele(inCliId, inCliNome){
parent.Corpo.frmCli.cli_id.value = inCliId;
parent.Corpo.frmCli.cli_nome.value = inCliNome;
}
</SCRIPT>
</HEAD>
<BODY>
<CENTER>
<?=$grd->Grid();?>
</CENTER>
</BODY>
</HTML>
|