| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Adding Gridview to Input Screen

Page history last edited by Christopher Cole 10 years, 2 months ago

Adding a Gridview to an Input Screen

 

This Gridview uses the code from Calling Stored Procedures from Visual Studio 1- it adds a text box that dynamically shows the contents of the database each time a user enters a new student.

 

Summary

 

Topics Covered in this Video;

 

-SQLdatasource
-Grid View
-Changing headers
-Rebinding

 

Video

 

http://online1.daytonastate.edu/player2.php?id=24e27b869b66e9e62724bd7725d5d9c1

 

 

Code

 

protected void btnSubmit_Click(object sender, EventArgs e)
        {
            SqlDataSource1.Select(DataSourceSelectArguments.Empty);
            tbFirst.Text = string.Empty;
            tbLast.Text = string.Empty;
            GridView1.DataBind();
        } 
 

 

 

Comments (0)

You don't have permission to comment on this page.