karthikc85 Posted October 14, 2006 Share Posted October 14, 2006 hi everybody,i have created a usercontrol with 2 TEXTBOXES and 1BUTTON.i was able to dynamically load it into my webpage.i have entered values into the 2 TEXTBOXES.my problem is that when user clicks an event the 2 TEXTBOX values must be inserted into database(sqlserver2005).for that i need to capture those 2 values into 2 variables.this has to be written in the code behind file.iam not able to get those 2 values in usercontrols textboxes into 2 variables.HOW CAN I GET THOSE 2 VALUES? iam using VS2005 AND C#.anybody please help me.thanks,karthik. Link to comment Share on other sites More sharing options...
aspnetguy Posted October 14, 2006 Share Posted October 14, 2006 does this help? http://www.asp101.com/lessons/usercontrols.asp Link to comment Share on other sites More sharing options...
karthikc85 Posted October 16, 2006 Author Share Posted October 16, 2006 does this help? http://www.asp101.com/lessons/usercontrols.asp hi,thanks for the reply.the url u have provided didnt help me much.will u please look into my problem once again?suggest me a good solution.thanks,karthik. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now