Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 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 March 9th, 2007, 12:56 PM
Authorized User
 
Join Date: Mar 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ok 2 weeks of this and no I am braindead

Total respect to all of you who do this every day every year.

This is probably simple and I will kick myself when told I expect but I have my sql statement

SelectCommand="SELECT [ID], [Name], [Add1], etc

Now, I want to present a different screen depending on the id type e.g

<% If [ID] = 1 Then %>

only what is the variable I need to put in place of the [ID] to recover the parameter of ID in the database because when I try this it just kicks up an error.

I am using VB by the way and appreciate any help. If you have the answer you will find me in the corner dribbling.

 
Old March 14th, 2007, 04:08 PM
Authorized User
 
Join Date: Mar 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I guess your all as useless as me then...My mistake I though people knew what they were doing here and helped idiots like me out.

 
Old March 14th, 2007, 04:39 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

When coming to a forum looking for FREE help, insulting the user base is pretty much a guranteed way for you to NEVER get an answer, regardless of how simplistic your question maybe.

And how you retrieve this data will determine how your reference the ID column from your SQL statement.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old March 14th, 2007, 10:36 PM
jminatel's Avatar
Wrox Staff
Points: 18,059, Level: 58
Points: 18,059, Level: 58 Points: 18,059, Level: 58 Points: 18,059, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
Default

Maybe the "useless as me" and "idiots like me" comments were meant as a little self-deprecating humor but that's so hard to see in type so I'm locking this before it gets ugly. :) aasiddle, if you want to take a deep breath and start a new thread on the topic and try again nice and safe, please do. Sorry no one here answered. Keep in mind, this is a 100% volunteer, community, one person helping another out for no reward other than it feels good effort.

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Blog: http://wroxblog.typepad.com/
Jim's Book of the week: No book this week - Donate to the Red Cross!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with weeks Vince_421 Access 5 January 30th, 2007 12:34 PM
Choose all records from 2 weeks ago?? morpheus Classic ASP Databases 4 January 9th, 2007 01:00 PM
Group by Weeks in a query or table lryckman Access VBA 4 December 4th, 2006 08:55 AM
weeks yula Crystal Reports 1 August 31st, 2006 11:28 AM
When is two weeks later? Snib Javascript How-To 2 November 28th, 2003 04:40 AM





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