call method name and body from sql server
<p>i want to call a method using MethodInfo and MethodBody Class of System.Reflection and the name and body of the method is in sql server how can i do that please help</p>

<pre><code>         SqlConnection con = new SqlConnection(GlobalData.GetConnectionString());
            SqlCommand cmd = new SqlCommand("select CodeSnippet from SubMenu where Role_ID='"+GlobalData.RoleID+"' and ChildMenu='"+sender.ToString()+"'", con);
            if (con.State == ConnectionState.Closed)
            {
                con.Open();
            }
            SqlDataReader reader = cmd.ExecuteReader();
            if (reader.Read())
            {
                string codeSnippet = reader["CodeSnippet"].ToString();
                Type type = typeof(Helper);
                MethodInfo method = type.GetMethod(codeSnippet);

                Helper c = new Helper();
                method.Invoke(c, null);
            }
            if (con.State == ConnectionState.Open)
            {
                con.Close();
            }
</code></pre>

<p>i have done with this now i want the method body from the microsoft sql server</p>
