Have a problem with this line private void PopulateDetails(Receipts details) txtEntry.Date = details.Date; i took Datepicker in place of name will updating its giving an error: System.NullReferenceException: 'Object reference not set to an instance of an object.'
I have a issue in navigating between pages. I am getting the following exception. Do you have any better solution for it? Not sure if any had already posted this error. System.InvalidOperationException: 'PushAsync is not supported globally on Android, please use a NavigationPage.'
Its a basics things.When your application have multiple pages,and while you are using Navigation.PushAsync for navigating a page to another,then have to use Navigation stack. Simply add this line to your App.xaml.cs after InitializeComponent(). MainPage = new NavigationPage(new YourRootPage());
Good morning brother I hope you are good Sorry for my bad english I want to ask .. do you have an english version of your xamarin form teaching ? Best regard
Sir, In Insert data video you are using Homepage.xaml for designing now in Read,Update and Delelte you are using AddEmployeePage.xaml. It's looking confusing for beginners.
Dear,if you are a beginner then you can join my xamarin training,so that you can learn xamarin easily and quickly to be a professional.To learn more about training contact whatsapp +918444835044
Hi, im having a problem with this line. public List GetEmployees() { string sql = "SELECT * FROM Employee"; List employees = con.Query(sql); return employees; } thanks
@@SPTutorials Severity Code Description Project File Line Suppression State Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. CRUDXamarin.Android 1 Active
@@acv7698 try { // pur your code } catch(Exception ex) { string msg=ex.Message; } set a break point on catch block first curly bracket and mouse over on the "ex" and you see the proper exception then tell me.
Hi Sir, I want to ask if, you've tried to make an APK file and run it to a mobile device?. If YES, Are functions all working properly?. In my case only CREATING Employee is working, But DELETING AND UPDATING the Employee are having some error. But in the EMULATOR, It's working properly. Kindly advise how to working on this. Thanks :)
@@SPTutorials Sir by Debugging i have tested that all values are coming in parameter but not inserting data and showing exception like............ System.NullReferenceException: Object reference not set to an instance of an object. at OnDoorStep.Droid.SQLite_Android.SaveAdmin (OnDoorStep.Model.Admins admins) [0x00004] in I:\THSS\ODSWork9\OnDoorStep\OnDoorStep\OnDoorStep.Android\SQLite_Android.cs:65 }
i have some problem in reading from a query and storing the result in list of table. Kindly provide me your email id to connect to you . I am a Lecturer in the university and has just 3 days to complete the work. Its really urgent
Awesome basics coverage brother.. Following all your basis videos one by one. Got by basics very clear and simple approach. cheers.. thank you
thank you for sharing your knowledge with us
Plz suggest how to encrypt sqlite db in xamarin forms
How do you show delete from menu? It doesn’t appear on mine.
Use viewcell context actions.
Have a problem with this line private void PopulateDetails(Receipts details)
txtEntry.Date = details.Date;
i took Datepicker in place of name will updating its
giving an error: System.NullReferenceException: 'Object reference not set to an instance of an object.'
Your data is getting null,thatvis the reason you are getting this error.always check null before setting value.
nice Lecture..Can You Pls. Tell how can we change background colour of selected item in listview.
See the video of MasterMenu from my playlist,this already have custom viewcell with specified background color
Main page add employee button click code not explained
I have a issue in navigating between pages. I am getting the following exception. Do you have any better solution for it? Not sure if any had already posted this error.
System.InvalidOperationException: 'PushAsync is not supported globally on Android, please use a NavigationPage.'
Its a basics things.When your application have multiple pages,and while you are using Navigation.PushAsync for navigating a page to another,then have to use Navigation stack.
Simply add this line to your App.xaml.cs after InitializeComponent().
MainPage = new NavigationPage(new YourRootPage());
@@SPTutorials Thank you brother, that works. All your videos are very useful for a beginner.
Very good and thank you sir. Please post videos on connecting and posting data through API.
Sir, Xamarin Forms Tutorial no 34 and 42 is not available. Is it missing from list?
Dear,I removed that Videos for few reasons.
@@SPTutorials What we missed in that, are you providing that topics again.
When i made apk then application crash whats the reason
Implement app centre so that you will get release logs
@@SPTutorials Thanks you sir.Now its work fine.
Why didn't you code from scratch with us instead of showing a code (showing only some parts) we don't understand ?
Good morning brother
I hope you are good
Sorry for my bad english
I want to ask .. do you have an english version of your xamarin form teaching ?
Best regard
Hi, Can i suggest you to make a project that can search peoples in database.
hi sir how to find the db file ?? i want to extract that database thank you
you will find your solution here.
forums.xamarin.com/discussion/comment/14745#Comment_14745
Sir, In Insert data video you are using Homepage.xaml for designing now in Read,Update and Delelte you are using AddEmployeePage.xaml. It's looking confusing for beginners.
Dear,if you are a beginner then you can join my xamarin training,so that you can learn xamarin easily and quickly to be a professional.To learn more about training contact whatsapp +918444835044
Hi,
im having a problem with this line.
public List GetEmployees()
{
string sql = "SELECT * FROM Employee";
List employees = con.Query(sql);
return employees;
}
thanks
what is the exception?
@@SPTutorials
Unhandled Exception:
System.NullReferenceException:
@@acv7698 put that codes inside try catch block and see what is the proper exception.
@@SPTutorials
Severity Code Description Project File Line Suppression State
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. CRUDXamarin.Android 1 Active
@@acv7698 try
{
// pur your code
}
catch(Exception ex)
{
string msg=ex.Message;
}
set a break point on catch block first curly bracket and mouse over on the "ex" and you see the proper exception
then tell me.
sir very nice.
But please datagrid ko use krain. i mean k database say data fetch kr k DataGrid main show krwayen.
Thanks alot
Hi Sir,
I want to ask if, you've tried to make an APK file and run it to a mobile device?. If YES, Are functions all working properly?. In my case only CREATING Employee is working, But DELETING AND UPDATING the Employee are having some error.
But in the EMULATOR, It's working properly. Kindly advise how to working on this. Thanks :)
Can we get the source code please
Sorry,it’s not under source control.
pls sir, multi delete record video upload
public AddEmployeePage(Employee details)
... show the code please there is an exception
AddEmployeePage(Employee details)
{
???????;
}
sir i am facing Null reference exception during insert method of SQLite and i am following you videos kindly give solution. thank You!
Use it properly,and make sure that you have included the assembly of the sqlite class for ddpendency.
@@SPTutorials Sir by Debugging i have tested that all values are coming in parameter but not inserting data and showing exception like............ System.NullReferenceException: Object reference not set to an instance of an object.
at OnDoorStep.Droid.SQLite_Android.SaveAdmin (OnDoorStep.Model.Admins admins) [0x00004] in I:\THSS\ODSWork9\OnDoorStep\OnDoorStep\OnDoorStep.Android\SQLite_Android.cs:65 }
can you show me your full code?
@@SPTutorials Sir, complete file? or just problem page?
@@SPTutorials Sir, how i can attach my code file? there is no option available here. for file attachment.
How to save this json :
{
"status": "success",
"data": {
"name": "Ashish",
"salary": "1",
"age": null,
"id": 85
}
}
i have some problem in reading from a query and storing the result in list of table. Kindly provide me your email id to connect to you . I am a Lecturer in the university and has just 3 days to complete the work. Its really urgent
in English !?
Hi, How can i do search filter/Search data with this project. Can youteach me. I will appreciate. I couldn't solve this problem.
Thanks
you are searching/filtering from where?
@@SPTutorials I want to filter or search the name and it will show in the listview
I need to know,where the data is coming from?
local database/your list variable/from server
@@SPTutorials in local database. I used your project. And adding some search filter. But i couldnt understand the flow. Can you please add it?
@@SPTutorials so i have an idea. Thanks