473,503 Members | 1,676 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 5917
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.homeandlearn.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
3337
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...
2
5251
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?...
0
1318
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...
5
3218
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...
1
2354
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...
2
1494
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...
0
3754
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 ...
8
3526
by: Bhuwan Bhaskar | last post by:
Hi, Can we access database (SQL) using AJAX ? Thanks, Bhuwan
2
3817
by: Wendi Turner | last post by:
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005 --------------------------------------------------------------------------------------------------- I have successfully created a...
0
7201
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
7328
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...
1
6988
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
7456
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...
0
5578
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,...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3166
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...
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.