Thursday, November 25, 2021

ExecuteReader function with grid asp.net c# (Bind a grid with executereader function)

con.Open();

                    GridView1.DataSource = cmd.ExecuteReader();

                    GridView1.DataBind();

                    con.Close();

No comments:

Post a Comment