Thursday, 3 November 2016

// // Leave a Comment

How to send forget password on registered email id in asp.net c#

Sent a mail to the user‘s email id with his forgotten password .we have a database where we fetch the email id and password and send a email with the password. For more:send forgot password link on email for reset in asp.net C# ,Login page in asp.net c# with sql database , Pop up login page in asp.net c# using CSS and java script. SQL server:- Script:- CREATE DATEBASE[CodeSolution] USE [CodeSolution] GO /*************/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[record](          ...
Read More
// // Leave a Comment

how to get second height salary in Sql Server

select max(salary) from EMP where salary <(select max (salary)from EM...
Read More
// // Leave a Comment

How to set Gridview column width dynamically in Asp.Net C#

How to set column- width of gridview in asp.net .We can use several methods to achieve it just like source code (grid view property), code behind(C#) and CSS. First Method:- we can set the columns width by using ItemStyle-Width property just like below :- <asp:GridView ID="GridView1" runat="server"AutoGenerateColumns="false">             <Columns>                 <asp:BoundField DataField="Name" HeaderText="Name"ItemStyle-Width="50px" />                 <asp:BoundField DataField="Contactno"HeaderText="Contactno" ItemStyle-Width="50px" />                 <asp:BoundField DataField="Brithday"HeaderText="Brithday" ItemStyle-Width="50px" />        ...
Read More
// // Leave a Comment

Menu Bar with CSS in ASP .NET C#

Source code:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>   <style type="text/css">         #cssmenu ul         {             margin:...
Read More