hello<BR>With asp I use the next function for search a row in a table . In don´t now as maker the function in asp.net without use database procedures. You can help me.Thanks <BR><BR><BR>FUNCTION checkclave( clave, nick_name )<BR> sqlString = "SELECT piloto_id FROM total " &_<BR> "WHERE clave=&#039;"&clave&"&#039; AND nick_name=&#039;"&nick_name&"&#039; AND <BR>tipo_clave=&#039;A&#039;"<BR> SET RS = Con.Execute( sqlString )<BR> IF RS.EOF THEN <BR> checkclave = - 1<BR> ELSE<BR> checkclave = RS( "piloto_id" )<BR> END IF<BR>END FUNCTION