sudo chmod 400 my_private_key.pem
ssh -i my_private_key.pem ubuntu@
| HtmlGenericControl myControl = (HtmlGenericControl)this.FindControl("CoursesDataDiv"); | |
| StringBuilder sb = new StringBuilder(); | |
| using (StringWriter sw = new StringWriter(sb)) | |
| { | |
| using (HtmlTextWriter htw = new HtmlTextWriter(sw)) | |
| { | |
| myControl.RenderControl(htw); | |
| } | |
| } | |
| string markup = sb.ToString(); |
| function IFSCLookup(ifsccode) { | |
| const ifscode = $('#ifsccode').val().trim().toUpperCase(); | |
| if (ifscode) { | |
| // lookup ifsc and populate bank data if available | |
| const ifscapiurl = "https://ifsc.razorpay.com/" + ifscode; | |
| $.get(ifscapiurl, function (bankdata, reqstatus) { | |
| if (reqstatus === "success") { | |
| $("#ifsccode").val(ifscode); | |
| $("#bankname").val(bankdata.BANK); |