I want to show Components in a tabs , so first of all create few components. In this project we have three components, First View Component public class AllViewComponent : ViewComponent { private readonly UserManager<ApplicationUser> _userManager; public AllViewComponent(UserManager<ApplicationUser> userManager) { _userManager = userManager; } public async Task<IViewComponentResult> InvokeAsync() { List<StudentViewModel> allUsers = new List<StudentViewModel>(); var items = await _userManager.Users.ToListAsync(); foreach (var item in items) { allUsers.Add(new StudentViewModel {Id=item.Id, EnrollmentNo = item.EnrollmentNo, FatherName = item.FatherName, Name = item.Name, Age = item.Age, Birthdate = item.Birthdate, Address = item.Address, Gender = item.Gender, Email = item.Email }); }
Introduction
Primitive data type are the fundamental data types of XSD. These data types are the basis for defining other data types in XSD. Primitive data types dot not contain elements or attributes. They contain only values.Some of the primitive data types supported by XSD are listed in the following table.
Primitive Data Type
|
Description
|
String
|
Represents a collection of
characters.
|
Decimal
|
Represents decimal numbers.
This can be used to accurately define a value.
|
Float
|
Represents single-precision
32-bit floating-point numbers
|
Boolean
|
Represents Boolean values. This
data type can have a value of true or false
|
timeDruration
|
Represents certain duration of
time.
|
RecurringDuration
|
Represents a time duration that
recurs after a specific interval.
|
Comments
Post a Comment