[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>
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.