473,507 Members | 2,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

get details from db on click

1 New Member
Immediately needed

I need a code in ASP

QUERY:

i am having two field item id,item name.
item id in dropdownlistbox using database.
If i select itemid automatically item name should display in the textbox .

This is my query.
Nov 14 '07 #1
1 1012
sonu5588
13 New Member
Hello Madhu How Are u?
I am Sonubutt

This is Ur query.

step1 >>("SELECT * from 'tablename' where item id = " + combobox.value)

step 2>> Dim cmd as datareader
step 3>> cmd.executenonquery
step4 >> reader.read
step5 >> textbox1.text = reader("item name")
End



If u bear problem then you can mailme on <email removed>
i will send u some files
ok
Nov 16 '07 #2

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

Similar topics

0
1207
by: MSN Hotmail | last post by:
This is an auto-generated response designed to answer your question as quickly as possible. Please note that you will not receive a reply if you respond directly to this message. Unfortunately, we...
4
5535
by: Mark D. Anderson | last post by:
About a month ago Richard Cornford did an interesting analysis of a memory leak in jscript (internet explorer) when there are "circular" references between DOM objects and (real) jscript objects:...
1
989
by: Johny | last post by:
Is it possible to have Username and ID Numbers automatically printed into boxes when I visit a particular site. Here is the problem:- I run an online business, visitors to my website can sign...
1
1791
by: Shiva | last post by:
Hi, My (main)form has a subform that contains the details of the mainform. The default view of the mainform is 'single form', the default view of the subform containing the details is...
0
1765
by: masago | last post by:
Hi....how are you ?? they can help me to solve this problem ?? Access to the path = "c:\windows\microsoft.net\framework\v1.1.4322\Temporary ASP.NET = Files\reports\06639073\bbab30a7" is...
2
1274
by: HS1 | last post by:
Hello all I followed the example in Visual Studio.net to create a master and detail relationship as following: two tables: Customers and Orders two DataGrid: GridOrders and GridDetails...
2
1470
by: sonali_aurangabadkar | last post by:
i want to hide some columns of a details view on a button click and want to change the name of that button my problem is that i am able to hide the column but can't able to change name of...
5
1685
by: doll | last post by:
hi i'm doing a project in asp.net using c#...i've inserted into a table the details of the users.. i have used a textbox and 2 buttons..when i enter the id of the user in the text box and click...
1
2261
by: hartattack72 | last post by:
Hello. I am new to access, but have had great success in creating an application. My one user is requesting a function to save time in data entry... and I am stumped being the plebian that I am. ...
0
1003
by: =?Utf-8?B?amludHk=?= | last post by:
Microsoft Windows XP Professional. When I click on MY Docs shortcut which is on my desktop, or any other shortcut, which are usually to folders on network, there is only one window pane, the...
0
7223
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
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
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,...
0
7376
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...
0
7485
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
5623
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,...
0
4702
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
1542
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
412
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.