Recent Posts

0
Comments

Set ListItem Permission Using Client Object Model on Sharepoint 2010 by ekasinggih

This sample code is use to set permission on sharepoint ListItem using Client Object Model. This code only available for sharepoint 2010, since Client Object Model only available for sharepoint 2010. First retrieve the list item 1: //retrieve the list...
0
Comments

Impersonate User Programmatically by ekasinggih

Setelah googling kesana kemari dan mencoba-coba beberapa sample code akhirnya saya menemukan cara untuk imopersonate user di .Net secara on the fly. 1: class Program 2: { 3: [DllImport( "advapi32.dll" , SetLastError = true , CharSet = CharSet...
Filed under:
0
Comments

Upload and Download File Using BITS from .Net Application by ekasinggih

BITS (Background Intelligent Transfer Service) is an service to transfer file (download and upload). More about BITS you can find at : http://en.wikipedia.org/wiki/Background_Intelligent_Transfer_Service http://msdn.microsoft.com/en-us/library/aa362708...
3
Comments

Extract text file pdf by ekasinggih

Setelah mencoba beberapa librarary (itextsharp, pdfbox, dll) dan membaca beberapa artikel untuk mengetract text dari pdf file akhirnya saya mengambil kesimpulan pdfbox merupakan library yg paling bagus untuk keperluan ini. Sayangnya pdfbox merupakan library...
Filed under: ,
0
Comments

Create sequance no in asp data grid or grid view by ekasinggih

To create sequance no in asp data grid, just add a templace colum and fill with syntax : <% # grd.CurrentPageIndex * grd.PageSize + Container.ItemIndex + 1 %> Here the data grid sample : And the result look : On grid view we can use this way, Add...
Filed under: ,
0
Comments

Debugging SQL Server Store Procedure with Visual Studio by ekasinggih

Step : 1. Create connection from VS to database server • Open “Server Explorer” tab • Right click on data connection tree menu, and choose “Add Connection” • On “Choose Data Source” window, choose “Microsoft SQL Server” as data source and “.NET Framework...
Filed under:
0
Comments

SQL Server Data Types and Their .NET Framework Equivalents by ekasinggih

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority...
Filed under:
1
Comments

Setup Subsonic for Class Library by ekasinggih

More about SubSonic you can see here . This article based on SubSonic tutorial video on http://www.wekeroad.com/ss_setup2.html . To setup SubSonic in Class Library you can follow this step : 1. Download and install SubSonic packet, 2. Make a new Class...
Filed under: ,
0
Comments

String Formating by ekasinggih

To formating string in .Net use method : String .Format() Number Modifier: Specifier Type Format Output (Double 1.42) Output (Int -12400) c Currency {0:c} $1.42 ($12,400) d Decimal (Whole number) {0:d} System.FormatException -12400 e Scientific {0:e}...
Powered by Community Server (Commercial Edition), by Telligent Systems