Click here to Skip to main content
15,891,431 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiondifference between asp file upload and html file upload Pin
Aslesh1-Dec-08 13:30
Aslesh1-Dec-08 13:30 
AnswerRe: difference between asp file upload and html file upload Pin
Christian Graus1-Dec-08 13:38
protectorChristian Graus1-Dec-08 13:38 
GeneralRe: difference between asp file upload and html file upload Pin
Aslesh1-Dec-08 13:45
Aslesh1-Dec-08 13:45 
QuestionExtending javascript types generated by ASP.NET Pin
bnieland1-Dec-08 11:26
bnieland1-Dec-08 11:26 
Questionusing a dropdownlist, textbox, and a button to search sql 05 database Pin
brownk12971-Dec-08 9:22
brownk12971-Dec-08 9:22 
AnswerRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Christian Graus1-Dec-08 9:43
protectorChristian Graus1-Dec-08 9:43 
GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
brownk12971-Dec-08 9:51
brownk12971-Dec-08 9:51 
GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Christian Graus1-Dec-08 10:18
protectorChristian Graus1-Dec-08 10:18 
brownk1297 wrote:
I am new at asp.net and c# so i am not sure how to go about this...


OK - perhaps you should learn some ASP.NET first ? Why do people always seem to be saying 'I am new to programming, and I want to know how to do this complex task' ??

If you have three items in a drop box, then your two options are:

1 - string mash your SQL using the column name
2 - write three bits of SQL ( perhaps stored procs ) and call the right SQL based on which item was selected.

you should read up on SQL injection attacks if you're writing something that will get any real world use, and if you're building SQL in code. But, I assume no-one will ever use this, if you're new to ASP.NET and C#, you're surely not yet writing code people will use, right ?

Christian Graus

Driven to the arms of OSX by Vista.

GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Paul Conrad1-Dec-08 11:25
professionalPaul Conrad1-Dec-08 11:25 
QuestionHow to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Cyrilix1-Dec-08 8:39
Cyrilix1-Dec-08 8:39 
AnswerRe: How to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Samer Aburabie1-Dec-08 10:39
Samer Aburabie1-Dec-08 10:39 
GeneralRe: How to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Cyrilix1-Dec-08 11:59
Cyrilix1-Dec-08 11:59 
Questionfile upload to FTP ? Pin
Aslesh1-Dec-08 7:37
Aslesh1-Dec-08 7:37 
AnswerRe: file upload to FTP ? Pin
Muhammad Gouda1-Dec-08 8:04
Muhammad Gouda1-Dec-08 8:04 
GeneralRe: file upload to FTP ? Pin
Aslesh1-Dec-08 8:14
Aslesh1-Dec-08 8:14 
GeneralRe: file upload to FTP ? Pin
Muhammad Gouda1-Dec-08 8:29
Muhammad Gouda1-Dec-08 8:29 
QuestionCustom Control property problem Pin
Dirso1-Dec-08 6:48
Dirso1-Dec-08 6:48 
AnswerRe: Custom Control property problem Pin
Dirso1-Dec-08 9:21
Dirso1-Dec-08 9:21 
AnswerRe: Custom Control property problem Pin
Christian Graus1-Dec-08 9:45
protectorChristian Graus1-Dec-08 9:45 
GeneralRe: Custom Control property problem Pin
Dirso1-Dec-08 12:53
Dirso1-Dec-08 12:53 
GeneralRe: Custom Control property problem Pin
Christian Graus1-Dec-08 14:18
protectorChristian Graus1-Dec-08 14:18 
AnswerWindows Workflow Foundation Pin
scottichrosaviakosmos1-Dec-08 6:36
scottichrosaviakosmos1-Dec-08 6:36 
GeneralRe: Windows Workflow Foundation Pin
Paul Conrad1-Dec-08 6:47
professionalPaul Conrad1-Dec-08 6:47 
QuestionRender Page to Word [modified] Pin
kenexcelon1-Dec-08 5:42
kenexcelon1-Dec-08 5:42 
QuestionCan't Delete Cookie being accessed from subdomains Pin
Mateobus1-Dec-08 5:26
Mateobus1-Dec-08 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.