 |
| ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 3.5 Professionals 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
|
|
|
|

March 19th, 2009, 03:08 PM
|
|
Authorized User
|
|
Join Date: Jun 2008
Posts: 75
Thanks: 15
Thanked 0 Times in 0 Posts
|
|
Web User Control
Hello All,
I am trying to implement a web user control that will contain text boxes or fileds where the user will type in search criteria to search a database for a record. Also the user can enter wildcards in there search criteria. Another feature I would like this web user control to have is if the query returns multiple records I would like to see them displayed in a grid. This is my first time making a web user control. I have added the text boxes and the grid view to the control I am just wondering where do I go from there?
Thanks In Advance
|
|

March 19th, 2009, 10:45 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
An advice, read about SQL injections!
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|

March 20th, 2009, 01:49 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> An advice, read about SQL injections!
Heuh? Why's that? Of course it's extremely important to protect you from SQL Injection, but what the OP is proposing is quite possible without running the risk of getting hacked.....
dotnetDeveloper: can you rephrase the question? Currently, the answer would be: "The next step would be to write the code required to complete the functionality"...
Imar
|
|

March 20th, 2009, 02:02 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
Sorry Imar, maybe that sound rude. But usually query's that returns any data and you can enter almost anything, are very prone to Injections.
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|

March 21st, 2009, 05:41 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Yes, I agree. Didn't think it was rude, but was a bit confused about it being "the next step" to look into. It's important to keep in mind, but if you don't have any code to accept user input and access a database yet, it's hardly a risk ;-)
Imar
|
|
 |