日期:2014-05-17 浏览次数:20823 次
using (SqlConnection connection = new SqlConnection(connectionString))
{
DataSet ds = new DataSet();
try
{
connection.Open();
SqlDataAdapter command = new SqlDataAdapter(SQLString, connection);
command.FillSchema(ds, SchemaType.Source);
}
catch (System.Data.SqlClient.SqlException ex)
{
throw new Exception(ex.Message);
}
return ds;
}
SET FMTONLY OFF ;
SET NO_BROWSETABLE ON ;
SET FMTONLY ON ;
EXEC SearchOrder @start = N'0', @limit = N'100', @OrderNo = NULL,
@Mobele = NULL, @CustomerName = NULL, @OrderBeginDate = N'2011-08-01',
@OrderEndDate = N'2011-08-09', @OrderTypeID = NULL, @OrderStatusID = NULL,
@DrBusStationCode = NULL
SET FMTONLY OFF ;
SET NO_BROWSETABLE OFF ;