Prezado, Tentei, testei mas não consegui. Segue abaixo códigos de minhas páginas. Inscricao.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/Conectar.asp" --> <% ' *** Edit Operations: declare variables Dim MM_editAction Dim MM_abortEdit Dim MM_editQuery Dim MM_editCmd Dim MM_editConnection Dim MM_editTable Dim MM_editRedirectUrl Dim MM_editColumn Dim MM_recordId Dim MM_fieldsStr Dim MM_columnsStr Dim MM_fields Dim MM_columns Dim MM_typeArray Dim MM_formVal Dim MM_delim Dim MM_altVal Dim MM_emptyVal Dim MM_i MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")) If (Request.QueryString <> "") Then MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString) End If ' boolean to abort record edit MM_abortEdit = false ' query string to execute MM_editQuery = "" %> <% ' *** Insert Record: set variables If (CStr(Request("MM_insert")) = "form1") Then MM_editConnection = MM_Conectar_STRING MM_editTable = "seletivo" MM_editRedirectUrl = "pos_inscricao.asp" MM_fieldsStr = "nome|value|endereco|value|numero|value|bairro|value|cidade|value|cep|value|email|value|telresidencial|value|telcelular|value|telcomercial|value|nascimento|value|sexo|value|cpf|value|rg|value|estadocivil|value|necessidade|value|escolaconcluiu|value|anoconclusao|value|curso|value|fonteinformacao|value|agendamento|value" MM_columnsStr = "nome|',none,''|endereco|',none,''|numero|',none,''|bairro|',none,''|cidade|',none,''|cep|none,none,NULL|email|',none,''|telresidencial|',none,''|telcelular|',none,''|telcomercial|',none,''|nascimento|',none,''|sexo|',none,''|cpf|',none,''|rg|',none,''|estadocivil|',none,''|necessidade|',none,''|escolaconcluiu|',none,''|anoconclusao|',none,''|curso|',none,''|fonteinformacao|',none,''|agendamento|',none,''" ' create the MM_fields and MM_columns arrays MM_fields = Split(MM_fieldsStr, "|") MM_columns = Split(MM_columnsStr, "|") ' set the form values For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i))) Next ' append the query string to the redirect URL If (MM_editRedirectUrl <> "" And Request.QueryString <> "") Then If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString Else MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString End If End If End If %> <% ' *** Insert Record: construct a sql insert statement and execute it Dim MM_tableValues Dim MM_dbValues If (CStr(Request("MM_insert")) <> "") Then ' create the sql insert statement MM_tableValues = "" MM_dbValues = "" For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2 MM_formVal = MM_fields(MM_i+1) MM_typeArray = Split(MM_columns(MM_i+1),",") MM_delim = MM_typeArray(0) If (MM_delim = "none") Then MM_delim = "" MM_altVal = MM_typeArray(1) If (MM_altVal = "none") Then MM_altVal = "" MM_emptyVal = MM_typeArray(2) If (MM_emptyVal = "none") Then MM_emptyVal = "" If (MM_formVal = "") Then MM_formVal = MM_emptyVal Else If (MM_altVal <> "") Then MM_formVal = MM_altVal ElseIf (MM_delim = "'") Then ' escape quotes MM_formVal = "'" & Replace(MM_formVal,"'","''") & "'" Else MM_formVal = MM_delim + MM_formVal + MM_delim End If End If If (MM_i <> LBound(MM_fields)) Then MM_tableValues = MM_tableValues & "," MM_dbValues = MM_dbValues & "," End If MM_tableValues = MM_tableValues & MM_columns(MM_i) MM_dbValues = MM_dbValues & MM_formVal Next MM_editQuery = "insert into " & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")" If (Not MM_abortEdit) Then ' execute the insert Set MM_editCmd = Server.CreateObject("ADODB.Command") MM_editCmd.ActiveConnection = MM_editConnection MM_editCmd.CommandText = MM_editQuery MM_editCmd.Execute MM_editCmd.ActiveConnection.Close If (MM_editRedirectUrl <> "") Then Response.Redirect(MM_editRedirectUrl) End If End If End If %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Processo Seletivo 2009/1</title> <style type="text/css"> <!-- body { background-color: #F4F4F4; } .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 16px; } .style3 {font-size: 11px} .style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } .style6 { font-size: 5px; color: #FFFFFF; } .style8 {font-size: 5px} .style9 {color: #FFFFFF} .style7 {color: #993300} --> </style></head> <body> <table width="779" border="0" align="center"> <tr> <td width="773" bgcolor="#FFFFFF"><table width="773" border="0"> <tr> <td width="767"><div align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="767" height="121"> <param name="movie" value="imagens/topo.swf" /> <param name="quality" value="high" /> <embed src="imagens/topo.swf" width="767" height="121" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object> </div></td> </tr> <tr> <td bgcolor="#F6F811"><div align="center" class="style1">Processo Seletivo 2009/1 </div></td> </tr> <tr> <td><div align="center"> <form ACTION="<%=MM_editAction%>" METHOD="POST" name="form1"> <table width="751" align="center"> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Nome completo:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="nome" value="" size="70" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Endereço Completo:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="endereco" value="" size="65" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Número:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="numero" value="" size="10" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Aptº:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="apto" value="" size="10" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Bairro:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="bairro" value="" size="32" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Cidade:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="cidade" value="" size="40" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">CEP:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="cep" value="" size="20" /> (Ex: 333.333-33)</div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Email:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="email" value="" size="50" /> </div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#FFFFFF"><span class="style6">1</span></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Telefone residencial:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="telresidencial" value="" size="20" /> (027) 3333-3333</div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Telefone celular:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="telcelular" value="" size="20" /> (027) 3333-3333</div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Telefone comercial:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="telcomercial" value="" size="20" /> (027) 3333-3333</div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#FFFFFF"><span class="style6">1</span></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Data de Nascimento: </span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="nascimento" value="" size="20" /> (Ex: 14/05/1982) </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Sexo:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <label> <select name="sexo" id="sexo"> <option value=" "> </option> <option value="feminino">Feminino</option> <option value="masculino">Masculino</option> </select> </label> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">CPF:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="cpf" value="" size="20" /> (somente números) </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">RG:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="rg" value="" size="25" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Estado Civil: </span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <label> <select name="estadocivil" id="estadocivil"> <option value="Solteiro(a)">Solteiro(a)</option> <option value="Casado(a)">Casado(a)</option> <option value="Separado(a)">Separado(a)</option> </select> </label> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">É portador de necessidade especial?</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <select name="necessidade" id="necessidade"> <option value=" "> </option> <option value="sim">Sim</option> <option value="não">Não</option> </select> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Qual necessidade?</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="necessidadequal" value="" size="50" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Escola que concluiu o Ensino Médio:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="escolaconcluiu" value="" size="75" /> </div></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"><span class="style9">Ano de conclusão do ensino Médio:</span></div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <input type="text" name="anoconclusao" value="" size="10" /> (Ex:2007)</div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#FFFFFF"><span class="style8">1</span></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"> <p class="style9">Curso pretendido: <br /> </p> <p class="style9"> <span class="style7">* Campo obrigatório </span></p> </div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <p> <label> <input type="radio" name="curso" value="Administração de Empresas (Noturno)" /> Administração de Empresas (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="Biblioteconomia (Noturno)" /> Biblioteconomia (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="Ciência Política (Noturno)" /> Ciência Política (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="Design (Projeto de Produto)" /> Design (Projeto de Produto)</label> <br /> <label> <input type="radio" name="curso" value="Direito (Noturno)" /> Direito (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="História (Noturno)" /> História (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="Letras Português/Espanhol (Matutino)" /> Letras Português/Espanhol (Matutino)</label> <br /> <label> <input type="radio" name="curso" value="Letras Português/Inglês (Matutino)" /> Letras Português/Inglês (Matutino)</label> <br /> <label> <input type="radio" name="curso" value="Matemática (Noturno)" /> Matemática (Noturno)</label> <br /> <label> <input type="radio" name="curso" value="Pedagogia (Matutino)" /> Pedagogia (Matutino)</label> <br /> <label> <input type="radio" name="curso" value="Secretariado Executivo Trilígüe (Noturno)" /> Secretariado Executivo Trilígüe (Noturno)</label> <br /> </p> </div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#FFFFFF"><span class="style6">1</span></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"> <p class="style9">Fonte de Informação sobre o Processo Seletivo: </p> <p class="style9"><span class="style7">* Campo obrigatório </span></p> </div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <p> <label> <input type="radio" name="fonteinformacao" value="Outdoor" /> Outdoor</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Anúncio de Jornal" /> Anúncio de Jornal</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Anúncio On Line" /> Anúncio On Line</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Panfleto" /> Panfleto</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Anúncio de Televisão" /> Anúncio de Televisão</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Rádio" /> Rádio</label> <br /> <label> <input type="radio" name="fonteinformacao" value="No próprio site do Cesat" /> No próprio site do Cesat</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Indicação de Amigo" /> Indicação de Amigo</label> <br /> <label> <input type="radio" name="fonteinformacao" value="Outro" /> Outro</label><br /> </p> <label></label> </div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#FFFFFF"><span class="style6">1</span></td> </tr> <tr valign="baseline"> <td align="right" nowrap="nowrap" bgcolor="#8A9292"><div align="left" class="style4"> <p class="style9">Agendamento da Prova:</p> <p class="style9"><span class="style7">* Campo obrigatório </span></p> </div></td> <td bgcolor="#F5F4F7"><div align="left" class="style4"> <select name="agendamento" size="1" id="agendamento"> <option value=" "> </option> <option>--------------------------------- Terça-feira</option> <option value="30 de outubro, das 8h ás 11h ">30 de outubro, das 8h às 11h </option> <option value="30 de outubro, das 14h às 17h">30 de outubro, das 14h às 17h</option> <option value="6 de novembro, das 8h ás 11h ">6 de novembro, das 8h às 11h </option> <option value="6 de novembro, das 14h às 17h ">6 de novembro, das 14h às 17h </option> <option value="13 de novembro, das 8h ás 11h ">13 de novembro, das 8h às 11h </option> <option value="13 de novembro, das 14h às 17h ">13 de novembro, das 14h às 17h </option> <option value="20 de novembro, das 8h ás 11h ">20 de novembro, das 8h às 11h </option> <option value="20 de novembro, das 14h às 17h ">20 de novembro, das 14h às 17h </option> <option value="27 de novembro, das 8h ás 11h ">27 de novembro, das 8h às 11h </option> <option value="27 de novembro, das 14h às 17h ">27 de novembro, das 14h às 17h </option> <option value=" "> </option> <option>------------------------------------------Quinta-feira</option> <option value="25 de outubro das 8h às 11h">25 de outubro das 8h às 11h</option> <option value="25 de outubro das 14h às 17h">25 de outubro das 14h às 17h</option> <option value="1 de novembro, das 8h ás 11h ">1 de novembro, das 8h às 11h </option> <option value="1 de novembro, das 14h às 17h ">1 de novembro, das 14h às 17h </option> <option value="8 de novembro, das 8h ás 11h ">8 de novembro, das 8h às 11h </option> <option value="8 de novembro, das 14h às 17h ">8 de novembro, das 14h às 17h </option> <option value="22 de novembro, das 8h ás 11h ">22 de novembro, das 8h às 11h </option> <option value="22 de novembro, das 14h às 17h ">22 de novembro, das 14h às 17h </option> <option value="29 de novembro, das 8h ás 11h ">29 de novembro, das 8h às 11h </option> <option value="29 de novembro, das 14h às 17h ">29 de novembro, das 14h às 17h </option> <option value=" "> </option> <option>-----------------------------------------sábado</option> <option value="27 de outubro, das 8h às 11h">27 de outubro, das 8h às 11h</option> <option value="3 de novembro, das 8h às 11h">3 de novembro, das 8h às 11h</option> <option value="10 de novembro, das 8h às 11h">10 de novembro, das 8h às 11h</option> <option value="17 de novembro, das 8h às 11h">17 de novembro, das 8h às 11h</option> <option value="24 de novembro, das 8h às 11h">24 de novembro, das 8h às 11h</option> </select> </div></td> </tr> <tr valign="baseline"> <td colspan="2" align="right" nowrap bgcolor="#F5F4F7"><div align="left" class="style4"></div> <span class="style4"> <label> </label> </span> <span class="style3"> <label></label> </span> <label> <div align="left" class="style4"> <div align="center"> <input name="submit" type="submit" value="Enviar" /> <input type="reset" name="Reset" value="Limpar" /> </div> </div> </label></td> </tr> </table> <input type="hidden" name="MM_insert" value="form1"> <br /> </form> </div></td> </tr> <tr> <td bgcolor="#F6F811"> </td> </tr> </table></td> </tr> </table> </body> </html> pos-inscricao.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/Conectar.asp" --> <% Dim Recordset1 Dim Recordset1_numRows Set Recordset1 = Server.CreateObject("ADODB.Recordset") Recordset1.ActiveConnection = MM_Conectar_STRING Recordset1.Source = "SELECT * FROM seletivo" Recordset1.CursorType = 0 Recordset1.CursorLocation = 2 Recordset1.LockType = 1 Recordset1.Open() Recordset1_numRows = 0 %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Process Seletivo CESAT 2009/1</title> <style type="text/css"> <!-- body { background-color: #F4F4F4; } .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 16px; } .style2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; } .style3 {font-family: Verdana, Arial, Helvetica, sans-serif} .style5 {font-size: 12px} .style7 {font-size: 12px; color: #FF0000; } .style8 {color: #000000} --> </style></head> <body> <table width="770" border="0" align="center"> <tr> <td bgcolor="#FFFFFF"><table width="769" border="0"> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="767" height="121"> <param name="movie" value="imagens/topo.swf" /> <param name="quality" value="high" /> <embed src="imagens/topo.swf" width="767" height="121" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object></td> </tr> <tr> <td bgcolor="#F6F811"><div align="center" class="style1">Processo Seletivo 2009/1 </div></td> </tr> <tr> <td><div align="center"> <table width="769" border="0"> <tr> <td><div align="center" class="style2"> <p><br /> Sua inscrição foi realizada com sucesso. </p> <form id="form1" name="form1" method="get" action="inscritos_comprovante.asp"> <label><span class="style3"><span class="style7">Para realizar a prova do PROCESSO SELETIVO 2009/1 é obrigatório a apresentação do comprovante de inscrição. <br /> <br /> <span class="style8">Emitir comprovante de inscrição </span></span><br /> <br /> <span class="style5">CPF:</span></span> <span class="style5"> <input name="cpf" type="text" id="cpf" /> </span></label> <span class="style5"> <label> <input type="submit" name="Submit" value="Imprimir" /> </label> </span> <label> </label> <br /> </form> <p> <label></label> </p> </div></td> </tr> <tr> <td bgcolor="#F6F811"> </td> </tr> <tr> <td> </td> </tr> </table> <br /> </div></td> </tr> <tr> <td> </td> </tr> </table></td> </tr> </table> </body> </html> <% Recordset1.Close() Set Recordset1 = Nothing %>