Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2004, 04:44 AM
Authorized User
 
Join Date: Jun 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gadhiav Send a message via Yahoo to gadhiav
Default Displaying Data in TextBox From Database(Urgent)

Hi Frnds,
I am pretty new to ASP.NET and i have to complete my tasks assigned to me as soon as possible.
The task is to create an intranet appliation.
Scenerio-: I m using Web Matrix Project and SQL Server 2000 and using code builders to retrive data, update, insert
1.
In this i have to select data from 3 drop down lists , the data contianed in the drop down lists are collected from one table. Now with this data Selected.Item.Text i need to fire a query and retrive a row from the datatbase. It will only disply one row cause it is unique adn it is primary key.
This data that is retrived is to be then transported to another table in the same database.
2.
And also i want to pull out the data from the database for a particular colounm and display it in the TextBox

PL let me know if anybody has the asnwer to this then pl reply urgently as i have to meet deadlines and submit my task.
Any help will be appreciated.
THanks,
Cheers,
Vishal

Life is not the Triumph but the Struggle
__________________
Life is not the Triumph but the Struggle
 
Old June 16th, 2004, 02:14 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Vishal,

And what do you want us to do? Write a full-blown application for you and post the code here? That's not going to happen.

If life is not about the triumph, but about the struggle, can you tell us what part of the struggle you have already accomplished?
It's easier to provide a useful answer if you ask specific questions. Post some of the code you (may) already have; describe what the application is supposed to do, give some detail about your table structure and most importantly, clarify your question.

IMO, what you're doing right now is just describing the requirements for the application as they were given to you.....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old June 17th, 2004, 12:20 AM
Authorized User
 
Join Date: Jun 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gadhiav Send a message via Yahoo to gadhiav
Default

Thanks Imar,
Thanks for showing the correct way to code. Anyways dude you were right that you people cannot give me the complete code. The details that i mentioned in my first post was not mere Specs, but what i am actually working. And as i am working for someone i have confidentiality issues, cos thats the reason i cud not write the part of code i m trying to use or the database design.
Anyways I have figured out the problem i posted. If there are some other issues that i wud face in future will definately send a post to the fourm.
Thanks for your mail.
Hope to Keep Healthy Conversations Alive.
Thanks,
Cheers,
Vishal

Life is not the Triumph but the Struggle





Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving data in database from textbox jainin_shah9 C# 2005 1 February 21st, 2008 08:34 AM
Displaying data from access database tusharpat@gmail.com Classic ASP Basics 1 January 24th, 2006 06:35 PM
Displaying data from a database mrideout BOOK: Beginning ASP.NET 1.0 0 August 13th, 2004 02:13 PM
Displaying Data in Textbox from Database(URGENT) gadhiav Classic ASP Databases 1 June 16th, 2004 02:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.