Skip to main content

Posts

send mail through gmail in ASP.NET

Here is code 1) Create one Visual studio project name as SendmailApplication . 2) open you default.aspx (designer page). and write down below code Default.aspx page:  ================================================================ <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> </head> <body> <form id="form1" runat="server"> <div> <asp:Label ID ="Sender" runat="server" AssociatedControlID="txtSender"  Text="From :" Width="600"></asp:Label> <asp:TextBox ID="txtSender" runat ="server" Width="200px" style="position: relative; top: 0px; left: 90px" ></asp:TextBox><br /> <br /> <asp:Label ID="receiver" runat="server" AssociatedControlID="txtreceiver"  Text="To :"></asp:...

Selecting all Checkboxes within gridview

Hi friends,  As we know while developing code for application we need to do lots of customization according to client requirement., So today i'm sharing some gridview concepts when in gridview of web page contains checkbox,& if client's requirement is to select or unselect all rows of data by selecting or unselecting header checkbox. for this we need to write javascript code that will do this task. I'm giving some syntax for that. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript">         function SelectAllCheckboxes(chk) {             $('#<%=gvSubject.ClientID %>').find("input:checkbox").each(function()              {                 if (this != chk) {                     this.ch...