Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 17th, 2007, 02:58 AM
Authorized User
 
Join Date: May 2007
Location: Frankfurt, Germany, Germany.
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
Reply With Quote
  #2 (permalink)  
Old July 19th, 2007, 06:00 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Bangalore, Karnataka, India.
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......
Reply With Quote
  #3 (permalink)  
Old July 26th, 2007, 04:38 AM
Authorized User
 
Join Date: May 2007
Location: Frankfurt, Germany, Germany.
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
Reply With Quote
  #4 (permalink)  
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
Reply With Quote
  #5 (permalink)  
Old January 25th, 2011, 03:11 AM
Authorized User
Points: 198, Level: 3
Points: 198, Level: 3 Points: 198, Level: 3 Points: 198, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2008
Location: singapore, singapore, Singapore.
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
Reply With Quote
  #6 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.