Posted on: 2/18/2014 1:17:49 AM | Views : 670

friends I want to retrieve values entered by clients using View state method nameTextBox.Text, but my IDE shows an error that nameTextBox.Text may be inaccessible due to its protection level. What should I do now to use the nameTextBox.Text in my code 
<%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false"     CodeFile="Default.aspx.vb" Inherits="_Default" %> <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> <script runat ="server">     Sub Click(ByVal a As Object, ByVal e As EventArgs)         myLabel.Text = nameTextBox.Text     End Sub </script> </asp:Content> <asp:Content ID="BodyContent" runat="server" Cont ...

Go to the complete details ...