K
K
Klerkli2015-02-05 15:05:27
SQL
Klerkli, 2015-02-05 15:05:27

Can I create textboxes based on a request?

How do I generate textboxes and populate them with values ​​from a LINQSQL query?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georgy Grigoriev, 2015-02-12
@IamKarlson


And in the code you write:
var query = yourAsQueryableObject;
query.Select(t=>new TextBox(){Text=t.Name}).ToList().ForEach(TargetPanel.Contorls.Add);
the meaning is something like this, the implementation will be different for you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question