what is equivalent in c# of a char in sql?

Tech-Archive recommends: Speed Up your PC by fixing your registry

anonymous_at_discussions.microsoft.com
Date: 03/11/05


Date: Fri, 11 Mar 2005 01:28:06 -0800

I have a stored procedure using a char(10),
I need to specify that param in c#. What c# data type is
can I use?

I've looked around online for equivalents between sql
types and c# types and couldn't find anything.

I know this is basic, but i can't find the answer.
thanks in advance.



Relevant Pages

  • Re: Passing table-type variables to SP?
    ... You can not pass a table data type to a stored procedure. ... When you specify a data type of ... > ALTER PROCEDURE SP_MYPROC ...
    (microsoft.public.sqlserver.programming)
  • Re: Passing table-type variables to SP?
    ... You can not pass a table data type to a stored procedure. ... When you specify a data type of ... > ALTER PROCEDURE SP_MYPROC ...
    (microsoft.public.sqlserver.clients)
  • Re: Passing table-type variables to SP?
    ... You can not pass a table data type to a stored procedure. ... When you specify a data type of ... > ALTER PROCEDURE SP_MYPROC ...
    (microsoft.public.sqlserver.server)
  • Re: Big numbers
    ... entire query; they only implement part of it. ... specify the data type to use, before you can get data in a data type ... I've been talking about queries in general, not specifically ANSI SQL ...
    (comp.lang.c)
  • Re: Accessing Stored Procedure from IIS
    ... Make sure the stored procedure has SET NOCOUNT ON at the beginning. ... > execution falls right through without adding the customer or incrementing ... > adovbs.inc is linked and the "conditional code" I refer to swaps the ... > adocmd.parameters.append param ...
    (microsoft.public.inetserver.asp.general)