Click here to Skip to main content
15,896,154 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Browser close issue Pin
yesu prakash20-Oct-09 20:34
yesu prakash20-Oct-09 20:34 
GeneralRe: Browser close issue Pin
Abhijit Jana20-Oct-09 21:10
professionalAbhijit Jana20-Oct-09 21:10 
GeneralRe: Browser close issue Pin
J Xie12-Oct-10 18:37
J Xie12-Oct-10 18:37 
Questioncommand returning null value Pin
myinstincts20-Oct-09 18:02
myinstincts20-Oct-09 18:02 
AnswerRe: command returning null value Pin
Christian Graus20-Oct-09 19:10
protectorChristian Graus20-Oct-09 19:10 
GeneralRe: command returning null value Pin
Abhijit Jana20-Oct-09 19:18
professionalAbhijit Jana20-Oct-09 19:18 
GeneralRe: command returning null value Pin
Christian Graus20-Oct-09 19:32
protectorChristian Graus20-Oct-09 19:32 
AnswerRe: command returning null value Pin
Abhijit Jana20-Oct-09 19:12
professionalAbhijit Jana20-Oct-09 19:12 
myinstincts wrote:
SqlCommand cmd = new SqlCommand("select place_name from place inner join state on place.state_id=state.state_id where state_name ='" + statedpdwnlist.SelectedItem.Value + "'", con);


Do like this :
string S="select place_name from place inner join state on place.state_id=state.state_id where state_name ='" + statedpdwnlist.SelectedItem.Value + "'"
SqlCommand cmd = new SqlCommand(s, con);

Now, Put a breakpoint on String S line, check the value of S. Then put the same string on SQL Server Query window and check the result. This will clear your doubts !

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.

QuestionASP.NET hosted Application FIle Path Problem Localhost Pin
Waleed Butt20-Oct-09 11:59
Waleed Butt20-Oct-09 11:59 
QuestionC# getting Text Box Value of a DEEPLY nested Control Pin
Steve Crochet20-Oct-09 11:57
Steve Crochet20-Oct-09 11:57 
AnswerRe: C# getting Text Box Value of a DEEPLY nested Control Pin
Christian Graus20-Oct-09 12:58
protectorChristian Graus20-Oct-09 12:58 
GeneralRe: C# getting Text Box Value of a DEEPLY nested Control Pin
Steve Crochet20-Oct-09 13:11
Steve Crochet20-Oct-09 13:11 
GeneralRe: C# getting Text Box Value of a DEEPLY nested Control Pin
Christian Graus20-Oct-09 13:21
protectorChristian Graus20-Oct-09 13:21 
QuestionGridview Checkbox Not Updating on RowCommand Pin
janetb9920-Oct-09 7:29
janetb9920-Oct-09 7:29 
AnswerRe: Gridview Checkbox Not Updating on RowCommand Pin
janetb9920-Oct-09 11:08
janetb9920-Oct-09 11:08 
QuestionASP.NET - Scrollable Panel and Placing ListView in that Pin
Venkat NP20-Oct-09 5:58
Venkat NP20-Oct-09 5:58 
AnswerRe: ASP.NET - Scrollable Panel and Placing ListView in that Pin
Not Active20-Oct-09 8:07
mentorNot Active20-Oct-09 8:07 
Questionstartdate in dropdownlist Pin
m@dhu20-Oct-09 3:49
m@dhu20-Oct-09 3:49 
AnswerRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 4:00
professionalAbhijit Jana20-Oct-09 4:00 
GeneralRe: startdate in dropdownlist Pin
m@dhu20-Oct-09 4:15
m@dhu20-Oct-09 4:15 
GeneralRe: startdate in dropdownlist Pin
Richard MacCutchan20-Oct-09 4:19
mveRichard MacCutchan20-Oct-09 4:19 
GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 4:44
professionalAbhijit Jana20-Oct-09 4:44 
GeneralRe: startdate in dropdownlist Pin
m@dhu20-Oct-09 19:45
m@dhu20-Oct-09 19:45 
GeneralRe: startdate in dropdownlist Pin
Abhijit Jana20-Oct-09 20:03
professionalAbhijit Jana20-Oct-09 20:03 
GeneralRe: startdate in dropdownlist Pin
Nisha Agrawal20-Oct-09 20:25
Nisha Agrawal20-Oct-09 20:25 

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.