|
-
Nov 16th, 2004, 09:04 AM
#1
Thread Starter
New Member
HTML textbox in codebehind (RESOLVED)
Hello,
I have a simple question about a HTML textbox. I've made a form with some checkboxes and textboxes in it. Now i want to fill my database with the values of the textboxes and checkboxes in the code behind. Is that posible and how?
Thx
Last edited by Pietje; Nov 16th, 2004 at 10:22 AM.
-
Nov 16th, 2004, 09:57 AM
#2
I wonder how many charact
You have a slightly confusing description of your problem...
There is an <asp:textbox> tag or a <input type="text" /> tag.
When you say HTML textbox, I assume you mean the latter:
html:
<input id="htmltextbox1" type="text" value="hi" runat="server" />
On the code behind page, you declare:
VB Code:
Protected WithEvents htmltextbox1 As System.Web.UI.HTMLControls.HTMLInputText
And you can handle the serverChange event of this object, or get and access its text using the .Value property.
-
Nov 16th, 2004, 10:22 AM
#3
Thread Starter
New Member
Thnx!! That was the anwser!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|