Link to home
Start Free TrialLog in
Avatar of tenriquez199
tenriquez199

asked on

Problem to take value of TextBox in C#

Hello... well i need take a value of textbox

I have a textbox in my page and the user, insert a new value, next when click on button the information is save in DB... but I recieve 0 that it's the value of TextBox before changed...

I try with

string value= TextBox1.Text;

but it doesnt work...
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

What kind of application are we talking ? Windows or webbased ?
When you execute the update, does it store the new value or is the value never changed ?
How do you test what value is saved in the database?
ASKER CERTIFIED SOLUTION
Avatar of Ajay Sharma
Ajay Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tenriquez199
tenriquez199

ASKER

yks