i am working on a project. i am doing my project using vb.net. and i have added a web component to some of the dot net's form. what i would like to know is how can i access data i have entered in the dot net form being in the web page i have added as a component.
(to make this clear let me give an example i have a form whrere my users enter a username and password and i need to use this information in the web page i have added how can i do that).
i am so greatefull for all your help in advance

I think you are very new to asp.net. This would help you a lot.
http://www.w3schools.com/ASPNET/default.asp

Code for your need.

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim username As String
        Dim password As String
        username = TextBox1.Text
        password = TextBox2.Text

        ' DO YOUR PROCESSING HERE. username and password has user entered username, password

    End Sub
End Class
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!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 runat="server">
    <title></title>
</head>
<body>
    
    <form id="form1" runat="server">
    <div>
    <table>
        <tr>
            <td>
                Username:
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td> 
        </tr>
        <tr>
            <td>
                Password:
            </td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td> 
        </tr>
        <tr>
            <td>
                
            </td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="Submit" />
            </td> 
        </tr>
    </table>
    </div>
    </form>
</body>
</html>

mimi_ted,

Your web related question must be at ASP.NET forum.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.