When the front, the supervisor asked if he did not have a refresh display data, and there was no answer to the question. It feels very simple, and the JS operation XMLDOCOMENT is displayed on the page. Post code, welcome to guide:) ---------------------------------------- --------- Test.aspx.vb ------------------------------------ --------- private sub page_load (Byval e as system.EventArgs) Handles mybase.load 'Place the user code of the initialization page here
If Not (Me.Request ("State") IS Nothing, the first time, XMLHTTP has not passed directly to DIM DS AS NEW DATASET Me.Da.selectCommand.commandText = "Select * from" me. Request ( "state"). ToString Me.Da.Fill (Ds) Dim writer As New XmlTextWriter (Response.OutputStream, Response.ContentEncoding) writer.Formatting = Formatting.Indented writer.Indentation = 4 writer.IndentChar = "" Ds. Writexml (Writer) 'Write DS's data to XML Writer.flush () response.end () Writer.close () end if End Sub ------------------- --------------------- Test.aspX -------------------------- ---------------- <% @ page language = "VB" autoeventwireup = "false" codebehind = "test.aspx.vb" inherits = "norefresh.test"%>