https://github.com/davidshimjs/qrcodejs
HTML:
<divcolor: #ff6600">qrcode"></div>
JavaScript:
<script src="http://www.likecs.com/~/js/bundle/jquery/jquery.js"></script> <script src="http://www.likecs.com/~/js/bundle/qrcode/qrcode.js"></script> <script> window.onload = function (){ makeCode(); } var qrcode = new QRCode("qrcode", { text: "@(Request.Query["lotno"].ToString())", width: 80, height: 80, colorDark: "#000000", colorLight: "#ffffff", correctLevel: QRCode.CorrectLevel.H }); </script>