Click here to Skip to main content
15,905,590 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do I display contents of a spreasheet in a listView or datagrid Pin
Ashish Derhgawen3-Mar-08 4:57
Ashish Derhgawen3-Mar-08 4:57 
GeneralRe: How do I display contents of a spreasheet in a listView or datagrid Pin
Walaza3-Mar-08 6:10
Walaza3-Mar-08 6:10 
GeneralUsing a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 1:03
professionalVimalsoft(Pty) Ltd3-Mar-08 1:03 
GeneralRe: Using a Stored Procedure in C# Pin
Obaid ur Rehman3-Mar-08 1:11
Obaid ur Rehman3-Mar-08 1:11 
GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 1:19
professionalVimalsoft(Pty) Ltd3-Mar-08 1:19 
GeneralRe: Using a Stored Procedure in C# Pin
Colin Angus Mackay3-Mar-08 3:06
Colin Angus Mackay3-Mar-08 3:06 
GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 19:14
professionalVimalsoft(Pty) Ltd3-Mar-08 19:14 
GeneralRe: Using a Stored Procedure in C# Pin
mav.northwind3-Mar-08 1:12
mav.northwind3-Mar-08 1:12 
Hi!
The first place to look for parameters should be the documentation - MSDN still is the authority to ask.
Try explaining what your cmdselect.CommandType... line does (not what you want it to do, but what the meaning of the statements you've written is!).
You'll see that the two assignments you're performing are nonsense.
StoredProcedure is an enum value and you have to tell which enum it's a part of.
Btw., you don't get an Exception but a syntax error during compilation - that's a huge difference!

Regards,
mav

--
Black holes are the places where God divided by 0...

GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 1:54
professionalVimalsoft(Pty) Ltd3-Mar-08 1:54 
GeneralRe: Using a Stored Procedure in C# Pin
Walaza3-Mar-08 1:23
Walaza3-Mar-08 1:23 
GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 1:56
professionalVimalsoft(Pty) Ltd3-Mar-08 1:56 
GeneralRe: Using a Stored Procedure in C# Pin
Walaza3-Mar-08 1:59
Walaza3-Mar-08 1:59 
GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 19:15
professionalVimalsoft(Pty) Ltd3-Mar-08 19:15 
GeneralRe: Using a Stored Procedure in C# Pin
baala.m3-Mar-08 2:28
baala.m3-Mar-08 2:28 
GeneralRe: Using a Stored Procedure in C# Pin
Vimalsoft(Pty) Ltd3-Mar-08 19:18
professionalVimalsoft(Pty) Ltd3-Mar-08 19:18 
Generaltransaction Pin
SVb.net3-Mar-08 0:54
SVb.net3-Mar-08 0:54 
GeneralRe: transaction Pin
Xmen Real 3-Mar-08 4:36
professional Xmen Real 3-Mar-08 4:36 
QuestionWord 2002 cast COM object error Pin
mpavas3-Mar-08 0:47
mpavas3-Mar-08 0:47 
QuestionRename object using DirectoryServices.AccountManagement Pin
vrocks12893-Mar-08 0:25
vrocks12893-Mar-08 0:25 
Generalcontrol usb Pin
SVb.net3-Mar-08 0:12
SVb.net3-Mar-08 0:12 
Generalvideo player from direct X Pin
jimmy2shoes2-Mar-08 22:58
jimmy2shoes2-Mar-08 22:58 
GeneralRe: video player from direct X Pin
Simon P Stevens2-Mar-08 23:21
Simon P Stevens2-Mar-08 23:21 
GeneralRe: video player from direct X Pin
jimmy2shoes2-Mar-08 23:34
jimmy2shoes2-Mar-08 23:34 
GeneralRe: video player from direct X Pin
Simon P Stevens2-Mar-08 23:38
Simon P Stevens2-Mar-08 23:38 
GeneralRe: video player from direct X Pin
jimmy2shoes2-Mar-08 23:39
jimmy2shoes2-Mar-08 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.