开发者

create table at runtime in silverlight

开发者 https://www.devze.com 2023-01-17 15:43 出处:网络
How can i create a table at runtime in Silverlight. In my project i am migrating from asp.net to Silverlight .

How can i create a table at runtime in Silverlight. In my project i am migrating from asp.net to Silverlight . In asp.net i use Response.Write("");

In this way i generate a table . please let me know how i can generate a table in similar way at runtime in Silverlight ..

Edit Content from "answer"

My Grid has to look as shown below . I did this in asp.net using the response.write . any idea ho开发者_运维知识库w can i achieve this in Silverlight .

Please find below how my datagrid should look . Is it possible please help .

  0    1    2     3    4   
Green red orange blue black


Do you want a data grid?

Than you can create it using C# code constructing the object graph for a datagrid and than adding it to the view.

But perhaps you should better explain your question, why do you want to create a table at runtime?

0

精彩评论

暂无评论...
验证码 换一张
取 消