For full Source Code and Step to Step Description visit URL: tutorialslink.com/Articles/How-to-insert-data-in-database-using-Angularjs-in-Aspnet-MVC-application-/36
I have a one Question .... In the registration Time i want to check the email id is exists or not in the storeprocedur ..based on that i want to set a message in a output parameter in the storeprocedure ... That value how i will get in angularjs http post method???? Where i have to change ?? If u tell it will be really healpfull for me....
Get Output parameter value and perform opeartion like this: SqlParameter oblogin = new SqlParameter(); oblogin.ParameterName = "@outputparam"; oblogin.Direction = ParameterDirection.Output; oblogin.SqlDbType = SqlDbType.Bit; com.Parameters.Add(oblogin); con.Open(); com.ExecuteNonQuery(); int emailexist = Convert.ToInt32(oblogin.Value); con.Close(); then on the basis of 'res' value, you can set your message in Controller like : if(emailexist==1) { returnvariable = "Email already exist...!"; } else { // Message here }
For full Source Code and Step to Step Description visit URL: tutorialslink.com/Articles/How-to-insert-data-in-database-using-Angularjs-in-Aspnet-MVC-application-/36
For full source code please visit ruclips.net/video/n0ms3Tlmgks/видео.html
Thanks for the video!!! Nice try... @9:52 actually starts the MVC code part
sir plz help me i have problem in check box list (how to save and edit check box list ,value for check box list will come from database)in anngularjs
Useful tutorial, Thank u so much
thanks for your appreciation
please submit checkbox and radiobuttorn value also please.
When is your next video? :D Keep it up!
+MisterBassBoost for get video updates please subscribe my channel and click on notification bell icon
I have a one Question ....
In the registration Time i want to check the email id is exists or not in the storeprocedur ..based on that i want to set a message in a output parameter in the storeprocedure ... That value how i will get in angularjs http post method????
Where i have to change ?? If u tell it will be really healpfull for me....
Get Output parameter value and perform opeartion like this:
SqlParameter oblogin = new SqlParameter();
oblogin.ParameterName = "@outputparam";
oblogin.Direction = ParameterDirection.Output;
oblogin.SqlDbType = SqlDbType.Bit;
com.Parameters.Add(oblogin);
con.Open();
com.ExecuteNonQuery();
int emailexist = Convert.ToInt32(oblogin.Value);
con.Close();
then on the basis of 'res' value, you can set your message in Controller
like : if(emailexist==1)
{
returnvariable = "Email already exist...!";
}
else
{
// Message here
}
Thank you ....bro .... :)
Thanq.. try to explain login page Using Entity frame work and empty. Database approch
Hello i am getting an error of angular success function not available
when I click on save , register function is called but it is receiving null values from angular controller,
+Akash Ambesange check your model name with html control
First 4 Properities of registration.cs are hardcoded
+Akash Ambesange check this article tutorialslink.com/Articles/How-to-insert-data-in-database-using-Angularjs-in-Aspnet-MVC-application-/36
sir how to create database
Go to SQL Server Mangement Studio and Click on 'New Query' Button then Write query: Create database databasename
Really helpfull video ... Bro Keep it up!.... :)