Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: "This command is not available because no document is open." Pin
Pete O'Hanlon23-Oct-14 2:28
mvePete O'Hanlon23-Oct-14 2:28 
GeneralRe: "This command is not available because no document is open." Pin
Tejas Shastri23-Oct-14 2:33
Tejas Shastri23-Oct-14 2:33 
GeneralRe: "This command is not available because no document is open." Pin
Pete O'Hanlon23-Oct-14 2:40
mvePete O'Hanlon23-Oct-14 2:40 
GeneralRe: "This command is not available because no document is open." Pin
Tejas Shastri23-Oct-14 4:08
Tejas Shastri23-Oct-14 4:08 
GeneralRe: "This command is not available because no document is open." Pin
Freak3023-Oct-14 3:56
Freak3023-Oct-14 3:56 
GeneralRe: "This command is not available because no document is open." Pin
Tejas Shastri23-Oct-14 4:09
Tejas Shastri23-Oct-14 4:09 
Questionlaunch another Application from memory by C# Pin
iscreen22-Oct-14 0:15
iscreen22-Oct-14 0:15 
AnswerRe: launch another Application from memory by C# Pin
Richard MacCutchan22-Oct-14 0:20
mveRichard MacCutchan22-Oct-14 0:20 
AnswerRe: launch another Application from memory by C# PinPopular
Richard Deeming22-Oct-14 2:45
mveRichard Deeming22-Oct-14 2:45 
GeneralRe: launch another Application from memory by C# Pin
iscreen22-Oct-14 2:57
iscreen22-Oct-14 2:57 
QuestionCalendar Extender Pin
sadmoh21-Oct-14 23:52
sadmoh21-Oct-14 23:52 
Questionusing a Func with dynamic parameters as a query: pros ? cons ? and a few other miscellaneous questions on Func Pin
BillWoodruff21-Oct-14 13:03
professionalBillWoodruff21-Oct-14 13:03 
AnswerRe: using a Func with dynamic parameters as a query: pros ? cons ? and a few other miscellaneous questions on Func Pin
Richard Deeming22-Oct-14 2:41
mveRichard Deeming22-Oct-14 2:41 
GeneralRe: using a Func with dynamic parameters as a query: pros ? cons ? and a few other miscellaneous questions on Func Pin
BillWoodruff22-Oct-14 6:19
professionalBillWoodruff22-Oct-14 6:19 
GeneralRe: using a Func with dynamic parameters as a query: pros ? cons ? and a few other miscellaneous questions on Func Pin
Richard Deeming22-Oct-14 6:38
mveRichard Deeming22-Oct-14 6:38 
GeneralRe: using a Func with dynamic parameters as a query: pros ? cons ? and a few other miscellaneous questions on Func Pin
BillWoodruff22-Oct-14 7:44
professionalBillWoodruff22-Oct-14 7:44 
Questionspeedtest.net Like result Pin
Jassim Rahma21-Oct-14 10:21
Jassim Rahma21-Oct-14 10:21 
AnswerRe: speedtest.net Like result Pin
Pete O'Hanlon21-Oct-14 10:26
mvePete O'Hanlon21-Oct-14 10:26 
GeneralRe: speedtest.net Like result Pin
Jassim Rahma21-Oct-14 10:31
Jassim Rahma21-Oct-14 10:31 
GeneralRe: speedtest.net Like result Pin
PIEBALDconsult21-Oct-14 10:35
mvePIEBALDconsult21-Oct-14 10:35 
GeneralRe: speedtest.net Like result Pin
Bernhard Hiller22-Oct-14 22:52
Bernhard Hiller22-Oct-14 22:52 
GeneralRe: speedtest.net Like result Pin
PIEBALDconsult21-Oct-14 10:31
mvePIEBALDconsult21-Oct-14 10:31 
Questiontrying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
Sam 910021-Oct-14 8:34
Sam 910021-Oct-14 8:34 
AnswerRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
Richard Deeming21-Oct-14 8:47
mveRichard Deeming21-Oct-14 8:47 
AnswerRe: trying to use stored proc @fields in winforms with sql connection. Error procedure or function @Field expects parameter... Pin
PIEBALDconsult21-Oct-14 9:10
mvePIEBALDconsult21-Oct-14 9:10 
0) (Unrelated to the error) There is no need to specify the datatypes for the parameters; they will be set when you set the value.
1) If you don't set the Value, or if the value is NULL, set the Value to DBNull.Value
2) You may need to set the Direction of the parameters.

3) = edtPicker; and = udtPicker; -- Don't those need a .Value ?
3) DateTime edtPicker = Convert.ToDateTime(EnterdateDateTimePicker.Value); -- you don't need to convert; just cast
DateTime edtPicker = (DateTime) EnterdateDateTimePicker.Value;


4) The procedure returns a DataTable, are you expecting it to set your parameters?

Otherwise, it seems OK.

modified 21-Oct-14 16:09pm.

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.