how can i store textbox enterd value in table

Posted by Chanti444 under ASP.NET on 12/12/2011 | Points: 10 | Views : 1239 | Status : [Member] | Replies : 1
i have a form that contains textboxes entered by user.after the click a save button ,textbox values are stored in db table .........................but here my problem is i have wrote some code but values are not inserting in table ..................what did i wrong here pls help me


here attach my source code chek it once :::::

satya


Responses

Posted by: Arefin on: 12/12/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

1. Use !Page.IsPostBack
2. Your insert code will go in Button click event. (in that case using !Page.IsPostBack is not necessary)
3. You have to use Try, Catch, this is important.

Now this is your turn. Just try and let me inform.

Thanks,
Arefin

Chanti444, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response