1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
SqlCommand command = new SqlCommand("get_fixture",con);
command.CommandType = CommandType.StoredProcedure;
command.Parameters.Add("@CountryName",SqlDbType.VarChar,30).Value
= CountryName.Trim() ;
command.Parameters.Add("@LeagueName", SqlDbType.VarChar, 30).Value
= LeagueName.Trim();
command.Parameters.Add("@TeamName", SqlDbType.VarChar, 30).Value =
TeamName;
command.Parameters.Add("@NbPastSeason",SqlDbType.Int,4).Value =
NbPastSeason;
command.Parameters.Add("@FixtureStatus", SqlDbType.VarChar, 3).Value
= FixtureStatus.Trim();
...
LoadDataDataGridView(CountryName, LeagueName, null, 0, "P"); |
Partager