Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Load XAML interface from the sql server database?

$
0
0

Good afternoon, I'm new using Xamarin Forms.

I want to know if I can load the XAML view from my database

From the result of a query to a database I would like to raise the entire interface. I explain

I have a table which contains the following attributes:

ID int
Name_Element nvarchar(MAX)
Text nvarchar(MAX)
Placeholder nvarchar(MAX)
Visible Boolean

Which is filled as follows:

ID Name_Element Text Placeholder Visible
1 Label Nombre NULL 1
1 Entry NULL Jean 1
1 Label Apellido NULL 1
1 Entry NULL Ritz 1

From the result of the query, from the previous table I would like to show in my app the 4 elements the Label with its entry.

I fully understand that in the XAML file binding is used to assign some properties, however apart from assigning properties, I also want to define what type of element is (Label, Entry, DatePicker, etc).

I am looking forward to your response.
Thank you very much


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>