i want get data from mssql, after get data put my table inside but i have a some problem,same data getting two times
StringBuilder sb = new StringBuilder();
foreach (Coffee coffee in coffeeList)
{
sb.Append(string.Format(@"
| Name : | {0} | Name : | {0} | ||
| Type: | {1} | Type: | {1} | ||
| Price: | {2} | Price: | {2} | ||
| Roast: | {3} | Roast: | {3} | ||
| Origin: | {4} | Origin: | {4} | ||
| Description: | {5} | Description: | {5} |
products.Name, products.Type, products.Price, products.Roast, products.Country, products.Review, products.Image));
}

Nanhe SiddiquePosted May 20, 2015, 12:35 AM
Ekrem TapanPosted May 20, 2015, 1:13 AM