|
|
-
|
|
This script is use for filter records in dataset using LINQ ...
|
|
-
|
|
While inserting multiple rows into a database table, smartest approach is to use bulk copy mechanism. .NET framework has SqlBulkCopy class to copy the rows in bulk to a sql server database table. Following script will be useful in the scenario....
|
|
-
|
|
using this script we can read XMl using LINQ...
|
|
-
|
|
Often in reporting applications, its required to write data to excel files. By using Excel interops, we can create excel files with various charts,pivot tables etc. Below script can be used to write a dataset to excel file from specific location.
...
|
|
-
|
|
using this script we can serialize Deserialize data...
|
|
-
|
|
This function will convert time span difference of a time with current time into words and display it in English words. Suppose, if a post is 2 days old, it will return as "2 days ago". If it is 1 hours old, it will return as "2 hours ago"....
|
|
-
|
|
Queue data structure work First in First out basis (FIFO). Its means that the first inserted item will come out first
...
|
|
-
|
|
If you want to save your PowerPoint presentation in HTML format and want it to show in a browser(IE) then following code might help you. Please be informed that this may not work for other browsers (other than IE)
Read more: http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.application.aspx
...
|
|
-
|
|
using this script we can format number user defined format for positive and negative value...
|
|
-
|
|
This script is export gridview data in excel file...
|
|