long movieID = long.Parse(this.Movie.SelectedValue.ToString()); Data.VMS.DataSet.MovieGenreRow row = this.VMSDataSet.MovieGenre.NewMovieGenreRow(); row.Movie_ID = movieID; Data.VMSDataSet.GenreRow genreRow = this.VMSDataSet.Genre.NewGenreRow(); genreRow.Title = this.GenreTitle.Text; genreRow.Description = this.GenreDescription.Text; this.VMSDataSet.Genre.Rows.Add(genreRow); row.Genre_ID = -1; this.VMSDataSet.MovieGenre.Rows.Add(row);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)