How do I hide fields for different users using .net?

Asked by Last Modified  

4 Answers

Learn .Net

Follow 5
Answer

Please enter your answer

Microsoft Azure and .Net Trainer with total 12 years of exp

You can create one ROLE table in database and based on the user's role you can hide fields or you can display only relevant fields to each user.
Comments

Experience Trainer for C, C++, .Net, Java, Python, Php, Networking

Poonam, we have css display property which you can change depending on type of user.
Comments

33
Comments

Angular Trainer

I hope your asking to display the controls ( like textbox, labels, etc,.). In two ways you can able to do your requirement. 1. As per users role display/hide the controls in the code behind file if your using web forms. If you use MVC go with jquery to do so. 2. Write a separate application...
read more
I hope your asking to display the controls ( like textbox, labels, etc,.). In two ways you can able to do your requirement. 1. As per users role display/hide the controls in the code behind file if your using web forms. If you use MVC go with jquery to do so. 2. Write a separate application to maintain this activity. In the new application also you need to hide display controls based on role only. If your not clear let me know by comment here. Will make you understand. read less
Comments

View 2 more Answers

Related Questions

Hi, I have asp.net project with sql connection.I want connect database with asp.net and run the project and web config file there
In web.config: <connectionStrings> <add name="ConnectionString" connectionString="Data Source=192.168.1.25;Initial Catalog=Login;Persist Security Info=True;User ID=sa;Password=example.com" providerName="System.Data.SqlClient"...
Fathima
How many types classes in C sharp?
There are following types of Classes in C# 1. Sealed Classes 2. Abstract Classes 3. Partial Classes 4. Static Classes
Aman

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

Ask a Question

Related Lessons

What are Various Types of Exception in C#
ArgumentException, ArgumentNullException, and ArgumentOutOfRangeException. NullReferenceException, IndexOutOfRangeException, SQL exceptions Stack Overflow Exception, Invalid Castexception ArgumentException...

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Contents Of ASP.NET
Getting Started with ASP.NET This module explains how to build and configure a simple ASP.NET application. Lessons: Introduction to ASP.NET Web Applications Features of ASP.NET Configuring ASP.NET...

Service-Level Agreement (SLA) Definition
A service-level agreement (SLA) is a contract between a service provider and its internal or external customers that documents what services the provider will furnish. SLAs originated with network service...
M

Mohammad Shafi

0 0
0

Format Date to “MM/dd/yyyy” in Webgrid ASP.Net MVC Razor View
Replace above line with below to apply ("DD/mm/yyyy") formatting to date field in WebGrid AllTicket.Column(columnName: "DueDate", header: "Due Date") grid.Column("Date",format:@<text> @item.Date.ToString("MM/dd/yyyy")</text>)
M

Mohammad Shafi

0 0
0

Recommended Articles

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 >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

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