473,473 Members | 1,513 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

text box and database

May i know how to write the code to display out the value that i get from the
database into data grid...my prog works like this..when the user enter the
customer id into the text box and press the button, the value in the text box
will match the customer id in the table and display out the activities about
that customer id only in the text box..I had developed the sql connection and
had done the data reader but i don't know how to match the value and display
in the data grid..

i will appreciate if u could provide me some sample code..thanks..
Nov 16 '05 #1
2 3137
Here's a couple links you may want to look at:

http://www.dotnetbips.com/displayarticle.aspx?id=62

http://www.datagridgirl.com/articles.aspx

HTH

DalePres
MCAD, MCDBA, MCSE

"alyssa" <al****@discussions.microsoft.com> wrote in message
news:E9**********************************@microsof t.com...
May i know how to write the code to display out the value that i get from
the
database into data grid...my prog works like this..when the user enter the
customer id into the text box and press the button, the value in the text
box
will match the customer id in the table and display out the activities
about
that customer id only in the text box..I had developed the sql connection
and
had done the data reader but i don't know how to match the value and
display
in the data grid..

i will appreciate if u could provide me some sample code..thanks..

Nov 16 '05 #2
I had look at the links but it seems that the prog was written in ASP.

"DalePres" wrote:
Here's a couple links you may want to look at:

http://www.dotnetbips.com/displayarticle.aspx?id=62

http://www.datagridgirl.com/articles.aspx

HTH

DalePres
MCAD, MCDBA, MCSE

"alyssa" <al****@discussions.microsoft.com> wrote in message
news:E9**********************************@microsof t.com...
May i know how to write the code to display out the value that i get from
the
database into data grid...my prog works like this..when the user enter the
customer id into the text box and press the button, the value in the text
box
will match the customer id in the table and display out the activities
about
that customer id only in the text box..I had developed the sql connection
and
had done the data reader but i don't know how to match the value and
display
in the data grid..

i will appreciate if u could provide me some sample code..thanks..


Nov 16 '05 #3

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

Similar topics

0
by: wayne mcfadden | last post by:
Hi, I'm stumped. Our text extenders stopped working on one database. I think that i'm missing something simple here. The column is enabled... but when you do an index status it doesn't know...
60
by: Julie | last post by:
What is the *fastest* way in .NET to search large on-disk text files (100+ MB) for a given string. The files are unindexed and unsorted, and for the purposes of my immediate requirements, can't...
9
by: Pam Ammond | last post by:
I need the code to update the database when Save is clicked and a text field has changed. This should be very easy since I used Microsoft's wizards for the OleDBAdapter and OleDBConnection, and...
3
by: Frustrated Developer via DotNetMonster.com | last post by:
I have posted a couple times on here already and found the user community to be very helpful. I took on a project before I realized how difficult a time I'm having working with a database....
3
by: Alfred | last post by:
I want to post text field data from these HTML TEXTAREA tags to a PostgreSQL database and have it reappear back on another page exactly as I had typed it. Over the years I have done this but only...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
Dököll
by: Dököll | last post by:
Continued from: http://www.thescripts.com/forum/thread762010.html -VB 6.0 Professional -Microsoft DAO 3.6 Reference Search Database table... An attempt to fetch data housed in Access:
16
by: Wayne | last post by:
I've read that one method of repairing a misbehaving database is to save all database objects as text and then rebuild them from the text files. I've used the following code posted by Lyle...
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
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
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
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...
1
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
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
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
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.