• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Microsoft Enterprise solution 4.0

Hi,
This regarding a method in Enterprise Library Data layer, it is below. In this what is the 4th parameter? i.e int size ? What I have to pass into this ? If output parameter is string than what I have to pass? If output parameter is boolean then what I have to pass? If output parameter is integer then what I have to pass for as 4th parameter?

public void AddOutParameter (
    DbCommand command,
    string name,
    DbType dbType,
    int size)

I know first 3, but what I have to pass in 4th one, pl see below.

dbFSKL.AddOutParameter(cmdFSKL, "v_num", DbType.Int16, ??);
0
GouthamAnand
Asked:
GouthamAnand
1 Solution
 
Anurag ThakurCommented:
try to give the value like for int16 - 2 and for int32 - 4 and for a varchar 10 - 10
it says size but what size is not mentioned, i tried msdn but no answers
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now