Avaricesoft’s Weblog

Just another WordPress.com weblog

Archive for July 25th, 2008

Auto create database connection string using INI by C#.net

Posted by avaricesoft on July 25, 2008

Introduction

We can use INI file to auto generate the database connection string.

Background

It can be used in Webform and winForm.

Code::

Read the rest of this entry »

Posted in ASP.net | Tagged: , , , , , | Leave a Comment »

Templates in ASP.net 2008

Posted by avaricesoft on July 25, 2008

Let’s say you have a company, and you have several websites within that company, but you need to have a consistent look and feel for each of them.
Create a website with the bare minimum, that you want to look the same in all websites, with Themes, navigation, and whatever else you want.

Then, in VS.Net 2008, click File/Export Template.  That’s all there is to it. The next time you want a website to look like this template, just click File/New, and choose your template (which will be under ‘My Templates’)

regards,

[ http://www.avaricesoft.com ]

Posted in ASP.net | Tagged: | Leave a Comment »