在网上下载了ASP+jQuery无刷新读写数据库操作(http://www.codefans.net/soft/4296.shtml)
觉得很好,但是我想在asp.net下实现  不知道如何改??
谁给看看?
类似的点击添加的时候 弹出输入对话框,按添加或者关闭后 消失谁给改改????

解决方案 »

  1.   

    Function VbsUnEscape(str)
                        Dim x
            x=InStr(str,"%") 
            Do While x>0
                VbsUnEscape=VbsUnEscape&Mid(str,1,x-1)
                If LCase(Mid(str,x+1,1))="u" Then
                    VbsUnEscape=VbsUnEscape&ChrW(CLng("&H"&Mid(str,x+2,4)))
                    str=Mid(str,x+6)
                Else
                    VbsUnEscape=VbsUnEscape&Chr(CLng("&H"&Mid(str,x+1,2)))
                    str=Mid(str,x+3)
                End If
                x=InStr(str,"%")
            Loop
            VbsUnEscape=VbsUnEscape&str
        End Function以上这几行代码 如何改成在c#环境下使用asp下的instr() mid() ChrW() chr() clng() 在C#下分别对应哪些函数????