DataSet DS = new DataSet(); DS = c1.selectDs("SELECT Category, Marks, General_Rank, [Category_Rank] FROM RPMT_2011_Rank_Calculator WHERE (Category = '" + DropDownList1.SelectedItem.Text.Trim() + "') AND (Marks = '" + TextBox_Marks.Text.Trim() + "')"); TextBox_Marks.Text = ""; DetailsView1.DataSource = DS.Tables[0].DefaultView; DetailsView1.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)