How to Generate Serial Number in Gridview ASP

rochaksite_tutorial

Generate Serial Number in Gridview ASP: In this tutorial we will see how  we can add Auto Generate Serial Number in Gridview ASP. Before starting tutorial we assume you are aware about grid view in c # which use to display data in a grid system. Here are some simple steps for doing this. Step 1 : Create a Gridview, Simple adding From Toolbox Menu. Step 2 : Add this line inside the <Columns>——— </Columns> tag. <asp:TemplateField HeaderText=”S.No”><ItemStyle HorizontalAlign=”Center” /><ItemTemplate><asp:Label ID=”lblSerialNo” runat=”server”></asp:Label></ItemTemplate></asp:TemplateField> Step 3: add OnRowDataBound Properties in Gridview <asp:GridView…

Read More

Send Email in ASP using web config setting | Email Sending in C#

How to send email from C#

How to send Email in ASP ? What is SMTP ? Simple Mail Transfer Protocol (SMTP): Simple Mail Transfer Protocol (SMTP) is used for transferring mail from one device to another device it is comes under Application layer Protocol. it uses TCP Port 25 for communicating. in this post we will learn how to send email in ASP,  i will tell  you how can you configure the SMTP email setting in ASP C# using web config setting on the button click Event, as Gmail is using widely i will follow the…

Read More