you said that you already explained how to create views manually step by step in previous view but i havent got it it there is no reference or address for the video and no numbering there although the video is great is easy to understand thanks
Informational video 👍🏻👍🏻 But You forget to write return ; Statement in If(!modelstate.isvalid) { Tempdata["errormsg"]=......... Return; } In [HttpPost] create action method.
Thanks for yiur valuable feedback. [] not mandatory. But if we have multiple schemas, better to use schema and performance wise also good to use schema. 🙏 pls correct me if I am wrong.
Hi, I'm getting the same message "No Employees available at this moment" even-though I'm able to add data's via Create button or be it in the backend. How to resolve it ? Why the data's are not displayed n the employee Index ?
@@CodeWithGopi "Data Source=DESKTOP-XXXXXXX;Initial Catalog=CRUDWithADONet;Integrated Security=True;Encrypt=True;Trust Server Certificate=True", this is my default connection string. It still didn't work out for me.
i was following along and I notice your sqlreader has no parameters how did you do that it did not work for me at all I had to do this using(SqlDataReader dr = _command.ExecuteReader()) { whil(dr.Read()) { Employee employee = new Employee(); .... employeeList.Add(employee); } } _connection.Close();
While trying to execute the Insert procedure, i got the following error: Msg 208, Level 16, State 6, Procedure usp_Insert_Time, Line 2 [Batch Start Line 26] Invalid object name 'DBO.usp_Insert_Time'. Can someone help me?
After I did the "Read Data" part, when I started it it gives this error. Can you help ? InvalidOperationException: The view 'Index' was not found. The following locations were searched: /Views/Home/Index.cshtml /Views/Shared/Index.cshtml
Hi sir..... can you please provide in previous videos like CrudwithCodeFirst and CascdingDDL project videos sir............. please sir I have based on the project one task will be there sir ............ please sir can you provide as soon as possible sir......... still I am waiting your videos links sir........ and How can I contact sir
I am getting this error "InvalidOperationException: The view 'Edit' was not found. The following locations were searched: /Views/Employee/Edit.cshtml /Views/Shared/Edit.cshtml" while clicking the edit option. Please suggest
you said that you already explained how to create views manually step by step in previous view but i havent got it it there is no reference or address for the video and no numbering there although the video is great is easy to understand thanks
Informational video 👍🏻👍🏻
But You forget to write return ;
Statement in
If(!modelstate.isvalid)
{
Tempdata["errormsg"]=.........
Return;
}
In [HttpPost] create action method.
Thanks for the update
Your teaching way is ingenious ❤❤❤
Thanks for your valuable feedback
Great! Thank you for the explanation
Thanks for your valuable feedback and support
Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.
Thank you sir thanks a lot , one of best tutorial
Thanks for your valuable feedback and support 👍
sir for beginners the stored procedure is tough,try to make it simple next time
Thanks for your valuable feedback and support.
I'm totally agree with you
You can just use the stored procedure name in the CommandText, you can remove the square brackets ("[", "]") and the "[dbo]". Happy coding :D
Thanks for yiur valuable feedback. [] not mandatory. But if we have multiple schemas, better to use schema and performance wise also good to use schema. 🙏 pls correct me if I am wrong.
Is there any SQL code at the beginning? The WITH line is finished ON... what else?
Same doubt
I also same doubt
Same doubt
Hi, I'm getting the same message "No Employees available at this moment" even-though I'm able to add data's via Create button or be it in the backend. How to resolve it ? Why the data's are not displayed n the employee Index ?
Hi, debug and check whether the data is coming from the DB
@@CodeWithGopi Yeah, got it. Thanks. return View(employees); missed to include employees while returning the view!!
May I know why do we need to use try and catch in usp_insert-employeee as there was no condition?
Hi Gopi, I'm getting error when I'm trying to delete the records. Please kindly help me on this !
What is the error
@@CodeWithGopi Hey , Thanks for the reply ! issue got resolved. Basically error was model binding in DeleteConfirmed method.
Hi, I'm getting an Error : Keyword not supported: 'trust server certificate' while running the application!! How to resolve it ??
Please try this and let me know if you have any issues ua-cam.com/video/MOldkUAkfcg/v-deo.html
@@CodeWithGopi "Data Source=DESKTOP-XXXXXXX;Initial Catalog=CRUDWithADONet;Integrated Security=True;Encrypt=True;Trust Server Certificate=True", this is my default connection string. It still didn't work out for me.
I tried this "Trust Server Certificate=True changed to TrustServerCertificate=True", by removing the space in between, it works now.
Where can I download the script to create the employee table, there is a piece missing that I can't see on the right side please
Will share the script link.
@@CodeWithGopi yes, please. Thank you
i was following along and I notice your sqlreader has no parameters how did you do that it did not work for me at all I had to do this
using(SqlDataReader dr = _command.ExecuteReader())
{
whil(dr.Read())
{
Employee employee = new Employee();
....
employeeList.Add(employee);
}
}
_connection.Close();
Thank you had the same issue!!
The type name 'models' does not exist in the type 'Employee'
Thanks Gopi, Nice, Please share the code for this video
Hi, I'm getting an "Error : Model data is invalid" while trying to update the data. How to resolve it ??
@CodeWithGopi Any updates/ suggestions ?
where can i get the script added for view
Kindly post it sir it will be helpful
Which nuget packet's are installed for this crud opreation?
While trying to execute the Insert procedure, i got the following error:
Msg 208, Level 16, State 6, Procedure usp_Insert_Time, Line 2 [Batch Start Line 26]
Invalid object name 'DBO.usp_Insert_Time'.
Can someone help me?
make sure u have changed Master database into ur database name while executing
Sp is not available in selected db
How can ı get this project's source codes ? I can't find it on your Github profile.
We are providing the source code for members only. If possible you can join as a member.
Thanks for taking a membership and your support. Please 🙏 share your email address and will share the source code.
I guess you forgot the send to me source codes :)@@CodeWithGopi
??@@CodeWithGopi
After I did the "Read Data" part, when I started it it gives this error. Can you help ?
InvalidOperationException: The view 'Index' was not found. The following locations were searched:
/Views/Home/Index.cshtml
/Views/Shared/Index.cshtml
View not avaliable. Pls check
Hi sir..... can you please provide in previous videos like CrudwithCodeFirst and CascdingDDL project videos sir............. please sir I have based on the project one task will be there sir ............ please sir can you provide as soon as possible sir......... still I am waiting your videos links sir........ and How can I contact sir
previous videos will not be there sir
Where i can get the query
Louder!
Sure. Will improve on this
try to speak a bit loude
Sure thanks for your valuable feedback and support 👍
why i getting Error: unable to save data
pls give the source code
I am getting this error "InvalidOperationException: The view 'Edit' was not found. The following locations were searched: /Views/Employee/Edit.cshtml /Views/Shared/Edit.cshtml" while clicking the edit option. Please suggest
Edit View not available. Please create it and try
@@CodeWithGopi Done..
@@CodeWithGopi thanks