%@ Language=VBScript %> <% set cn = Server.CreateObject("ADODB.Connection") 'cn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=10.26.164.204;UID=supweb;PWD=support;DATABASE=support_web" 'cn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=127.0.0.1;UID=supweb;PWD=support;DATABASE=support_web" 'cn.Open "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=supweb;pwd=support;Initial Catalog=support_web;Data Source=." cn.Open GetConnectionString set rec = Server.CreateObject("ADODB.RecordSet") sql="select cust_id from cust where cust_id='"&Session("Name")&"' and pass='"&Session("pass")&"'" 'Response.Write (sql) rec.open sql,cn if not rec.EOF then 'rec.close 'cn.close 'set cn = nothing 'set rec = nothing %>
|
![]() |
|
|
![]() |
אתה נמצא ב: הדרכות
|
|
||||||
|
Questions or comments about the Web site? Contact the webmaster@sap.com. |
|