set nocount on
create table #tbFruit (Fruit varchar(20))
insert into #tbFruit (Fruit) values (‘apple’)
insert into #tbFruit (Fruit) values (‘apple’)
insert into #tbFruit (Fruit) values (‘apple’)
insert into #tbFruit (Fruit) values (‘apple’)
insert into #tbFruit (Fruit) values (‘orange’)
insert into #tbFruit (Fruit) values (‘orange’)
insert into #tbFruit (Fruit) values (‘orange’)
create table #tbFruitsWithDupes (DupeID int identity, Fruit varchar(20), DupeCount int)
insert into #tbFruitsWithDupes (Fruit, DupeCount)
select [...]
April 30, 2007
Categories: Sql Server 2000, Sql server 2005 . . Author: bimal4u . Comments: Leave a Comment
http://www.zedilabs.com/aspnet/fonternet/font.html
April 14, 2007
Categories: C# 2.0, Net 2.0 . . Author: bimal4u . Comments: Leave a Comment
Top 10 features
Other Reference http://www.developer.com/db/article.php/3512126
April 3, 2007
Categories: Sql server 2005 . . Author: bimal4u . Comments: Leave a Comment
Toshiba Tecra M5 (dual 2Ghz processor, 2Gb memory) an object of type List<object[]> containing 296 “rows” and 18 “columns” with elements of different data types (strings, integers, dates, etc.) takes approximately 14 ms per iteration for binary serialization & de-serialization and 31 ms per iteration for xml serialization & de-serialization.
Summary: My tests show that, on [...]
April 3, 2007
Categories: C# 2.0, Net 2.0 . . Author: bimal4u . Comments: Leave a Comment
public static string ToXml<T>(T source){ string result = null;
using (System.IO.StringWriter sw = new System.IO.StringWriter()) { using (System.Xml.XmlWriter writer = System.Xml.XmlTextWriter.Create(sw, null)) { System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T)); serializer.Serialize(writer, source); }
result = sw.ToString(); }
return result; }
public static T FromXml<T>(string xml){ T result = default(T);
if (string.IsNullOrEmpty(xml) == false) { using (System.IO.StringReader sr = [...]
April 3, 2007
Categories: C# 2.0, Net 2.0 . . Author: bimal4u . Comments: Leave a Comment