Here everyone now we have greatly different and beckon.
It's time to combine them so that they can flock together.
So first of all we will begin the review and such so that we can have some data here.
And after that we will work with the add and delete view and before.
Because if we add something we also need to see that whether it's added or not.
So first of all let's begin with the view now here for you.
I will add a command in the View button that is view all that we call our function save you.
Come on you underscore.
Come on.
Maybe go and then we will define that function.
So define view come on.
Without a barometer there.
Now in this one that's very easy.
What will I do.
I will first make this one list completely empty.
Then I will fetch all the rows of a level in the back and view all and one by one insert them here.
So I hope you go to these three steps.
First delete everything so list dot delete everything.
And how 0 2.
And so from 0 to end I will delete everything there after that one full roll in now where I require
them in the view met turn over against a view function of back and so back and don't view the view.
So this will one by one work with the every single row every level in our database and then I will insert
all of these here in this list books.
So just list not insert and from there from and to number of flows available or whatever that is particular
at that point.
So here I have ended at the end and off the end one by one I will include all the rows of a liver.
So save this one.
And when I run this one I know David go this one click on visual.
David go with the all available.
So I have done there.
And now one thing you need to notice him when I am whenever I'm clicking any of these I'm getting a
type better so that's something we are going to define get selected draws.
But wait for that one.
Now here we are done with this display.
Now what about the search so for that one I will define end of function search underscored.
Come on maybe go and view that one in this search button where we have that Mondale so command equal
to such underscore.
Come on.
Daniel no.
How will I make that happen is way too simple.
I will take whatever the user is entering them and pass that one in the back and search data will look
out for that particular barometer that how many jewels are available they have a debt barometer and
they've written all the details so this is most of like The View.
Come on.
I'm just coming this one because first I need to make the list box empty.
And then for every row in back and don't search.
So whatever the number of floors available there I will insert them in here.
What difference here is I need to pass the.
That what I'm looking for.
So I will pass that particular parameter here like the one that we have used here for the entries because
whatever we are entering in the entries.
So this is right now we have no defined function completely so whatever we are acting in the entries
are stored in these variables.
So we need to take the variables and provide them here.
And if you do simple like this one then that will also not work because to get the variables written
in the entries we need to use a method known as gate that will get the value available at that particular
variable or say entry to a main program.
Generally we have to go into the method GET and POST but here we are going to use the gate.
So here we will use this one in this way.
And similarly for all of these like earnings underscored text don't get the view.
Then we have exercise and the school text don't get maybe old and sturdy underscored text don't get
after that one died underscore text don't get so it will just dig the variable peasant at that particular
entry and its value and passed it on here and in the last 5 10 score X don't get David go.
Now we are done with this one.
Just save this one have provided the search for Monday.
Now just on your program here and illegal.
So we got some error that is generating come.
That's a spelling mistake I believe.
So do we have any better.
So see your let.
Indeed that is.
Sorry for that one and let me read it right.
You.
Now we have this one.
We all will.
And now I will search for did exercise.
So did exercise search.
David go with the exercise.
Now did you study David Eagle just one day.
Then fun.
1 2 0 1 9 search that is only available there.
After that one earnings say 400 you won't debate such.
Only this one two hundred.
We have to and for that are not available like 900.
We have them.
We have an empty list box.
So there we go.
We did one other search command and view Commander booking.
Perfectly fine.
Now just add and delete.
Come on that we are going to cover in the next videos.
So thanks for watching.
I would say in the next video.