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

ASP.NET

 
AnswerRe: Null Exception Pin
Jason Vetter25-Feb-10 11:56
Jason Vetter25-Feb-10 11:56 
QuestionHow to use chart in RDLC? Pin
swaroop0922-Feb-10 0:01
swaroop0922-Feb-10 0:01 
AnswerRe: How to use chart in RDLC? Pin
Not Active22-Feb-10 0:29
mentorNot Active22-Feb-10 0:29 
AnswerRe: How to use chart in RDLC? Pin
Abhishek Sur22-Feb-10 1:23
professionalAbhishek Sur22-Feb-10 1:23 
Questionhow to use reporting services in sql server 2005 Pin
developerit21-Feb-10 23:50
developerit21-Feb-10 23:50 
AnswerRe: how to use reporting services in sql server 2005 Pin
swaroop0922-Feb-10 0:05
swaroop0922-Feb-10 0:05 
QuestionDropdownlistbox issue.... Pin
<<Tash18>>21-Feb-10 23:45
<<Tash18>>21-Feb-10 23:45 
AnswerRe: Dropdownlistbox issue.... Pin
Not Active22-Feb-10 0:27
mentorNot Active22-Feb-10 0:27 
<<tash18>> wrote:
whats wrong in my code


Plenty.

name = TextBox34.Text;

First of all you are accepting direct, unvalidated input from user controls that can and will expose your application to SQL inject attacks.

con.ConnectionString = Session["sqlcon"].ToString();

Do not store the connection string in a Session variable. Another security hole and unnecessary. You don't even handle the case where it could be null.

card = DropDownList1.SelectedItem.Text.ToString();

When the button is clicked, whatever the currently selected item in the dropdown is what will be used.

I know the language. I've read a book. - _Madmatt

GeneralRe: Dropdownlistbox issue.... Pin
<<Tash18>>22-Feb-10 0:40
<<Tash18>>22-Feb-10 0:40 
GeneralRe: Dropdownlistbox issue.... Pin
nainakarri22-Feb-10 0:53
nainakarri22-Feb-10 0:53 
GeneralRe: Dropdownlistbox issue.... Pin
<<Tash18>>22-Feb-10 1:03
<<Tash18>>22-Feb-10 1:03 
AnswerRe: Dropdownlistbox issue.... Pin
R. Giskard Reventlov22-Feb-10 0:53
R. Giskard Reventlov22-Feb-10 0:53 
GeneralRe: Dropdownlistbox issue.... Pin
<<Tash18>>22-Feb-10 1:02
<<Tash18>>22-Feb-10 1:02 
GeneralRe: Dropdownlistbox issue.... Pin
R. Giskard Reventlov22-Feb-10 1:14
R. Giskard Reventlov22-Feb-10 1:14 
Questionhow to show a label within an image but without disturbing the image. Pin
hari.kotha21-Feb-10 23:31
hari.kotha21-Feb-10 23:31 
AnswerRe: how to show a label within an image but without disturbing the image. Pin
Brij22-Feb-10 0:42
mentorBrij22-Feb-10 0:42 
Questionhow to prepare time sheet application for employees using asp.net with c#.net Pin
developerit21-Feb-10 23:21
developerit21-Feb-10 23:21 
AnswerRe: how to prepare time sheet application for employees using asp.net with c#.net Pin
Brij22-Feb-10 0:29
mentorBrij22-Feb-10 0:29 
QuestionDynamic Meta Keywords Pin
chamee12321-Feb-10 22:21
chamee12321-Feb-10 22:21 
AnswerRe: Dynamic Meta Keywords Pin
keyur satyadev21-Feb-10 22:29
keyur satyadev21-Feb-10 22:29 
AnswerRe: Dynamic Meta Keywords Pin
enjoycrack22-Feb-10 17:30
enjoycrack22-Feb-10 17:30 
QuestionWindows Cardspace Pin
Ramkumar_S21-Feb-10 21:37
Ramkumar_S21-Feb-10 21:37 
QuestionPaging not working properly on Modelpopup Ajax Control Pin
gautamamit821-Feb-10 21:34
gautamamit821-Feb-10 21:34 
QuestionWhy the dll is not updated in VS-2008? Pin
Prasadsm21-Feb-10 20:56
Prasadsm21-Feb-10 20:56 
AnswerRe: Why the dll is not updated in VS-2008? Pin
Calla21-Feb-10 23:39
Calla21-Feb-10 23:39 

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.