Flash and the integration of database applications Asp

Related Tags:

  Look at this case prior to talk about the combination of Flash and Asp principle, in fact understand that ASP friends all know that the ASP is based on HTML. 
  In fact, Flash and Asp interface pure ASP principle and the principle of interaction between the document is very simple and that is the data exchange between the pages.    Understand this point, we have to look at this simple example below: 
  ACCESS this example is to read out the data, and Flash in the show.    This example a total of the three main papers, one employees.mdb ACCESS database files, which employees have a table, there are four fields: ID, Namelast, Lastname, Position. 
  We will now take a look at this example of the production process it.    The first video frame, ACTION is stop, there is a field for user input for the text box: strSearch, a button: submit its ACTION: 
  In the (open) 
  Skip and audio (2) 
  From the second video frame ACTION: load parameters ( "employee.asp", 0, = GET vars) 
  ACTION this is the role of the document through the ASP ACCESS database with user query the data read out the conditions. 
  The third video frames ACTION: 
  If (NameFirst ne "") 
  Skip and stop (9) 
  If the withdrawal does not mean is that if NameFirst equivalent value of the space, video on the Skip to the ninth frame, otherwise it will be the implementation (ie, a video player frame). 
  Article 4-7 of video frames are not ACTION oh. 
  Eight video frames ACTION: 
  Skip and play (3) 
  Come back to look at the third look at the video frame, Oh, understood? 
  If not consistent with the data, there has been read so far; read on the video Skip to the ninth frame oh. 
  Then again look at the ninth frame video: 
  A total of three text boxes: NameFirst, NameLast, Position 
  Database with data on the conditions of them will be displayed in Oh! 
  There is a button: Do It Again 
  It is the ACTION: 
  In the (open) 
  Skip and stop (1) 
  The denunciation well, and then look at it employee.asp this document: 
  Dim oRS, oConn 'definition of the two variables 
  Set oRS = Server.CreateObject ( "ADODB.Recordset") 'definition oRS target for RECORDSET 
  Set oConn = Server.CreateObject ( "ADODB.Connection") 'definition oConn object to CONNECTION 
  OConn.ConnectionString = "Driver = (Microsoft Access Driver (*. mdb)); 
  DBQ = "& Server.MapPath (" employees.mdb ") 
  ORS.Open "SELECT * FROM Employees," oConn, 2, 3 
  'Hei hei, the two Needless to say?    Open database oh 
  ORS.Find "NameLast = '" & UCase (Request.QueryString ( "strSearch")) & "'" 
  'To find qualified data 
  If oRS.EOF Then 'If the data pointer in the end have Response.Write "NameLast = Not Found & NameFirst = Not Found & Position = Not Found"' Oh, it is not found NameLast eligible data 1,10 Else 
  Response.Write "NameFirst =" 
  & Server.URLEncode (oRS ( "NameFirst")) 
  & "& NameLast =" & Server.URLEncode (oRS ( "NameLast")) 
  & "& Position =" & Server.URLEncode (oRS ( "Position")) 
  'Find it is to find 1,10 (just nonsense..) 
  End If 
  ORS.Close 
  Set oRS = Nothing 
  OConn.Close 
  Set oConn = Nothing 'closed and empty database objects 

Related articles:

Flash solution in the film picture jitter sawtooth phenomenon
  Long ago that this solution was raised today on the way to talk about.    Flash movie default is a high-quality, higher in fact can be [more consumption of resources].    AS control:    _quality = "Best";    Publishing Wizard or in the HTM...
JavaScript with graphics - JS2D Function Set
  <script Language="javascript"> <br />    /****************** JS2D Function Set *******************< br />    <br />    Author: neweroica 2003-3-28 <br />    <br />    CopyRight (C) 2003 <br...
Web2.0 is not a technical but a concept
  Author: Yan-chi    To understand WEB2.0, come look at the history of WEB.    World Wide Web, or WWW, the British TimBerners-Lee in 1989 in the European Community as a major scientific research institutions, inventions.    WEB through Internet resources on the W...
Usage of alternative background-position
  <DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns = "http : / / www.w3.org/1999/xhtml "> <head> <meta http-equiv="Content-Type" content=&qu...
Fireworks MX 2004 produced using IE browser icon
  1, the new canvas, select Ellipse tool by SHIFT drawing a round, then drawing a circle slightly smaller than the internal oval, the use of the two menu command center alignment alignment.    2, while circular and elliptical selected object, select menu "Modify | Portfolio Path...