[
[
{
WebMethod(Description = "Retrives collection of StatusCode details for the project", EnableSession = false)]WebMethod (Description ="ret",EnableSession =true,BufferResponse =true,CacheDuration =6,MessageName ="ddd",TransactionOption=Transactionoptions.Requiresnew )]public StatuscodeInfo[] GetStatusCodes(string key)StatuscodeInfo[] StatusInfo = null;try{
{
{
StatusInfo =
{
StatusInfo[ILM0] =
StatusInfo[ILM0].statuscodeid =
StatusInfo[ILM0].statusname = odtset.Tables[0].Rows[ILM0][
}
}
}
DbConnect db = new DbConnect();DataSet odtset = db.GetValuesFromDb(key);if (odtset != null)if (odtset.Tables.Count > 0)new StatuscodeInfo[odtset.Tables[0].Rows.Count];for (Int16 ILM0 = 0; ILM0 < odtset.Tables[0].Rows.Count; ILM0++)new StatuscodeInfo();Convert.ToInt32(odtset.Tables[0].Rows[ILM0]["statuscodeid"]);"statuscodeshortname"].ToString();else{
}
}
{
}
}throw new Exception("Invalid Connection String. Connection String Should Not Be Empty or Null");catch (Exception)throw;return StatusInfo;
[
{
WebMethod(Description = "Retrives collection of StatusCode details for the project", EnableSession = false)]WebMethod (Description ="ret",EnableSession =true,BufferResponse =true,CacheDuration =6,MessageName ="ddd",TransactionOption=Transactionoptions.Requiresnew )]public StatuscodeInfo[] GetStatusCodes(string key)StatuscodeInfo[] StatusInfo = null;try{
{
{
StatusInfo =
{
StatusInfo[ILM0] =
StatusInfo[ILM0].statuscodeid =
StatusInfo[ILM0].statusname = odtset.Tables[0].Rows[ILM0][
}
}
}
DbConnect db = new DbConnect();DataSet odtset = db.GetValuesFromDb(key);if (odtset != null)if (odtset.Tables.Count > 0)new StatuscodeInfo[odtset.Tables[0].Rows.Count];for (Int16 ILM0 = 0; ILM0 < odtset.Tables[0].Rows.Count; ILM0++)new StatuscodeInfo();Convert.ToInt32(odtset.Tables[0].Rows[ILM0]["statuscodeid"]);"statuscodeshortname"].ToString();else{
}
}
{
}
}throw new Exception("Invalid Connection String. Connection String Should Not Be Empty or Null");catch (Exception)throw;return StatusInfo;
Comments
Post a Comment