there is an error in reading data from a text box here is the XML code:
<asp:Button ID="btnSearch" runat="server" Style="z-index: 100; left: 513px; position: absolute;
top: 340px" Text="Search" Width="188px"/>
<asp:TextBox ID="MyTB" runat="server" Style="z-index: 101; left: 365px; position: absolute;
top: 302px" Width="493px"/>
and here is the code where i call the textbox "MyTB" to read the data from it:
protected void btnSearch_Click(object sender, EventArgs e)
{
string text = MyTB.Text;
string[] textArr = text.Split(new char[] { ' ', '\n', ',' });
}
The XML code :
<div>
<asp:Button ID="btnSearch" runat="server" Style="z-index: 100; left: 513px; position: absolute;
top: 340px" Text="Search" Width="188px"/>
<asp:TextBox ID="MyTB" runat="server" Style="z-index: 101; left: 365px; position: absolute;
top: 302px" Width="493px"/>
</div>