Dear All,

Pls refer to code below, can some one pls tell me how can I store the value
into the string type variable? What would be the syntax like. Thanks in
advance.

Usman

Imports System.Net.WebClient
Public Class Form1
    Inherits System.Windows.Forms.Form

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
        Dim web As New System.Net.WebClient

        web.Headers.Add("Content-Type", "application/x-www-form-urlencoded")


        Dim d As Byte() = System.Text.Encoding.ASCII.GetBytes("un=XXXX")
        Dim res As Byte() =
web.UploadData("http://www.abc.com/post/dslusage.asp?";, "POST", d)

    End Sub
End Class



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to