MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

57669 put(a) pogledan, 2 odgovor(a) 15.6.2011. 18:45:38Kreirao(la) waterskiaddict

Povezane teme

waterskiaddict

waterskiaddict

15.6.2011. 18:49:01
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
Ovaj sadržaj još nije ocijenjen. 
36 Reputacija 10 Ukupno objava
denis

denis

15.6.2011. 18:58:24
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...
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava