How to store values between steps in ASP.NET Wizard?
<p>I have a Wizard with 2 steps.</p>

<p>In Step 2, I have sub section called "Skills" with one DropDownList.</p>

<p>I have the DataValueField of this DropDownList and EmpID of previous step to insert into a table called "dbo.Emp_Skill_Bridge"
EmpID (PK) | SkillID </p>

<p>This was my unsuccessful attempt.</p>

<pre><code> public void Insertskills()
        {
            String KKStech = @"Data Source=USER-PC\SQLEXPRESS;Initial Catalog=KKSTech;Integrated Security=True";
            SqlConnection conn = new SqlConnection(KKStech);
            String insertstring = @"insert into Emp_Skill_Bridge (EmpID,SkillID)
                                        values(@EmpID, @SkillID)";
            SqlCommand cmd = new SqlCommand("insertstring", conn);
            cmd.CommandText = insertstring;
            cmd.CommandType = CommandType.Text;

            try
            {
                conn.Open();
                cmd.Parameters.AddWithValue("@EmpID", TextBox1.Text);
                cmd.Parameters.AddWithValue("@SkillID", DropDownList1.SelectedValue);
            }
            catch (System.Data.SqlClient.SqlException ex)
            {
                string msg = "Insert Error:";
                msg += ex.Message;
                throw new Exception(msg);
            }

            finally
            {
                conn.Close();
            }

        } 
</code></pre>

<p>EmpID is coming from previous Step, from Textbox.. SkillID is the SelectedValue of SkillName from DropDownList.
This is .aspx for Skill in Step 2:</p>

<pre><code>&lt;asp:Label ID="Label21" class="caption" runat="server" Text="Skills:"&gt;&lt;/asp:Label&gt;

           &lt;asp:DropDownList ID="DropDownList1" class="box" runat="server"
            AutoPostBack="True"
            OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"&gt;

           &lt;/asp:DropDownList&gt;
</code></pre>

<p>How do I perform this? </p>
