Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

[¸ß·ÖÇóÖú]°ïæתÏ´úÂë(ASP(VBSCRIPT) TO C#)лл~!

function mistake(preString)
      Dim texts
      Dim seed
      Dim i,length
      prestring = trim(preString)
      length = len(preString)
      seed = length
      Randomize(length)
      texts = ""
      for i = 1 to length
            seed = int(94*rnd(-asc(mid(preString,i,1))-seed*asc(right(prestring,1)))+32)
            texts = texts & chr(seed) & chr(int(94*rnd(-seed)+32))
      next
dim dist
dist=""
for i = 1 to len(texts)
  if mid(texts,i,1) <>"'"  then
      dist=dist+mid(texts,i,1)
      end if
    next
    mistake = dist
end function
ÔÚÏߵȰ¡!~!~!~!~!~!~!~!~  À´È˰¡!~!~!~!~

°¡°¡°¡°¡°¡°¡°¡°¡°¡

ÎÒµ¹!~


C# code:
public String mistake(string preString)
{
int i;
preString = preString.Trim();
int length = preString.Length;
int seed = length;
VBMath.Randomize(length);


Ïà¹ØÎÊ´ð£º

Ò»¶Îaspתphp

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

ASPÔõôÁ¬½Ósql server 2008 £¬windowsÑé֤ģʽ

ÎÒ×°µÄÊÇwindows7 £¬Êý¾Ý¿âÏëÓÃsql server 2008Á¬asp£¬²»¹ýÎÒ²»ÖªµÀsql server 2008µÄÓû§ÃûºÍÃÜÂëÁË£¬ÏëÓÃwinÑéÖ¤£¬ÊÔÁ˼¸±éû³É¹¦£¬Çë´ó¼Ò°ïæ¡£
    ˳±ãÎÊһϣ¬ÎÒÔõôÄܲé³öÀ´×Ô¼ºsql 2008µÄÓû§Ã ......

ASP¶à±í²éѯ£¬Ò»¶Ô¶à

ÎÒÒª²éѯÁ½ÕűíµÄÊý¾Ý£¬Ò»ÕűíÒ»ÌõÊý¾Ý¶ÔÓ¦ÁíÒ»ÕűíµÄ¶àÌõÊý¾Ý£¬SQLÊý¾Ý¿â
±í1£º                ±í2£º
id  name ...          ctrI ......

¼Ùǰ×îºóÒ»ÌûASPµ÷ÓÃVB×é¼þ

ÎÒÓÃVB°´MVCµÄ¹¹¼Üд×é¼þ¹©ASPµ÷ÓÃ
BLL²ã
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub

ASPÖе÷ÓÃ
VB c ......

ÎÒÏëÎÊÏ£¬ÔÚaspÖÐÕâ¶Îº¯ÊýʲôÒâ˼

Function listPages(LinkFile)
  if not (rs.eof and rs.bof) then
gopage=currentpage
totalpage=n
blockPage=Int((gopage-1)/10)*10+1

If LCase(Request.ServerVariables("HT ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ