You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
743 B
31 lines
743 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace Stone.Common
|
|
{
|
|
public class MyCommand
|
|
{
|
|
private DataSet dsCommand;
|
|
private DataTable dtCommand;
|
|
|
|
public MyCommand(string Cmd, string Pars)
|
|
{
|
|
dsCommand = new DataSet();
|
|
dtCommand = new DataTable("Command");
|
|
dtCommand.Columns.Add("Cmd");
|
|
dtCommand.Columns.Add("Pars");
|
|
DataRow dr = dtCommand.NewRow();
|
|
dr["Cmd"] = Cmd;
|
|
dr["Pars"] = Pars;
|
|
dtCommand.Rows.Add(dr);
|
|
dsCommand.Tables.Add(dtCommand);
|
|
}
|
|
|
|
public DataSet GetCommand()
|
|
{
|
|
return dsCommand;
|
|
}
|
|
}
|
|
}
|
|
|