Click here to Skip to main content
15,884,986 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: FormView last inserted ID into Access database Pin
led mike29-Jan-09 4:24
led mike29-Jan-09 4:24 
QuestionFILE UPLOAD control Pin
sana1729-Jan-09 2:29
sana1729-Jan-09 2:29 
AnswerRe: FILE UPLOAD control Pin
J4amieC29-Jan-09 2:36
J4amieC29-Jan-09 2:36 
GeneralRe: FILE UPLOAD control Pin
sana1729-Jan-09 8:10
sana1729-Jan-09 8:10 
AnswerRe: FILE UPLOAD control Pin
Paddy Boyd29-Jan-09 2:45
Paddy Boyd29-Jan-09 2:45 
GeneralRe: FILE UPLOAD control Pin
sana1729-Jan-09 8:10
sana1729-Jan-09 8:10 
AnswerRe: FILE UPLOAD control Pin
Karthick_gc29-Jan-09 23:26
Karthick_gc29-Jan-09 23:26 
QuestionAssigning stored proc param values in GridView's SelectCommand Pin
Christopher Duncan29-Jan-09 2:13
Christopher Duncan29-Jan-09 2:13 
Hey, guys.

Using Sql Server stored procs is pretty painless in general, but I'm having a little trouble with a GridView scenario (VS 2008).

I can point the data source .SelectCommand to the name of the stored proc, and I can create and add parameters. However, for the particular type of param that's used in this case (as opposed to the general SqlCommand scenario), I'm not getting the expected results when assigning the value to that param at runtime. There's overloads of the routine to add params that takes the param id, type and value, but at runtime I don't get any data back from the call.

Using a "Select * from yada yada" in the SelectCommand works fine, and when I run the stored proc from Sql Server with the value I'm passing in, I get the expected data as well. Just not when using a proc name in the SelectCommand and add param approach with the data source and grid view.

Been googling quite a bit and can't seem to find any examples for this. Anyone know of a working code snippet they could point me to?

Thanks,


AnswerRe: Assigning stored proc param values in GridView's SelectCommand Pin
ToddHileHoffer29-Jan-09 2:43
ToddHileHoffer29-Jan-09 2:43 
GeneralRe: Assigning stored proc param values in GridView's SelectCommand Pin
Christopher Duncan29-Jan-09 3:03
Christopher Duncan29-Jan-09 3:03 
Question[newbie] controls not aligned within <table></table> Pin
jon-8029-Jan-09 1:13
professionaljon-8029-Jan-09 1:13 
AnswerRe: [newbie] controls not aligned within Pin
ToddHileHoffer29-Jan-09 2:46
ToddHileHoffer29-Jan-09 2:46 
GeneralRe: [newbie] controls not aligned within Pin
jon-8029-Jan-09 3:05
professionaljon-8029-Jan-09 3:05 
Questionhow to fetch values from stock market in asp.net application Pin
rak_kan29-Jan-09 1:12
rak_kan29-Jan-09 1:12 
AnswerRe: how to fetch values from stock market in asp.net application Pin
mr_muskurahat29-Jan-09 2:05
mr_muskurahat29-Jan-09 2:05 
AnswerRe: how to fetch values from stock market in asp.net application Pin
johnsontroye29-Jan-09 9:57
johnsontroye29-Jan-09 9:57 
QuestionFile download Pin
Radhakrishnan G.29-Jan-09 0:50
Radhakrishnan G.29-Jan-09 0:50 
AnswerRe: File download Pin
Guffa29-Jan-09 6:01
Guffa29-Jan-09 6:01 
AnswerRe: File download Pin
Rutvik Dave29-Jan-09 6:52
professionalRutvik Dave29-Jan-09 6:52 
QuestionAbout search from start Date to End Date Pin
sanjay3029-Jan-09 0:47
sanjay3029-Jan-09 0:47 
AnswerRe: About search from start Date to End Date Pin
Aman Bhullar29-Jan-09 0:57
Aman Bhullar29-Jan-09 0:57 
QuestionCan anybody help me pleaseeeeee Pin
AnuMaria29-Jan-09 0:31
AnuMaria29-Jan-09 0:31 
AnswerRe: Can anybody help me pleaseeeeee Pin
Paddy Boyd29-Jan-09 2:48
Paddy Boyd29-Jan-09 2:48 
QuestionTextEditor Pin
sajjadlashari29-Jan-09 0:18
sajjadlashari29-Jan-09 0:18 
AnswerRe: TextEditor Pin
Tad McClellan29-Jan-09 11:06
professionalTad McClellan29-Jan-09 11:06 

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.