public DataSet getAlltheaters()
{
ds.Clear();
con.Open();
SqlCommand cmd = new SqlCommand("dbo.spgetAlltheaters", con);
cmd.CommandType = CommandType.StoredProcedure;
da = new SqlDataAdapter(cmd);
da.Fill(ds, "Payments");
con.Close();
return ds;
}
No comments:
Post a Comment