[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()]
public static string GetDynamicContent(string contextKey)
{
string outputString = string.Empty;
string strConn = ConfigurationManager.ConnectionStrings[""].ConnectionString;
SqlConnection dbConnection = new SqlConnection(strConn);
SqlCommand dbCommand = new SqlCommand
("SELECT TPM300_PAT_VISIT.vst_ext_id AS VisitID, FROM TABLE ......"
return outputString;
<asp:TextBox ID="txtMRN" runat="server" MaxLength="15"></asp:TextBox>
<asp:DynamicPopulateExtender ID="txtMRN_DynamicPopulateExtender" runat="server"
Enabled="True" PopulateTriggerControlID="btn_Go" ServiceMethod="GetDynamicContent"
TargetControlID="txtMRN" ContextKey="txtPatientId">
</asp:DynamicPopulateExtender>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE