Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2007, 02:58 AM
Authorized User
 
Join Date: May 2007
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to DarkForce
Default Databind

What is databind?
I have a MS-Server-database and a gridview.
What is a simple databind example?
Maybe i want to bind a textbox to a value of a table out of my database.

So long
__________________
Ivan
 
Old July 19th, 2007, 06:00 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 231
Thanks: 0
Thanked 1 Time in 1 Post
Default

data bind is simply binding the data to control.
if u are using grid view you can also use smart tag otherwise follow the simple four steps of ado.net and bind grid view with database.


thanks......
 
Old July 26th, 2007, 04:38 AM
Authorized User
 
Join Date: May 2007
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to DarkForce
Default

can you give me a simple example?

Ivan
 
Old December 20th, 2010, 05:25 PM
Registered User
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Databinding?

I think it would be helpful to address this at the same time:

When a control is data bound, for example, I data bind a grid to an underlying database, does that always mean that when data in the underlying database changes, that grid control will automatically change to the new value?

If not, then I assume the grid control would only change value upon subsequent calls to data bind?

I assume that it would only change after calling data bind again.

Thank You

- Richard
 
Old January 25th, 2011, 03:11 AM
Authorized User
 
Join Date: Apr 2008
Posts: 54
Thanks: 0
Thanked 4 Times in 4 Posts
Default

yes you are right, Screen values will only change if you bind the data again.

For databinding gridview read Asp.Net GridView Databinding
__________________
Pon Saravanan
VbKnowledgebase.com
 
Old January 25th, 2011, 12:04 PM
Registered User
 
Join Date: Aug 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Data Bind

Awesome! Thanks for the link.





Similar Threads
Thread Thread Starter Forum Replies Last Post
About the Databind() kuuy BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 1 November 15th, 2006 12:56 PM
Databind in TextBox kapi.goel C# 1 April 26th, 2006 05:51 AM
Can't get RadioButtonlist with databind nayalksrs123 .NET Web Services 0 January 15th, 2005 06:29 AM
DataBind/DataSource problem liorlankri ADO.NET 3 November 10th, 2004 09:15 AM
DataBind Problem liorlankri ADO.NET 3 November 2nd, 2004 04:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.