Posts

Showing posts with the label Asp.net

Upload Multiple Image with thumbline In Asp.net

Gallary.aspx < div class ="control-group">   < label class ="control-label"> Select Image: </ label >    < div class ="controls">     < asp : FileUpload ID ="fuslider" Multiple ="Multiple" runat ="server" CssClass ="styled" />  </ div > </ div > < div class ="form-actions">    < asp : Button ID ="btnsubmit" Text ="Submit" runat ="server" CssClass ="btn btn-primary"      ValidationGroup ="cat" OnClick ="btnsubmit_Click" />     < asp : Label ID ="lblmsg" runat ="server" CssClass ="help-block"></ asp : Label > </ div > Gallary.aspx.cs if (fuslider.HasFile)  {    for ( int i = 0; i < Request.Files.Count; i++)     {        HttpPostedFile PostedFile = Request.Files[i];        string

create table type in sql server and insert Update data using store procedure

Demo.aspx  < html > < head > < title > Pass Data Table </ title > < script src ="js/jquery-1.3.2.min.js" type ="text/javascript"></ script >     < script type ="text/javascript">         $(document).ready( function () {             $( '# <% =dropproduct.ClientID %> ' ).change( function () {                 var result = $( '# <% =dropproduct.ClientID %> ' ).val().split( ',' );                  if ($( '# <% =dropproduct.ClientID %> ' ).val() == "---Select---" ) {                 }                 else {                     $( '#detail' ).html( '' );                     var str = "" ;                     str = str + "<div style=\"margin-top: -200px;border-radius: 0.5em;font-size: 14px;background-color: aliceblue;margin-bottom: 100px;width:400px \"><table style=\"