Re: Can you call asp function in asp.net?

From: Kat (Kat_at_discussions.microsoft.com)
Date: 12/02/04


Date: Thu, 2 Dec 2004 08:11:02 -0800

Does that mean that I have to do that for every inc files? Our old product
that is written in ASP will also be using these functions also.

thanks in advance!

"Cor Ligthert" wrote:

> Kat,
>
> Some changes that I typed in this message, not checked
>
> <script language="VB" runat=server>
> function test(ByVal strValue as String) as String
> ' convert single quote into a pair of single quotes
> return replace(strValue,"'","''")
> End function
> </script>
>
> I hope this helps something?
>
> Cor
>
>
>



Relevant Pages

  • Re: Building dynamic where clause with like & "*"
    ... but when I tried it in a query writing ... My suggestion was to add single quote before and after the value, ... you did with the string field. ... Dim strSQL As String ...
    (microsoft.public.access.modulesdaovba)
  • Re: sql character
    ... When I open the recordset using Like '%%' the error reads: ... that the single quote is being read as the end of the string even though it ... Dim strSQL As String, strSQL2 As String, strCombo As String, strBox As ...
    (microsoft.public.access.modulesdaovba)
  • Re: Form Navigation
    ... I think the problem is you've missed a single quote between the double ... > Sub OpenNextForm(strName As String) ... > Dim intOrder As Integer, ...
    (microsoft.public.access.forms)
  • An MD5 Hash with a single quote = grief in SQL query
    ... I know when you need to create a query string and the data contains a single ... quote, you must double the quote as an escape sequence. ... Hundreds of assumption cells combined into one 16 character Hash. ... But if the Hash string contains a single quote, ...
    (microsoft.public.excel.programming)
  • RE: Building dynamic where clause with like & "*"
    ... My suggestion was to add single quote before and after the value, ... The string portion ... Dim strSQL As String ...
    (microsoft.public.access.modulesdaovba)