473,396 Members | 1,966 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,396 software developers and data experts.

ASP.NET 2.0 Databind To Textbox

I'm in the process of learning ASP.NET 2.0 so that I can convert all our
applications from 1.1 to 2.0.

I've read everything I can find on two-way databinding.

If I have a web form with 5 textboxes on it, but for the life of me, I can't
get the SQLDataSource to associate with these 5 textboxes so that I can use
the new and improved two-way databinding with them.

The form is just your standard real simple, table with two columns, one for
the field tag and the other column has the textboxes. One Submit button at
the bottom.

This is the pattern if you will of every web page we currently have. I
wrote my own two-way databinder in .Net 1.1 and it works great. I'm just
trying to understand where Microsoft is going, since most web pages follow
the above example.

I've seen the FormView and DetailsView controls. Do I really have to
convert or use the FormView control on all my pages in order to get two-way
databinding on my web pages that do not use grids?

Thank you so very much for any assistance and understanding.

Karl
May 31 '06 #1
0 984

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: bafidi | last post by:
hi i have problem about combo boxes my textbox binded here: txtStokAdi.DataBindings.Add("Text", DS.Tables("Tumfieldleri"), "Stok_Adi") my combobox binded here:...
1
by: mjpiedade | last post by:
I just started with C#. How do I navigate on a dataset by changing the value of a textbox or other simple bound controls? Imagine that I have the customer name on a textbox and have a datagrid...
1
by: Thomas Jespersen | last post by:
Hello How do I databind a ASP.NET Texbox to a custom object. I a WinForm I do it like this: Dim myCustomerObject As Customer() Private Sub CreateNewCustomer myCustomerObject = New...
10
by: aualias | last post by:
This seems like such a lame question, but how do you bind to a CheckBox with ASP.NET? With Windows Forms there is a DataBindings collection. I do not see it with the web version of the control,...
2
by: Jim Heavey | last post by:
I'm trying to figure out what is wrong with this statement... Text='<%# DataBinder.Eval(Container.DataItem, "EventStartDate", "{0:d}")%>' This is in a textbox. I'm using the exact format of...
0
by: Iain | last post by:
A placeholder a repeater and a couple of textboxes walk into a bar....haha... No, Seriously, I have a placeholder, a repeater, the repeater itemtemplate has a textbox in it, and a submit button...
0
by: Jai | last post by:
Hi, Somebody please tell me how to bind(two way) a checkboxlist with objectdatasource if the checkboxlist is inside a formview..... Code of FormView is like this::--- <asp:FormView...
0
by: Jai | last post by:
Hi, Somebody please tell me how to bind(two way) a checkboxlist with objectdatasource if the checkboxlist is inside a formview..... Code of FormView is like this::--- <asp:FormView...
1
geo039
by: geo039 | last post by:
I have a user control that uses a lookup table to populate. When the user clicks the loopup icon for building, a list of items they can choose from appears. How could I populate the same control...
0
geo039
by: geo039 | last post by:
I have a usercontrol with textboxes. Most of which refer to a gridview on selection. A user clicks a looking glass and a gridview appears to select items (like a dropdown). The page loads with...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.