Interstellar Movie ((BETTER)) Download In Hindi 720p Hd Video
Download File ✫✫✫ https://urloso.com/2t73WP
Tags: Download Interstellar Hindi Dubbed Movie Tamilrockers Video,.
interstellar movie in hindi 720p download 28.09.2016 Download torrent Interstellar movie in Hindi full-HD 4K quality for free.. Interstellar full movie downloaded in hindiQ:
Cannot implicitly convert type 'System.Data.Linq.DataTable' to 'System.Web.UI.WebControls.Table'
I want to populate DataTable in Dropdownlist in ASP.NET using C#.
This is my code.
string strConn = System.Configuration.ConfigurationManager.ConnectionStrings["MvcProject.Properties.Settings.DbConn"].ConnectionString;
using (SqlConnection sqlCon = new SqlConnection(strConn))
sqlCon.Open();
using (SqlDataAdapter sda = new SqlDataAdapter("SELECT * FROM SDR", sqlCon))
DataTable dtTemp = new DataTable();
sda.Fill(dtTemp);
DropDownList1.DataSource = dtTemp;
DropDownList1.DataBind();
Error:
Cannot implicitly convert type 'System.Data.Linq.DataTable' to
'System.Web.UI.WebControls.Table'. An explicit conversion exists (are
you missing a cast?)
A:
Use the constructor of DataTable that takes a DataAdapter, in this case, passing in an instance of a sqlCon:
using (SqlConnection sqlCon = new SqlConnection(strConn))
{
sqlCon.Open();
using (SqlDataAdapter sda = new SqlDataAdapter("SELECT * FROM SDR", sqlCon))
var dtTemp = new DataTable();
sda.Fill(dtTemp);
DropDownList1.DataSource = dtTemp;
DropDownList1.DataBind();
7befd28711