Hi all...
I have HTML Controls as -
Issue - When I type a name say "Mahesh Sharma" , then I want to access the value "Mahesh Sharma" in code-behind (aspx.cs file).
When I type - txtName.Value - I get "Name" as Value.
How to access the user-entered value from backend ?

Francis SusaimichaelRank #466 · 5.4K reputationPosted Jan 7, 2016, 2:38 AM EST
Riddhi ValechaRank #794 · 2.9K reputationPosted Jan 7, 2016, 3:14 AM EST
Contact Us
--------
protected void btn_submit_Click(object sender, EventArgs e)
{
try
{
if (Page.IsPostBack == true)
{
string ss = txtEmail.Value; - Here I need to access the value "Mahesh Sharma"
}
}
catch (Exception err) { }
}
Francis SusaimichaelRank #466 · 5.4K reputationPosted Jan 7, 2016, 3:34 AM EST
Contact Us