亚洲中文字幕无码中文,亚洲视频一区在线播放,亚洲人成网站在线观看播放动漫http://www.tkk7.com/nobody_am/category/2020.htmlzh-cnSun, 12 Aug 2007 15:48:21 GMTSun, 12 Aug 2007 15:48:21 GMT60Html中符合w3c而不常用的標(biāo)簽http://www.tkk7.com/nobody_am/articles/84782.htmlMingIsMeMingIsMeFri, 01 Dec 2006 03:30:00 GMThttp://www.tkk7.com/nobody_am/articles/84782.html
<fieldset>
???
<legend>Content</legend>
???Hello?World!?
</fieldset>

2,下拉框分組
<select?name="age">
<optgroup?label="baby">
<option>0-2</option>
<option>3-5</option>
</optgroup>
<optgroup?label="kid">
<option>6-10</option>
<option>10-15</option>
</optgroup>
<optgroup?label="adult">
<option>16-30</option>
<option>31-40</option>
<option>41-60</option>
</optgroup>
</select>


]]>
.NET 圖表(Chart)資源URLhttp://www.tkk7.com/nobody_am/articles/28651.htmlMingIsMeMingIsMeThu, 19 Jan 2006 06:31:00 GMThttp://www.tkk7.com/nobody_am/articles/28651.html
  • .Net Charting
    URL:  http://www.dotnetcharting.com/home.aspx
  • Nevron Chart for .NET
    URL:  http://nevron.com/Home.aspx?content=Home
  • Dundas Chart
    URL: http://www.dundas.com/home/index.aspx?Section=Home
  •  






    ]]>
    ASP.Net處理圖片上傳Webserver,結(jié)合數(shù)據(jù)庫(kù)顯示http://www.tkk7.com/nobody_am/articles/9178.htmlMingIsMeMingIsMeThu, 04 Aug 2005 04:26:00 GMThttp://www.tkk7.com/nobody_am/articles/9178.htmlPart I 創(chuàng)建數(shù)據(jù)庫(kù)

    代碼:

    CREATE TABLE imgProcess(
    pic_id 
    INT IDENTITY(1,1NOT NULL PRIMARY KEY,
    pic_title 
    VARCHAR(50NULL,
    pic_type 
    VARCHAR(50NULL,
    pic_content 
    IMAGE NULL
    )

    Part II 圖片上傳Web Server及在數(shù)據(jù)庫(kù)存入路徑

    代碼(.aspx)

    <form id="Form1" method="post" runat="server">
      
    <asp:TextBox id="txtTitle" runat="server"></asp:TextBox><br>
      
    <INPUT type="file" id="myImageFile" runat="server">
      
    <asp:Button id="btnUpload" runat="server" Text="Upload" Height="23px"></asp:Button><br>
      
    <br>
      
    <asp:HyperLink id="hlinkShow" runat="server" NavigateUrl="ShowAllPic.aspx">ShowAllPic</asp:HyperLink>
    </form>

    代碼(.vb)

    Private Sub btnUpload_Click(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles btnUpload.Click
        
    Dim imageType As String
        
    Dim imageSize As Int32
        imageType 
    = myImageFile.PostedFile.ContentType
        imageSize 
    = myImageFile.PostedFile.ContentLength
        
    If (imageSize = 0Then
          Response.
    Write("Not Null")
          
    Return
        
    End If
        
    If (imageSize > 300000Then
          Response.
    Write("Too big")
          
    Return
        
    End If
        
    Dim filesplit() As String = Split(imageType, "/")
        imageType 
    = filesplit(filesplit.Length - 1)
        
    If Not (imageType.ToLower.Equals("pjpeg"Or imageType.ToLower.Equals("gif")) Then
          Response.
    Write("Format Error")
        
    End If
        filesplit 
    = Split(myImageFile.PostedFile.FileName, "\")
        
    Dim fileName As String = filesplit(filesplit.Length - 1)
        myImageFile.PostedFile.SaveAs(Server.MapPath(
    "source\images\" & fileName))
        
    Dim imagePath As String = "source\images\" & fileName
        
    Dim img As String = "<img src=" & imagePath & " border=0>"
        Dim dbAccess As New CommonDB
        
    Try
          dbAccess.OpenConnection()
          dbAccess.
    Command.CommandText = "INSERT INTO imgProcess(pic_title,pic_type) VALUES( '" & Me.txtTitle.Text.Trim & "','" & img & "')"
          dbAccess.Command.ExecuteNonQuery()
          Response.
    Write("Success")
        
    Catch ex As Exception
          Response.
    Write(ex.ToString)
        
    Finally
          dbAccess.CloseConnection()
        
    End Try
    End Sub

    Part III 圖片顯示

    代碼(.aspx

    <form id="Form1" method="post" runat="server">
      
    <asp:DataGrid id="Grid1"  runat="server" />
    </form>

    代碼(.vb

    Private Sub Page_Load(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles MyBase.Load
        
    Dim dbAccess As New CommonDB
        Grid1.DataSource 
    = dbAccess.QueryData("SELECT pic_title,pic_type FROM imgProcess""temp")
        Grid1.DataBind()
    End Sub


    ]]>
    ASP.Net處理圖片在數(shù)據(jù)庫(kù)的存取http://www.tkk7.com/nobody_am/articles/9176.htmlMingIsMeMingIsMeThu, 04 Aug 2005 04:22:00 GMThttp://www.tkk7.com/nobody_am/articles/9176.html閱讀全文

    ]]>
    調(diào)用webservice(不用安裝SoapToolkit20.exe)http://www.tkk7.com/nobody_am/articles/7578.htmlMingIsMeMingIsMeTue, 12 Jul 2005 17:48:00 GMThttp://www.tkk7.com/nobody_am/articles/7578.html
    Dim strxml As String
        
    Dim strVendorId As String
        
    Dim strEmployeeID As String
        
    Dim strGUID As String
        
    Dim strConfirmationNo As String
        
        strVendorId 
    = Text1.Text
        strEmployeeID 
    = Text2.Text
        strGUID 
    = Text3.Text
        strConfirmationNo 
    = Text4.Text
        strxml 
    = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><GetRideDetails xmlns='http://tempuri.org/VendorService/Service1'><VendorId>" & strVendorId & "</VendorId><EmployeeID>" & strEmployeeID & "</EmployeeID><GUID>" & strGUID & "</GUID><ConfirmationNo>" & strConfirmationNo & "</ConfirmationNo></GetRideDetails></soap:Body></soap:Envelope>"


        Dim h As MSXML2.ServerXMLHTTP40
        
    Dim x As MSXML2.DOMDocument40
        
    Set h = New MSXML2.ServerXMLHTTP40
        h.open 
    "POST""http://192.168.0.22/vendorservice/service1.asmx"False
        h.setRequestHeader 
    "HOST""192.168.0.22"
        h.setRequestHeader "Content-Type""text/xml; charset=utf-8"
        h.setRequestHeader "Content-Length"Len(strxml)
        h.setRequestHeader 
    "SOAPAction""http://tempuri.org/VendorService/Service1/GetRideDetails"

        h.send (strxml)

        
    'While h.readyState <> 4
        'Wend
        Text5.Text = h.responseText


    2. ASP代碼
    <%
    Dim t1,t2,t3,t4,t5
    t1 
    = Request.Form("text1")
    t2 
    = Request.Form("text2")
    t3 
    = Request.Form("text3")
    t4 
    = Request.Form("text4")

    url 
    = "http://192.168.0.22/vendorservice/service1.asmx"
    SoapRequest = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><GetRideDetails xmlns='http://tempuri.org/VendorService/Service1'><VendorId>" & t1 & "</VendorId><EmployeeID>" & t2 & "</EmployeeID><GUID>" & t3 & "</GUID><ConfirmationNo>" & t4 & "</ConfirmationNo></GetRideDetails></soap:Body></soap:Envelope>"

    Set xmlhttp = server.CreateObject("Msxml2.XMLHTTP")

    xmlhttp.Open 
    "POST",url,false
    xmlhttp.setRequestHeader 
    "HOST","192.168.0.22"
    xmlhttp.setRequestHeader "Content-Type""text/xml; charset=utf-8"
    xmlhttp.setRequestHeader "Content-Length",LEN(SoapRequest)
    xmlhttp.setRequestHeader 
    "SOAPAction""http://tempuri.org/VendorService/Service1/GetRideDetails" 

    xmlhttp.Send(SoapRequest)
    If xmlhttp.Status = 200 Then 
     
    Set xmlDOC =server.CreateObject("MSXML.DOMDocument")
     xmlDOC.load(xmlhttp.responseXML)
     xmlStr 
    = xmlDOC.xml
      
    Set xmlDOC=nothing
      xmlStr 
    = Replace(xmlStr,"<","&lt;")
      xmlStr 
    = Replace(xmlStr,">","&gt;")
      
    'Response.write xmlStr
      t5= xmlStr
     
    'Response.write("OK<br>")
     'Response.write(xmlhttp.responseText)
     'msgbox xmlDOC.getElementsByTagName("getStringResult")(0).text
    else
     Response.write(
    "Failed")
    end if
    %>
    <form action="myasp.asp" METHOD="POST">
      
    <div align="center" >
      
    <input type="text" name="text1" value="0">
      
    <input type="text" name="text2" value="0">          
      
    <input type="text" name="text3" value="0">          
      
    <input type="text" name="text4" value="0"> 
      
    </div>
      
    <align="center"><input type="submit" name="Submit" value="&#25552;&#20132;">
    </p>
      
    <align="center">&nbsp;</p>
      
    <align="center">
        
    <textarea rows="10" name="text5" cols="80"><%=t5%></textarea>     </p>
    </form>
    </textarea>


    ]]>
    .Net,ASP,VB調(diào)用webservice的示例 http://www.tkk7.com/nobody_am/articles/7577.htmlMingIsMeMingIsMeTue, 12 Jul 2005 17:42:00 GMThttp://www.tkk7.com/nobody_am/articles/7577.html
    Imports System.Web.Services

    <System.Web.Services.WebService(Namespace := "http://tempuri.org/VSService/Service1")> _
    Public Class Service1
        
    Inherits System.Web.Services.WebService

    #Region 
    " Web Services Designer Generated Code "

        Public Sub New()
            
    MyBase.New()

            
    'This call is required by the Web Services Designer.
            InitializeComponent()

            
    'Add your own initialization code after the InitializeComponent() call

        
    End Sub


        
    'Required by the Web Services Designer
        Private components As System.ComponentModel.IContainer

        
    'NOTE: The following procedure is required by the Web Services Designer
        'It can be modified using the Web Services Designer.  
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            components 
    = New System.ComponentModel.Container()
        
    End Sub


        
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            
    'CODEGEN: This procedure is required by the Web Services Designer
            'Do not modify it using the code editor.
            If disposing Then
                
    If Not (components Is NothingThen
                    components.Dispose()
                
    End If
            
    End If
            
    MyBase.Dispose(disposing)
        
    End Sub


    #
    End Region

        
    ' WEB SERVICE EXAMPLE
        ' The HelloWorld() example service returns the string Hello World.
        ' To build, uncomment the following lines then save and build the project.
        ' To test this web service, ensure that the .asmx file is the start page
        ' and press F5.
        '
        '<WebMethod()> _
        'Public Function HelloWorld() As String
        '   Return "Hello World"
      'End Function

      
    <WebMethod()> Public Function add(ByVal a As IntegerByVal b As IntegerAs String
        add 
    = CStr(a + b)
      
    End Function

    End Class

    2. asp.net調(diào)用,添加Web References。
    Dim s As String
     
    Dim t As New mingservice.Service1
     ResultAdd.Text 
    = t.add(CInt(Param1.Text), CInt(Param2.Text))

    3.  VB6調(diào)用,安裝SoapToolkit20.exe。添加References:C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP1.dll.
    Dim sc As New MSSOAPLib.SoapClient
    sc.mssoapinit 
    "http://192.168.0.8/VSService/Service1.asmx?WSDL"
    Text3.Text = sc.Add(CInt(Text1.Text), CInt(Text2.Text))

    4.ASP調(diào)用,安裝SoapToolkit20.exe。添加References:C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP1.dll.
    <%
    Dim t1,t2,t3,SSO
    t1 
    = Request.Form("text1")
    t2 
    = Request.Form("text2")
    SET  SSO = Server.CreateObject("MSSOAP.SoapClient")  
    SSO.ClientProperty(
    "ServerHTTPRequest")  =  True  
    Call  SSO.mssoapinit("http://192.168.0.8/VSService/Service1.asmx?WSDL")  
    t3
    =SSO.add(CInt(t1),CInt(t2))  
    %>
    <form action="http.asp" METHOD="POST">
      
    <div align="center" >
      
    <input type="text" name="text1" value="0">
      
    <input type="text" name="text2" value="0">
      
    <input type="text" name="text3" value="<%=t3%>">
      
    </div>
    <br>
     
    <div align="center" ><input type="submit" name="Submit" value="ìá??"></div>
    </form>

    5. ASP HTTP請(qǐng)求:

     

    <%
    Dim t1,t2,t3
    t1 
    = Request.Form("text1")
    t2 
    = Request.Form("text2")
    url 
    = "http://192.168.0.8/VSService/Service1.asmx/add"
    SoapRequest="a="&t1&"&b="&t2&""
    Set xmlhttp = server.CreateObject("Msxml2.XMLHTTP")
    xmlhttp.Open 
    "POST",url,false
    xmlhttp.setRequestHeader 
    "Content-Type""application/x-www-form-urlencoded"
    xmlhttp.setRequestHeader "HOST","192.168.0.8"
    xmlhttp.setRequestHeader "Content-Length",LEN(SoapRequest)
    xmlhttp.Send(SoapRequest) 
    If xmlhttp.Status = 200 Then
     
    Set xmlDOC = server.CreateObject("MSXML.DOMDocument")
     xmlDOC.load(xmlhttp.responseXML) 
     t3
    =xmlDOC.childNodes(1).Text
     
    Set xmlDOC = nothing
    Else
     Response.Write xmlhttp.Status
    &"&nbsp;"
     Response.Write xmlhttp.StatusText
    End if
    Set xmlhttp = Nothing
    %>
    <form action="http.asp" METHOD="POST">
      
    <div align="center" >
      
    <input type="text" name="text1" value="0">
      
    <input type="text" name="text2" value="0">
      
    <input type="text" name="text3" value="<%=t3%>">
      
    </div>
    <br>
     
    <div align="center" ><input type="submit" name="Submit" value="提交"></div>
    </form>



    ]]>
    主站蜘蛛池模板: 又黄又大的激情视频在线观看免费视频社区在线 | 在人线av无码免费高潮喷水| 中文字幕人成无码免费视频| 成人免费视频网址| 免费成人av电影| 亚洲熟妇无码另类久久久| 久久久久亚洲精品无码系列| 亚洲第一页中文字幕| 亚洲久热无码av中文字幕| 成人a毛片视频免费看| a成人毛片免费观看| 99视频全部免费精品全部四虎| 麻豆国产VA免费精品高清在线| 亚洲精品国产电影| 亚洲AV无码欧洲AV无码网站| 亚洲午夜在线一区| 青草青草视频2免费观看| 国产99视频精品免费专区| 国产精品免费观看久久| 亚洲精品无码99在线观看| 亚洲天堂男人天堂| 亚洲成在人线aⅴ免费毛片| 精品无码一级毛片免费视频观看| 在线观看永久免费| 亚洲av高清在线观看一区二区| 亚洲AV无码乱码在线观看富二代 | 午夜亚洲AV日韩AV无码大全| 中文日韩亚洲欧美制服| eeuss免费天堂影院| 国产在线jyzzjyzz免费麻豆 | 白白国产永久免费视频| 亚洲愉拍99热成人精品热久久| 亚洲成年人免费网站| 色爽黄1000部免费软件下载| 最近免费mv在线电影| 免费h成人黄漫画嘿咻破解版| 亚洲美女在线观看播放| 青青青视频免费观看| 999久久久免费精品国产| 亚洲欧洲中文日韩av乱码| 精品丝袜国产自在线拍亚洲|