Hello
Actually i am new to rad controls and i am binding a gridview with a data table.
my gridview makes rows but didn't show data.
my cs code is
Pleases anybody tell me why this happen??
any solution?
Actually i am new to rad controls and i am binding a gridview with a data table.
my gridview makes rows but didn't show data.
my cs code is
DataTable tblSrc = new DataTable(); tblSrc.Columns.Add("Title"); tblSrc.Columns.Add("Time"); tblSrc.Columns.Add("PrimaryArtist"); tblSrc.Columns.Add("Album"); tblSrc.Columns.Add("PrimaryGenre"); tblSrc.Columns.Add("Rating"); tblSrc.Columns.Add("Status"); DataRow dr; for (int i = 0; i < 5; i++) { dr = tblSrc.NewRow(); dr["Title"] = "asd"; dr["Time"] = "asd"; dr["PrimaryArtist"] = "Add To PlayList"; dr["Album"] = "asd"; dr["PrimaryGenre"] = "asd"; dr["Rating"] = "asd"; dr["Status"] = "asd"; tblSrc.Rows.Add(dr); } //DataSet ds = APS.GetAllPodcastsByPublisherId(73); this.Gv_SongList.DataSource = tblSrc;any solution?
