Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 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 Professional 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 January 19th, 2009, 08:46 AM
bex bex is offline
Friend of Wrox
Join Date: Aug 2008
Posts: 154
Thanks: 7
Thanked 1 Time in 1 Post
Default How to search a database foe a unique name

Hi i have a login name conntrol in my page and want to search the database for loginname.text matching the exact record and show it in a label control,
how can i do that?


Last edited by bex; January 19th, 2009 at 09:22 AM..
Old January 19th, 2009, 09:15 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

First of all, this is the ASP.NET Pro forum. It looks like your question would be much better suited in one of the ASP.NET Beginners categories here at p2p.wrox.com

That said, you might want to get yourself a Beginning book on ASP.NET, like my Beginning ASP.NET 3.5 in C# an VB. While it doesn't show you how to manually write code to target a database directly, it does show you all the security features that ASP.NET offers: http://www.wrox.com/WileyCDA/WroxTit...47018759X.html

Alternatively, you can take a look at the ADO.NET quick starts: http://quickstart.developerfusion.co...wcontents.aspx


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is uniqueidentifier is always unique ? vinod_yadav1919 SQL Server 2000 4 May 30th, 2008 11:31 AM
duplicates and unique sheba0907 SQL Language 6 July 3rd, 2006 02:43 PM
Tool tip foe link label in c# yagyesha C# 2 December 14th, 2005 05:08 AM
Getting Unique ID from Database Nicky_uk Classic ASP Databases 9 January 26th, 2005 04:45 PM
Generating 5 unique random records from a database ps124 ASP.NET 1.0 and 1.1 Basics 2 March 8th, 2004 05:59 PM

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