Use ILspy decompiled a DLL file, a syntax error (red code below), the code type CS0571, please teach a great god, how to change
Public static string GetNewId (Socket sktX, string sTbName, string sKeyFld, int nLength, string sHeader, string sFldCon, string sValueCon, out string sErr)
{
String sId="";
DBSQLCommandInfo cmdInfo=new DBSQLCommandInfo ();
CmdInfo. SqlText="sp_GetNewId: pTbName, : pFldKey, pLen, : pReplaceChar, : pHeader, : pFldCon, : pValueCon";
CmdInfo. SqlType=1;
CmdInfo. PageIndex=0;
CmdInfo. PageSize=0;
CmdInfo. FromSysType="dotnet";
ZqmParamter par=new ZqmParamter ();
Par. ParameterName="pTbName";
par.ParameterValue=https://bbs.csdn.net/topics/sTbName;
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par) ;
Par=new ZqmParamter ();
Par. ParameterName="pFldKey";
par.ParameterValue=https://bbs.csdn.net/topics/sKeyFld;
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par);
Par=new ZqmParamter ();
Par. ParameterName="pLen";
par.ParameterValue=https://bbs.csdn.net/topics/nLength.ToString ();
Par. DataType=1;
Par. ParameterDir=0;
CmdInfo. Get_Parameters (). The Add (par);
Par=new ZqmParamter ();
Par. ParameterName="pReplaceChar";
Par. ParameterValue="https://bbs.csdn.net/topics/0";
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par) ;
Par=new ZqmParamter ();
Par. ParameterName="pHeader";
par.ParameterValue=https://bbs.csdn.net/topics/sHeader;
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par) ;
Par=new ZqmParamter ();
Par. ParameterName="pFldCon";
Par. ParameterValue="";
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par) ;
Par=new ZqmParamter ();
Par. ParameterName="pValueCon";
Par. ParameterValue="";
Par. The DataType=0;
Par. ParameterDir=0;
cmdInfo. Get_Parameters (). The Add (par) ;
SZDBClient sdcX=new SZDBClient ();
SErr="";
The DataSet dsX=sdcX. GetDataSet (sktX cmdInfo, false, out sErr);
If (dsX!=null)
{
The DataTable tbX=dsX. Tables (" data ");
If (tbX!=null)
{
SId=tbX. Rows [0] [r]. "cNewId" ToString ();
}
}
DsX. The Clear ();
Return