Part 8- Generate HYPERLINKS Using ACTIONLINK Html Helper | ASP.NET MVC Application

  Рет қаралды 40,370

Technotips Ashish

Technotips Ashish

Күн бұрын

Пікірлер: 20
@trr5088
@trr5088 7 жыл бұрын
My face is red for not finding this and I thought I had searched and searched. I need to learn more about debugging and how to use it. Thank you Ashish, that answer came really quick.
@aapkanigam
@aapkanigam 7 жыл бұрын
+TR R keep learning and sharing
@ayoforyou448
@ayoforyou448 4 жыл бұрын
It's amazing my friend
@davido459
@davido459 10 ай бұрын
yes, it is good :)
@navzme
@navzme 6 жыл бұрын
Thanks for awesome video
@CommanDoHighTech
@CommanDoHighTech 5 жыл бұрын
hi sir , you are amazing i understood it easily thnx,and The meaning of your name is like cannabis, which is a drug in Egypt hhhhhhhhhhhhhhhh
@vinayakjambhale5985
@vinayakjambhale5985 6 жыл бұрын
sir how & where i can declared the controller index property for shared folder _menu.cshtml?
@ruchapandya9338
@ruchapandya9338 7 жыл бұрын
hy ashish I am getting an exception of Object reference not set to its instance in EmployeeDetail Action,Have u any solution for it?
@shihabsaadi374
@shihabsaadi374 6 жыл бұрын
I also faced it, Did u find any solution?
@stoneshuvro3579
@stoneshuvro3579 6 жыл бұрын
Can you make a video or give me hints how to retrieve all data using Department Hyperlink . Like a fetch data of Department . CSE EEE ARCHI now when I click on CSE ,it'll show me all CSE students . How can I do it?
@aapkanigam
@aapkanigam 6 жыл бұрын
You have to make join between two table .."select d.departmentName, s.StudentName from tblDepartment d join tblStudent s on d.DepartmentID=s.DepartmentId where d.departmentID=1" Try this query in sql server
@aapkanigam
@aapkanigam 6 жыл бұрын
Please part 36, there you will get an idea
@klugandavid166
@klugandavid166 6 жыл бұрын
Sir, HI. Please I have a database in which employee Id is customized of type string, How do I view the employee details by fetching it using SingleOrDefault. Trying to use the same line from your tutrial but it is not working yet. Please help me! Thanks
@aapkanigam
@aapkanigam 6 жыл бұрын
+klugan david part 16 might help you.. after part 11 onwards you can get code for each video. The code link will be available in the respective video description
@klugandavid166
@klugandavid166 6 жыл бұрын
Thank You Sir, Will watch the video and try your solution...Love your blog page too...
@yogeshvaidya5895
@yogeshvaidya5895 6 жыл бұрын
i cant understand where you create Employeeviewmodel as custom table ,because is in your database there only two tables, you are going well i.e help us to improve but you must show each step where and how you create this ,
@tiktokgirls2681
@tiktokgirls2681 6 жыл бұрын
watch his videos in all part
@trr5088
@trr5088 7 жыл бұрын
When I run the Index.Cshtml code the buttons work and direct me to the correct details page. @item.Name When I run the Html helper code I get errors and page does not load. @Html.ActionLink(item.Name, "EmployeeDetail", new {EmnployeeId = item.EmployeeId}, new { @class= "btn btn-block btn-primary" }) I recieve this error in the browser. Does anyone have suggestion as to what is wrong? Server Error in '/' Application.The parameters dictionary contains a null entry for parameter 'EmployeeId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult EmployeeDetail(Int32)' in 'MVCTutorial.Controllers.TestController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: The parameters dictionary contains a null entry for parameter 'EmployeeId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult EmployeeDetail(Int32)' in 'MVCTutorial.Controllers.TestController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
@aapkanigam
@aapkanigam 7 жыл бұрын
+TR R you have done one mistake while passing parameter .Replace EmnployeeId to EmployeeId in your link .Example {EmployeeId=item.EmployeeId}
@AbstractMediums
@AbstractMediums 3 жыл бұрын
The way you explain is so backwards. Why wouldn't you have a sheet with the source for each lesson so people could see all of the things you added before the video??!
Part 9- Razor View Engine in MVC | Asp.net MVC Razor Syntax
16:20
Technotips Ashish
Рет қаралды 32 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Каха и лужа  #непосредственнокаха
00:15
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 39 МЛН
Part 17- What is Partial View in ASP.NET MVC | Interview Question
19:25
Technotips Ashish
Рет қаралды 37 М.
CREATE and CONNECT DATABASES in ASP.NET
18:11
tutorialsEU - C#
Рет қаралды 67 М.
Istio & Service Mesh - simply explained in 15 mins
16:09
TechWorld with Nana
Рет қаралды 675 М.
An Illustrated Guide to OAuth and OpenID Connect
16:36
OktaDev
Рет қаралды 612 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН