Parse Database query - parse-platform

I am an Parse newbie,
I have one class and one row.
Within that row I want to be able to have like a drop down, so it only has about 5 choices. I want these choices to be in another table. This other table is to have the choices and also images.
Images and other tables are easy. I just want a link between the two tables and hopefully some sort of drop down which reads the results from the other table.
Hope anyone can help me.

Related

Does anyone know how I can add a table to a view controller?

I want to create a literal table (mini) with rows and columns. Something like in the picture attached.
There isn't anything remotely similar to the table I want in the library on Xcode. Whenever googling all the search results are related to table controllers and stuff, which I'm not looking for.

VS ReportViewer - Multiple 1xN relationship

I'm learning how to work on ReportView.
How to proceed when I have a table with multiple 1xN relationship ?
I don't want to show the value that is stored on the DataSet field, I want to resolve it to another table.
I know I could do it from Join command on the DataSet, but I have lots of 1xN fields, so I think it isn't practical, the SQL command would be huge and complex.
Thought about using an pre-processed List of object as DataSource. Don't know if its the right way..
Any help would be appreciate.
Thanks.

Readeonly property in kendo mvc project, and not work when sorting or filtering this column

I have two table in my database.
first has a id and description and second table has a id, description and first table key, i create a relation between this. after that i create a readonly property in models of second table and get the description of first table by query. i save 100 row of data in second table and 10000 in first table, and each 100 row of first table for one of the row of second table. now when i sort or filter my kendo grid on this column , this take a long time to load! i test this by a more data and see this is not work! i know this in controller whit out read only property but i want to say me a way to use readonly property!! please guide me.
Your question is a little vague but if I understand correctly, it seems you are having problems dealing with large datasets, you may want to look into using serverFiltering and serverSorting.
Not sure if you have implemented your grid through Razor (.cshtml) or client (.js) however these links should get you on the right track.
A few more tutorial links:
Razor
Javascript

How to store different type and number of fields in one database table?

Hello everybody I'm making a "Bulletin board", like this: http://stena.kg/ad/post, I'm using Laravel 5.0, and don't know how to store different fields in database table, for example if I choose "Cars" category I should to fill Mark, Model, Fuel (etc fields for cars category), If I choose Flats category I should fill fields like Area, Number of rooms etc...How to organize all of this? I tried some ideas but nothing helped me(
Try to save data as json in table. Parse json format to string and save it in db, but it will cause many problems in future, so not recommend that solution. I recommend to store data in separate tabels, each one for category. For optimise process it is possible to create catregory table, and category_item table with fields like name, description and so on. Different category demands sp=ecific fields, so best solution is to create table per category.

database driven form controls

How to do databse driveen jsp page,
Suppose i have 5 text fields,if user wants to put one of the form field as select box.JSp should identify and return the select box if it define in db as select box.
I dont know how to achieve this,can anyone suggest this.
Regards,
Raju komaturi
There are multiple tasks if you want to do this completely. The world at large has not gone this way and so there are not many tools (if any) for this. But basically here are the main ideas.
1) You want a "data dictionary", a collection of meta-data that tells you what the types and sizes of each column are, and the primary and foreign keys are.
2) For your example of "knowing" that a field should be a drop-down, this almost always means that column value is a foreign key to another table. Your code detects this and builds a listbox out of the values in the parent table.
3) You can go so far as to create a complete form generator for simple tables, where all of the HTML is generated, but you always need a way to override this for the more complex forms. If you do this, your data dictionary should also have column descriptions or captions.
There are many many more ideas, but this is the starting point for what you describe.

Resources