Posts

Showing posts from May, 2017

Auto Increment ID in Existing Data in database

1st Step: Create SerialId in Table int is Identity Yes Identity Seed:7 digit(0000000) then save. 2nd Step: Create another coloum SerialNo varchar update it with previous SerialId   run this query  update StyleSize set serialNo = right(cast(SerialId as nvarchar(10)),6)

Generating labels with barcode in C# using Crystal Reports

https://www.codeproject.com/Articles/634840/Generating-labels-with-barcode-in-Csharp-using-Cry

show image in asp.net FileUpload

                        <asp:FileUpload ID="FileUpload1" runat="server" onchange="javascript:ImageURL();" /> <asp:Image ID="imgPhoto" runat="server" AlternateText="Photo" Height="150px" Width="150px"             BackColor="Silver" BorderColor="Black" BorderStyle="Solid" ImageAlign="Middle" />         <script type="text/javascript" language="javascript">                                 function ImageURL() {                                     var input = document.getElementById('<%=FileUpload1.ClientID%>');                                     var fReader = new FileReader();...