Click here to Skip to main content
15,887,311 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSuggest me a website in asp dotnet Pin
Member 1041107418-Nov-13 23:15
Member 1041107418-Nov-13 23:15 
AnswerRe: Suggest me a websit in asp dotnet Pin
Chris Quinn18-Nov-13 23:22
Chris Quinn18-Nov-13 23:22 
AnswerRe: Suggest me a website in asp dotnet Pin
Dineshshp18-Nov-13 23:39
professionalDineshshp18-Nov-13 23:39 
AnswerRe: Suggest me a website in asp dotnet Pin
Chris Quinn19-Nov-13 0:42
Chris Quinn19-Nov-13 0:42 
AnswerRe: Suggest me a website in asp dotnet Pin
thatraja19-Nov-13 1:09
professionalthatraja19-Nov-13 1:09 
AnswerRe: Suggest me a website in asp dotnet Pin
Abhinav S19-Nov-13 16:56
Abhinav S19-Nov-13 16:56 
QuestionDropdown list based on another dropdown list. Pin
Member 1040983818-Nov-13 10:20
Member 1040983818-Nov-13 10:20 
AnswerRe: Dropdown list based on another dropdown list. Pin
Richard Deeming19-Nov-13 2:07
mveRichard Deeming19-Nov-13 2:07 
What you're looking for is commonly called a "cascading dropdown list". There are quite a few articles which explain how to achieve this; for example:
http://www.aspsnippets.com/Articles/Creating-Cascading-DropDownLists-in-ASP.Net.aspx[^]

Your code has some other obvious problems:
  • Your queries in the RowDataBound and BindData methods are susceptible to SQL Injection[^]. You need to replace the string concatenation with parameterized queries.
  • You are storing page-specific state in static fields. The value of a static field will be shared across every request from every user for the lifetime of the AppDomain, which is not what you want.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionASP.NET QUESTION PERSONAL PROJECT Pin
cserakeshcseranjan18-Nov-13 4:30
cserakeshcseranjan18-Nov-13 4:30 
AnswerRe: ASP.NET QUESTION PERSONAL PROJECT Pin
Joshua Omundson18-Nov-13 4:58
Joshua Omundson18-Nov-13 4:58 
AnswerRe: ASP.NET QUESTION PERSONAL PROJECT Pin
thatraja18-Nov-13 4:59
professionalthatraja18-Nov-13 4:59 
QuestionHow does IIS recognize that request is for MVC Controllers or webforms Pages? Pin
sanjay24365718-Nov-13 4:08
sanjay24365718-Nov-13 4:08 
QuestionJanus GridEx + asp.net Pin
jojoba201118-Nov-13 4:00
jojoba201118-Nov-13 4:00 
QuestionRe: Janus GridEx + asp.net Pin
thatraja18-Nov-13 4:32
professionalthatraja18-Nov-13 4:32 
QuestionRe: Janus GridEx + asp.net Pin
jojoba201119-Nov-13 18:05
jojoba201119-Nov-13 18:05 
QuestionADO.NET Pin
rock_monu17-Nov-13 21:58
rock_monu17-Nov-13 21:58 
AnswerRe: ADO.NET Pin
Rockstar_17-Nov-13 22:26
professionalRockstar_17-Nov-13 22:26 
AnswerRe: ADO.NET Pin
Richard MacCutchan17-Nov-13 22:36
mveRichard MacCutchan17-Nov-13 22:36 
AnswerRe: ADO.NET Pin
Abhinav S19-Nov-13 16:58
Abhinav S19-Nov-13 16:58 
QuestionHow to put the Datapager's numeric pager field back to one every selected index changed of dropdownlist? Pin
Member 840570016-Nov-13 1:26
Member 840570016-Nov-13 1:26 
QuestionRole-based windows authentication Pin
#realJSOP14-Nov-13 6:33
mve#realJSOP14-Nov-13 6:33 
AnswerRe: Role-based windows authentication Pin
Richard Deeming14-Nov-13 6:51
mveRichard Deeming14-Nov-13 6:51 
GeneralRe: Role-based windows authentication Pin
#realJSOP14-Nov-13 7:05
mve#realJSOP14-Nov-13 7:05 
GeneralRe: Role-based windows authentication Pin
#realJSOP14-Nov-13 10:43
mve#realJSOP14-Nov-13 10:43 
QuestionHow to get the current page value of datapager in asp.net? Pin
Member 840570013-Nov-13 8:11
Member 840570013-Nov-13 8:11 

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.