473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to bind data to textboxes from database(sql server).

1 New Member
Hello and Hi to everyone,

This is chandana, i have a doubt which i am mentioning here.

We can retrive or bind data to datagrid from database(sql server) and also we can insert data and can make modifications.

In the same way how to retrive or bind data from database(sql server) to textboxes and to other controls that are placed in a table or placed simply on a form or page and how to make modificatons like inserting the values in the fields into database etc.

This is related to .net, plz can any one answer. want the answer in vb.net, c#.net and asp.net(vb & c#)

thanks & regards,
chandana
Nov 2 '06 #1
2 5930
mdaRock
26 New Member
Best Practice to understand the issue is to create a new project in VS2005 no matter what is the langauge and open a database in the server explorer add a datasource - follow the wizard then here is the trick:

in the dataset tab and after opening your form click on the desire table node and from the combo select detail and drag it to the form

finally check the component and the textboxes properties.

Regards.


Hello and Hi to everyone,

This is chandana, i have a doubt which i am mentioning here.

We can retrive or bind data to datagrid from database(sql server) and also we can insert data and can make modifications.

In the same way how to retrive or bind data from database(sql server) to textboxes and to other controls that are placed in a table or placed simply on a form or page and how to make modificatons like inserting the values in the fields into database etc.

This is related to .net, plz can any one answer. want the answer in vb.net, c#.net and asp.net(vb & c#)

thanks & regards,
chandana
Nov 2 '06 #2
binujeesman
1 New Member
u can see the eg below
http://www.homeandlear n.co.uk/NET/nets12p12.html
Nov 2 '06 #3

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

Similar topics

3
3344
by: cooldv | last post by:
i am running a website on Windows 2000 server with ASP 3 webpages and Access 2000 database. (with a hosting company) traffic is slow at this time but expect to grow. lately i have been reading about sql database and sql server, specially this article: http://www.aspfaq.com/show.asp?id=2195 will someone help me understand: 1. with *SQL Server*, do i keep my current Access 2000 database and ASP pages?
2
5261
by: Szaki | last post by:
Hello, I have a some xml file and database. How import this file to database? I must do aplication in VB .NET whose show imports some xml file to database SQL SERVER 2000? Do you have any idea? or mayby sombody have some aplication who show this problem. Txh for some advice. --
0
1330
by: Tracey | last post by:
I have a problem on communication between ASP.NET and Java code. Any advice will be greatly appreciated! Our core processing code and database and database server reside in a remote machine whose platform is Linux. The core processing code is written with Java. Now I'm trying to implement scripting code to communicate with the back-end database dynamatically.
5
3229
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup purposes). Now, the drive is defective and can't read the tapes anymore. Server is AIX 4.3.2 and database is IBM DB2 Server (DB2 for AIX Version 2.1.2)
1
2364
by: diSangro | last post by:
I need to transfer data from one machine to another , both have HP UX B.10.20 with same usr settings. Data to be transferred are used by Unify data server r.6.1 , installed on both these machines. In other words I have to copy one DB from the first machine to the second one . My idea is to copy two data files from the 1st machine to the 2nd : ...../bin/file.db -> this the application database file and
2
1503
by: Luzuko | last post by:
HI, Im doing a project and the basic requirements of the project is that my Front-end application (VB 2005) and Web application(VB Scripting and ASP) should write and retrieve from the SAME database- Sql Server 2005. Now im having trouble to even understand how these applications can share the same database. Can someone tell me how this is done. Code Snippets would help a lot. Kind Regards
0
3789
by: Sini Raghavan | last post by:
HI All, I am getting the following Bind Error while compiling COBOL-DB2 program. _ BIND SQL ERROR USING OSCDEVU1 AUTHORITY PLAN=(NOT APPLICABLE) DBRM=OSC4065C STATEMENT=4513 SQLCODE=-204
8
3534
by: Bhuwan Bhaskar | last post by:
Hi, Can we access database (SQL) using AJAX ? Thanks, Bhuwan
2
3827
by: Wendi Turner | last post by:
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005 --------------------------------------------------------------------------------------------------- I have successfully created a webservice in ASP.NET 2.0 C# with VS 2005 & VS 2008, however, i can find nothing - books or otherwise to help with the webservice connection to the database. Can anyone please offer help on what to return in the method that makes a select...
0
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.