Click here to Skip to main content
15,898,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: best way to update an xml file once per day on web application? Pin
Mike Ellison26-Jul-09 13:38
Mike Ellison26-Jul-09 13:38 
Questionasp.net display data in gridview [modified] Pin
solo_gaurav26-Jul-09 5:18
solo_gaurav26-Jul-09 5:18 
AnswerRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 6:58
professionalAbhijit Jana26-Jul-09 6:58 
GeneralRe: asp.net display data in gridview Pin
solo_gaurav26-Jul-09 7:36
solo_gaurav26-Jul-09 7:36 
GeneralRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 8:40
professionalAbhijit Jana26-Jul-09 8:40 
GeneralRe: asp.net display data in gridview Pin
solo_gaurav26-Jul-09 10:28
solo_gaurav26-Jul-09 10:28 
GeneralRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 11:11
professionalAbhijit Jana26-Jul-09 11:11 
AnswerRe: asp.net display data in gridview Pin
Paul Conrad26-Jul-09 10:57
professionalPaul Conrad26-Jul-09 10:57 
solo_gaurav wrote:
cmd = new SqlCommand("select * from salescounts where ='"+DropDownList1.Text+"'", con);


As the other poster had mentioned, this opens you up for a potential SQL Injection attack. I recommend reading SQL Injection Attacks and Some Tips on How to Prevent Them[^] by Colin Mackay on this site.

If you could shed some light on what are actual data values of DropDownList1.Text would be helpful. Your trouble might be what is being generated as the SQL string and causing it not to bind the data.

"The clue train passed his station without stopping." - John Simmons / outlaw programmer

"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham


Questionin my system mechine.config is not there in the bellow path.why ? how to create Pin
Ramesh Reddy1111126-Jul-09 3:37
Ramesh Reddy1111126-Jul-09 3:37 
AnswerRe: in my system mechine.config is not there in the bellow path.why ? how to create Pin
Manas Bhardwaj26-Jul-09 3:59
professionalManas Bhardwaj26-Jul-09 3:59 
QuestionRetaining the string entered in File Upload Control Pin
meeram39526-Jul-09 3:22
meeram39526-Jul-09 3:22 
AnswerRe: Retaining the string entered in File Upload Control Pin
Abhishek Sur26-Jul-09 10:39
professionalAbhishek Sur26-Jul-09 10:39 
GeneralRe: Retaining the string entered in File Upload Control Pin
meeram39526-Jul-09 21:23
meeram39526-Jul-09 21:23 
GeneralRe: Retaining the string entered in File Upload Control Pin
Abhishek Sur26-Jul-09 21:54
professionalAbhishek Sur26-Jul-09 21:54 
QuestionSession Variables Mysteriously Go Null Pin
PDTUM25-Jul-09 16:27
PDTUM25-Jul-09 16:27 
AnswerRe: Session Variables Mysteriously Go Null Pin
Abhijit Jana25-Jul-09 20:45
professionalAbhijit Jana25-Jul-09 20:45 
GeneralRe: Session Variables Mysteriously Go Null Pin
PDTUM26-Jul-09 4:20
PDTUM26-Jul-09 4:20 
AnswerRe: Session Variables Mysteriously Go Null Pin
Abhishek Sur25-Jul-09 21:31
professionalAbhishek Sur25-Jul-09 21:31 
AnswerRe: Session Variables Mysteriously Go Null Pin
Manas Bhardwaj25-Jul-09 22:58
professionalManas Bhardwaj25-Jul-09 22:58 
QuestionOpen PDF from Gridview Link Pin
PDTUM25-Jul-09 10:16
PDTUM25-Jul-09 10:16 
AnswerRe: Open PDF from Gridview Link Pin
Abhijit Jana25-Jul-09 10:29
professionalAbhijit Jana25-Jul-09 10:29 
GeneralRe: Open PDF from Gridview Link Pin
PDTUM25-Jul-09 12:03
PDTUM25-Jul-09 12:03 
GeneralRe: Open PDF from Gridview Link Pin
Abhijit Jana25-Jul-09 12:25
professionalAbhijit Jana25-Jul-09 12:25 
GeneralRe: Open PDF from Gridview Link Pin
PDTUM25-Jul-09 12:43
PDTUM25-Jul-09 12:43 
GeneralRe: Open PDF from Gridview Link Pin
Abhijit Jana25-Jul-09 20:50
professionalAbhijit Jana25-Jul-09 20:50 

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.