i have a sp,which return dyanimic columns name ,and i want bind it in gridview,how
please help me as soon as possible
i have a sp,which return dyanimic columns name ,and i want bind it in gridview,how
please help me as soon as possible
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Arnab MukherjeeRank #879 · 2.5K reputationPosted Feb 3, 2022, 3:39 AM EST
protected void ExecuteButton_Click(object sender, EventArgs e)
{
SqlDataSource1.SelectCommand = SqlQueryTextBox.Text;
GridView1.DataBind();
}
Sandeep KumarRank #1,642 · 937 reputationPosted Feb 3, 2022, 3:43 AM EST
Arnab MukherjeeRank #879 · 2.5K reputationPosted Feb 3, 2022, 5:20 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2022, 12:44 PM EST