11
1<asp:SqlDataSource ID="SqlDataSource_Registration" runat="server" ConnectionString="<%$ ConnectionStrings:odvConnectionString %>" InsertCommand="INSERT INTO Registration(ID, Course, Student) VALUES (NEWID(), @Course, @Student)" SelectCommand="SELECT [ID], [Course], [Student] FROM [Registration]">
<InsertParameters>
<asp:ControlParameter ControlID="DDL_Course" Name="Course" PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="DDL_Student" Name="Student" PropertyName="SelectedValue" />
</InsertParameters>