Still is not working. Here is the latest code
C#
Code:
Database db = DatabaseFactory.CreateDatabase("SQLSRVR");
string myStoredProcedure = "usp_GetPersonContact";
SqlParameter[] SQLParameters = new SqlParameter[1];
SQLParameters[0] = new SqlParameter("@lastname", SqlDbType.VarChar, 50, "LastName");
Leave a comment: