studio NETSOULS

Applying Web To Your Business

/// <summary>   
/// Converts a DataTable to a string with an html table.   
/// </summary>   
/// <returns></returns>   
public static string DataTableToString(DataTable datatable, 
    bool headers)   
{   
    StringBuilder sb = new StringBuilder();   

    sb.Append("<table border=\"1\">");  

    if (headers)  
    {  
        //write column headings  
        sb.Append("<tr>");  
        foreach (DataColumn datacolumn in datatable.Columns)  
        {  
            sb.Append("<td>" + datacolumn.ColumnName + "</td>");  
        }  
        sb.Append("</tr>");
    }  

    //write table data  
    foreach (DataRow datarow in datatable.Rows)  
    {  
        sb.Append("<tr>");  
        foreach (DataColumn datacolumn in datatable.Columns)  
        {  
            sb.Append("<td>" + datarow[datacolumn].ToString() 
                + "</td>");  
        }  
        sb.Append("</tr>");  
    }  

    sb.Append("</table>");  

    return sb.ToString();  
}

Online to please your visitors and convert them into customers, you can neither possibly overlook the phenomenal significance of search engines (like Google, Yahoo, MSN), nor forget the natural emphasis of your end users for good looks and informative feel. You target optimum conversion rate for maximum web traffic, translating into two imperatives as regards your website design - it must be user-friendly and search engine friendly.

Before you design your website, research some 100 highly targeted keywords relevant to your website business and zero down to keywords that are often-used but produce lesser number of competing websites. While too many keywords may squeeze away the meaningfulness and finesse of the information from a user’s point of view, it may well declare the web page as ‘doorway pages’ to the search engines due to excessive optimization for higher ranking. More...


Widget FlickrBar not found.

Forbidden (403)X

About Us

studio NETSOULS is a complete IT services company, offering strategy, design, development and implementation of the total solution for your web and IT initiatives. The solutions we provide, enables businesses to leverage leading edge technology to gain sustainable competitive advantages in today's marketplace.

We specialize in designing, developing and deploying the next generation of IT solutions including e-business solutions Read more...

Month List