To Lecture Notes

IT130 Notes -- 6/1/09

 

Review Questions

  1. After changing the SQL statement, what must one do to reload the DataSet and use it to populate the databound control?
    Ans: Call the DataBind method of the control where the data is to be displayed.
     
  2. I don't get any compiler errors when I run my ASP.Net project with this repeater, but I don't get any output. What is wrong?
    <asp:Repeater ID=repDisplay runat=server
                  DataSourceID=adsGroceries>
    </asp:Repeater>
    
    Ans: There are no templates. Here are some possible templates HeaderTemplate, ItemTemplate, AlternatingTemplate, SeperatorTemplate, FooterTemplate.
     
  3. What are the steps to inserting a new row in a database table?
    Ans: Create and configure a Connection object, create and configure a Command object with an INSERT SQL statement and connection, call the ExecuteNonQuery for the command object, close the connection.

 

Applying CSS Classes to Asp.Net Controls

 

Password Encryption

 

More Controls

 

Master Pages

 

Cookies