How do I add comments section in asp.net?

Asked by Last Modified  

3 Answers

Learn .Net

Follow 0
Answer

Please enter your answer

IT Trainer

All of us have seen a comment box on various websites. In this Post, we will learn how to create a Simple Comment Box in ASP.NET. For demonstration, I have created a database (named as Database). The following is the table design for creating tbl_Comment. 1. Create an Empty ASP.NET Website and Add a...
read more
All of us have seen a comment box on various websites. In this Post, we will learn how to create a Simple Comment Box in ASP.NET. For demonstration, I have created a database (named as Database). The following is the table design for creating tbl_Comment. 1. Create an Empty ASP.NET Website and Add a Web Form (Default.aspx) to it. 2. Inside of div tag, create a table with 3 columns and 4 rows. 3. Drop the Label control and TextBox Control in the first and second column. Change the TextMode property for the Comment TextBox to MultiLine. 4. Add RequiredFieldValidator for all TextBox in the third column. Add another validation i.e. RegularExpressionValidator for txtEmail TextBox. Set the Validation Expression to Internet e-mail address. 5. Drop Button Control and Set Id as btn_Submit and Text as Post Comment. 6. Drop two Repeater Control after the table tag. One for displaying the comments and other for displaying paging. read less
Comments

.NET Trainer

By adding either // or /* */ or ///
Comments

Trainer

There are various ways of adding comments such as (ex : "//coments",/*Comments*/, ////Comments etc
Comments

View 1 more Answers

Related Questions

What is data?
Data is distinct pieces of information. All software is divided into two categories: data and programs. Programs are collections of instructions for manipulating data.
Madan Lal
I want to expertise in dot net. But I don't have any programming knowledge.
Not required any programming, you can start learning C# console application from the scratch.
Banhi
Looking for design patterns classes. Please let me know when is the batch.
Generally console c sharp has design pattern to increase the optimization of the applications
Durga
1 0
6
I did a basic programming course in my 12th Standard. Can I do .net ajax?
If you have good understanding of how web applications work and knowledge on html, javascript and any server language like php, C# or anything else then you can do .net ajax easily
Geeta

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Read CSV data using ODBC Connection
Codes to read the CSV data using ODBC Connection- Input File: File's Encoding format should be ANSI as below class Student{ public string CollegeId { get; set; } public string AdmissionDate...

ASP.NET Syllabus
Part 1: Getting Started with ASP.NET Lesson 1: Overview Of Asp.Net Lesson 2: Adding Controls To A Web Page Lesson 3: Web Page Processing Lesson 4: Validating User Input Lesson...

Difference Between View Bag And View Data In Mvc
ViewData belongs to dictionary class whereas view bag is the dynamic object. i.e., dictionary class create objects that validate data for viewdata whereas dynamic object validates data for ViewBag.Also,The...

.NET With AngularJS Training Program Syllabus
What You will Learn in .NET with AngularJS Training Program? Introduction to .Net: Features of .Net, CTS, CLS, CLR and MSIL. C# & .Net Basics and Branching & Flow Control. OOPs Concepts,...

Learn Arabic Easily
Good Morning - Sabah alKhair. How are you? - Keif halak? Well, thank you - Balkhair,sukran. How is it? - Keif Huwa? Very very beautiful - Jameelun Jiddhan. Who is he? - Mun huwa? He is my friend...

Recommended Articles

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for .Net Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you