473,324 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

more DataBinding issues

bplacker
121 100+
Why do databindings give me so much trouble? what a pain!

My problem is this; I'm opening up a dataset and creating a binding source, and binding the values to text boxes. This works fine, but my problem lies when I try to clear the text box values, to add a new record. Even when I say textbox.text = "", the values still show up in the textbox. Why??? This is making me very angry! Is there a way to fix that?
Dec 20 '06 #1
2 930
kenobewan
4,871 Expert 4TB
I too have faced the pain. From memory, I placed txtBox1.text = "" in the page load outside the not page.postback.

Hope that this helps.
Dec 20 '06 #2
bplacker
121 100+
oh... by the way I'm in vb.net, not asp.
Dec 21 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Richard | last post by:
Hi, I'm having issues with DataBinding. I have a Form with two data bound comboboxes on it. When you select something in one combobox I may {or may not} want to change the selected item in the...
0
by: TEK | last post by:
Hello Can anyone lead me in the correct direction for how to support databinding on a custom control. I need to support the DataSource and DataMember property. (I have kindof nailed down the...
2
by: Anders K. Jacobsen [DK] | last post by:
Im developing an ASP.NET application. So far im pretty pleased. Databinding is really nice but also gives me som e problems / design issues. Lets say I want to bind a list of contries to a...
3
by: John Bailey | last post by:
When I first built a few web pages in ASP .Net 2.0, I thought it was great. The formview and detailview contorls would automatically layout the controls for you, the update methods were...
9
by: Ben R. | last post by:
Hi all, I’ve got a databinding inquiry. I’ve got a very simple example: a VB.Net winforms app, with 3 components: 2 textboxes, and a button. Here are the handlers: Private Sub...
4
by: moondaddy | last post by:
I'm trying to databind a dependency property in a custom control (CenterX) to the Line.X1Property property of line. If I can correctly do this (and the same for the 'Y' props) then when I drag my...
9
by: =?Utf-8?B?RGljaw==?= | last post by:
I have a function that creates a DataSet, populates its many DataTables and then returns the DataSet. I want to bind separate controls to each of the DataSet's DataTables, e.g. a separate...
2
by: Brian Pelton | last post by:
I am trying to bind a textbox to the property of a property. This code works when nested property is not null, but it fails when nested is null. (It fails when SiteLine.Site is null.) The...
6
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi I'm having problems getting the correct item to display in a bound combobox in my WinForms app. Using the following code: With Me.MyComboBox .ValueMember = "MyIdField" .DisplayMember =...
9
by: moondaddy | last post by:
using c# 3.5 I have list of business objects which I will use in lists for databinding and I want to hide some of the fields so they don't show up in the list control. some of my list will be:...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.