Changing the Web.Config connection string section

The steps to follow to change or add a new connection string in Web.Config’s connection string section. Basically you only need import the System.Web.Configuration namespace, open the Web.Config file where is connectionstrings section and change or add a new connectionstring. An example is:

Configuration webConfig = WebConfigurationManager.OpenWebConfiguration(”~”);
ConnectionStringsSection dbConnString = webConfig.ConnectionStrings;

// To change existing connectionstrings
dbConnString.ConnectionStrings["DBconnection"].ConnectionString = “YOUR NEW CONNSTRING HERE”;

//To Add new connection string
dbConnString.ConnectionStrings.Add(
new ConnectionStringSettings(”MDBTest”, “MDB ConnString”, “System.Data.OleDb”));

webConfig.Save();

Regards,
Elam
www.elamparuthi.com

Storing Images to Database and Retrieving to GridView

Hi All

Today i come across a nice article in vb.net , showing how to store the images to database and how we retrive back . Good article . check this

Regards,
Elam
www.elamparuthi.com

Dundas Map

Dundas has released a Dundas Map for Reporting services and for .NET. Look good..

Some of the key features

  • Create advanced customized Digital Dashboards, complete with Geographic elements for more sophisticated visualizations.
  • Support for Visual Studio .NET 2003 and Visual Studio 2005 (including SmartTags).
  • Dundas Map Wizard, simplifying the creation and setup of new Maps.
  • Library of enhanced maps for the entire world, major continents, and select countries and more.
  • Support for standard Map projections, including Mercator, Robinson amongst many others.
  • Automatic colorization of Maps using advanced data grouping algorithms.
  • Data-binding to sources associated with geographic data
  • Built in panning and zooming controls for easy navigation of Maps using AJAX.
  • Standard Map elements such as distance scales and legends.
  • Support for shapes, symbols, paths and the grouping of regions.
  • Advanced Map operations such as Map simplification.

For more information check the Link

http://www.dundas.com/Products/Map/index.aspx
Regards,
Elam
http://www.elamparuthi.com//

Add maps to Outlook from Windows Live! Local

This was a little too cool to pass up. You can add maps from Windows Live! Local to your Outlook emails. It runs on the .NET 1.1 framework.

Download here: http://outlook.local.live.com/minisites/local/outlook/default.aspx

Regards,
Elam
www.elamparuthi.com

Karthi Birthday party

Hi friends

Yesterday we celebrated karthi’s birthday party, he got nice brithday buns from me… And also had a good cream facial, check this photo album. You can find more…

Have a great weekend

Regards,
Elam
………………………………..
Stylus Systems Pvt Ltd
924, 5A Cross,
1st Block, HRBR Layout
Bangalore 560043
www.stylusinc.com
www.elamparuthi.com

New configuration options in IIS7 for default document

One of the new configuration options in IIS7. we will be able to configure the settings for an IIS7 application using web.config rather than having to go through the admin utility of old (you can of course use the admin utility as well…which has been significantly revamped). For example, you can add the following XML into web.config to configure the default pages for a site as well as specify if directory browing is enabled.
Regards,
Elam
………………………………..
Stylus Systems Pvt Ltd
924, 5A Cross,
1st Block, HRBR Layout
Bangalore 560043
www.stylusinc.com
www.elamparuthi.com

 

Convert Thunderbird Email to Windows Mail

To convert the Thunderbird Email to Windows Mail , we need to use a tool that convert the mbox format to .eml format. I found this free one that seems to work pretty well: http://www.broobles.com/imapsize/th2outlook.php

Just follow the instructions in #3 “Convert mbox files to eml files” and then drag the .eml files into the apropriate folder in Windows Mail.

Regards,
Elam
………………………………..
Stylus Systems Pvt Ltd
924, 5A Cross,
1st Block, HRBR Layout
Bangalore 560043
www.stylusinc.com
www.elamparuthi.com

 

Browse 200 years of news archives with… Google

Google has released another branch to the News service. This time it’s focus on news archives, including a simple timeline (maybe some better design would have been better there) and a way to go back as far as 200 years in the past.

Check here the Google News Archives

Regards,
Elam
………………………………..
Stylus Systems Pvt Ltd
924, 5A Cross,
1st Block, HRBR Layout
Bangalore 560043
www.stylusinc.com
www.elamparuthi.com

 

Free web designs!

open source web designs!

Check OSWD, a site where you can pick free web designs! Good site to Visit

Regards,
Elam
………………………………..
Stylus Systems Pvt Ltd
924, 5A Cross,
1st Block, HRBR Layout
Bangalore 560043
www.stylusinc.com
www.elamparuthi.com

Using SqlBulkCopy inserting Records Into SQL Server in NET 2.0

With the advent of .NET 2.0 Microsoft has incorporated SQL Server’s bcp command line utility into the framework. The System.Data.SqlClient.SqlBulkCopy class provides significant performance increases over regular inserts. It also works with the System.Data.SqlClient.SqlTransaction class.

Aside from offering DTS-like speed the SqlBulkCopy class is pretty flexible. SqlBulkCopy’s WriteToServer method takes the following types as arguments:

  • DataRow[]
  • IDataReader
  • DataTable

Read more…

Tag cloud widget powered by nktagcloud