Mono Support Example of Database connection and custom web part? (Zatvorena)

61245 put(a) pogledan, 2 odgovor(a), 15.6.2011. 18:45:38 - Kreirao(la) waterskiaddict
15.6.2011. 18:49:01
36 Reputacija 10 Ukupno objava

I am interested in making a custom web part that accesses another table in the SQL database. Is there any examples of this? or a tutorial on how to do it? I have done asp.net development before but nothing with web parts.

I have already created the tables in SQL, and the page in a normal ascx file through visual studio 2010

1
15.6.2011. 18:58:24
7207 Reputacija 956 Ukupno objava

The tutorial at this URL (http://www.mono-software.com/blog/post/Mono/93/Building-a-custom-Web-part/) describes this process in full detail, including all MonoX-specific techniques (like templating). In addition, it also describes a recommended data access strategy.
However, you can choose the data access techniques you want to use - MonoX uses LLBLGen ORM and a repository model, but you can use anything else: NHybernate, LINQ, Entity Framework, ADO.NET...

2
Ovo je MonoX demo site. Posjetite Mono Software za više detalja.