Refer image:
On clicking Hyperlink value ‘7y’ in gridview with id='gvCustomers' which has been bind on success event of jquery
function OnSuccess(response) {
                var xmlDoc = $.parseXML(response.d);
                var xml = $(xmlDoc);
                var customers = xml.find("Table");
                var row = $("[id*=gvCustomers] tr:last-child").clone(true);
                $("[id*=gvCustomers] tr").not($("[id*=gvCustomers] tr:first-child")).remove();
                $.each(customers, function () {
                    var customer = $(this);                    
                    $("td", row).eq(0).find("a").text($(this).find("TDC_NO").text());
                    $("td", row).eq(0).find("a").attr("href", "TDC.aspx?Id=" + $(this).find("TDC_NO").text()).attr('target', '_blank');
$("td", row).eq(1).html($(this).find("REVISION").text());
$("[id*=gvCustomers]").append(row);
                    row = $("[id*=gvCustomers] tr:last-child").clone(true);
                });
I want to pass value ‘7y’ in a query to get the value back from database
 
void StdSize_Toler()
    {
        string TDC_NO_VAL = Request.QueryString["Id"];
        string connStr = ConfigurationManager.ConnectionStrings["conndbprodnew"].ToString();
        OracleConnection objconn = new OracleConnection(connStr);
        string prop_name, tdc_property = "", qry = "";
try
        {
            qry = "Select tdc_no,revision,formname from tdc_product1;
objconn.Close();
        }
        catch
        {
            objconn.Close();
        }
    }
And then open the  dynamic form which I was opening earlier on click of a button “openForm” and inside that function matching the condition if (radioValue == 'uncoatedRdBtn') which I called from database in ‘formname’ variable in query “ Select tdc_no,revision,formname from tdc_product1”.
‘formname’ contains the value “uncoatedRdBtn”.
Dynamic form open on click of a button “openForm”
$(function () {
        $("#openForm").click(function () {                       
            $('#myModal').modal('hide');
            $("#gvCustomers").hide();
           // $('#grid').hide();
            var radioValue = $("input[name='optionsRadios']:checked").val();
            if (radioValue == 'uncoatedRdBtn') {
$("#pdfForm").prepend("<div id='pdfFormInsideL1'></div>");
.
..}
});
       
    });