Click here to Skip to main content
15,894,410 members
Home / Discussions / C#
   

C#

 
GeneralRe: Validating a date in a DateTimePicker Pin
Darryl Borden12-Apr-05 10:53
Darryl Borden12-Apr-05 10:53 
GeneralRe: Validating a date in a DateTimePicker Pin
hooray12-Apr-05 10:56
hooray12-Apr-05 10:56 
GeneralRe: Validating a date in a DateTimePicker Pin
drey113-Apr-05 6:03
drey113-Apr-05 6:03 
GeneralRe: Validating a date in a DateTimePicker Pin
drey113-Apr-05 6:41
drey113-Apr-05 6:41 
GeneralAutoscrolling textbox Pin
zagzagzag12-Apr-05 9:31
zagzagzag12-Apr-05 9:31 
GeneralRe: Autoscrolling textbox Pin
Darryl Borden12-Apr-05 11:00
Darryl Borden12-Apr-05 11:00 
GeneralRe: Autoscrolling textbox Pin
zagzagzag12-Apr-05 22:04
zagzagzag12-Apr-05 22:04 
Generalodbc stuff Pin
jobrown5vt12-Apr-05 8:43
jobrown5vt12-Apr-05 8:43 
I'm using odbc to call stored procedures in a way similar to the small amount of sample code below:

OdbcCommand command = conn.CreateCommand();
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "call proc(?, ?, ?, ?, ?, ?, ?, ?, ?)";
OdbcParameter param = new OdbcParameter("paraName", OdbcType.VarChar, 4);
param.Direction = ParameterDirection.Input;
command.Parameters.Add(param);
command.ExecuteNonQuery();

...and then accessing them like this:

command.Parameters["paraName"].Value;

This has been working great; except now I have encountered a situation where the stored procedure is attempting to return an entire table (instead of a single record) as one of its output parameters. How do I handle this? Is there a special Odbctype that I should be using? And then, how I access each record within the table once it has been retrieved?
Thanks!


Generalreplace text in a byte[] Pin
Ian Bowler12-Apr-05 7:30
Ian Bowler12-Apr-05 7:30 
GeneralRe: replace text in a byte[] Pin
Nick Parker12-Apr-05 9:39
protectorNick Parker12-Apr-05 9:39 
GeneralRe: replace text in a byte[] Pin
Ian Bowler12-Apr-05 9:47
Ian Bowler12-Apr-05 9:47 
GeneralLogin to Yahoo network Pin
ldself12-Apr-05 7:26
ldself12-Apr-05 7:26 
Generalformating datagrid Pin
la vie12-Apr-05 5:57
la vie12-Apr-05 5:57 
GeneralRe: formating datagrid Pin
MoustafaS12-Apr-05 14:17
MoustafaS12-Apr-05 14:17 
GeneralC# for Pocket PC Pin
Vitor Hugo Barros12-Apr-05 5:57
Vitor Hugo Barros12-Apr-05 5:57 
GeneralC# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 5:38
Brigg Thorp12-Apr-05 5:38 
GeneralRe: C# RegistryKey and GetType Pin
Ian Bowler12-Apr-05 7:36
Ian Bowler12-Apr-05 7:36 
GeneralRe: C# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 9:21
Brigg Thorp12-Apr-05 9:21 
GeneralRe: C# RegistryKey and GetType Pin
Dave Kreskowiak12-Apr-05 7:52
mveDave Kreskowiak12-Apr-05 7:52 
GeneralRe: C# RegistryKey and GetType Pin
Brigg Thorp12-Apr-05 9:25
Brigg Thorp12-Apr-05 9:25 
QuestionCan i stop people from deleting a file? Pin
Anthony Mushrow12-Apr-05 5:37
professionalAnthony Mushrow12-Apr-05 5:37 
AnswerRe: Can i stop people from deleting a file? Pin
Dave Kreskowiak12-Apr-05 7:21
mveDave Kreskowiak12-Apr-05 7:21 
AnswerRe: Can i stop people from deleting a file? Pin
afinnell15-Apr-05 13:55
afinnell15-Apr-05 13:55 
GeneralC# COM Interop Pin
s2111979212-Apr-05 4:30
s2111979212-Apr-05 4:30 
GeneralMake an instance of a child form from a class file. Pin
Mike Jeferson12-Apr-05 4:23
Mike Jeferson12-Apr-05 4:23 

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.