Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
3
0 Endorsements
Ranked #44.2K
~17.1K People Reached
Favorite Tags

9 Posted Topics

Member Avatar for bincy_2050

Try this example: public void TheDownload(string path) { System.IO.FileInfo toDownload = new System.IO.FileInfo(HttpContext.Current.Server.MapPath(path)); HttpContext.Current.Response.Clear(); HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" + toDownload.Name); HttpContext.Current.Response.AddHeader("Content-Length", toDownload.Length.ToString()); HttpContext.Current.Response.ContentType = "application/octet-stream"; HttpContext.Current.Response.WriteFile(patch); HttpContext.Current.Response.End(); } The implementation is done in the follows: TheDownload("@"c:\Temporal\Test.txt"");

Member Avatar for sai_10
0
10K
Member Avatar for Eternal Newbie

Hi, look at this link, there is a clear example of how to do it, I served me a lot and it works. http://www.systemdeveloper.info/2014/01/change-header-text-of-columns-in.html You must use the ItemDataBound event protected void theDataGrid_ItemDataBound(object sender, DataGridItemEventArgs e) { if (e.Item.ItemType == ListItemType.Header) { try { //doing something with the header text …

Member Avatar for kRod
0
2K
Member Avatar for ZeroGhost

Try this, I did it this way and it worked wonders, in this link you will find more details. http://www.systemdeveloper.info/2013/11/decrypt-files-encrypted-with-gnupg-from.html public static string DecryptFile(string encryptedFilePath) { FileInfo info = new FileInfo(encryptedFilePath); string decryptedFileName = info.FullName.Substring(0, info.FullName.LastIndexOf('.')) + "Dec.TXT"; string encryptedFileName = info.FullName; string password = System.Configuration.ConfigurationManager.AppSettings["passphrase"].ToString(); System.Diagnostics.ProcessStartInfo psi = new …

Member Avatar for Angel Armando
0
3K
Member Avatar for chnswam

Look at this link, here you will find an example where they explain how to proceed http://www.systemdeveloper.info/2013/11/trace-soap-requestresponse-xml-with.html I hope to be useful

Member Avatar for Angel Armando
0
827
Member Avatar for thrisha

Hello, in this article you will find how to do it from c #, with the GnuPG program. http://www.systemdeveloper.info/2013/11/decrypt-files-encrypted-with-gnupg-from.html I hope you serve Greetings.

0
125
Member Avatar for justapimp

Look at this blog, there are many articles related to this topic. http://www.systemdeveloper.info/2013/11/digital-signature-in-c.html Greetings.

Member Avatar for Hung D.
0
434
Member Avatar for baladeveloper

Mira en este link, explica paso a paso como configurar el tnsname y todo lo referente a la conexion oracle http://www.systemdeveloper.info/2013/10/oracle-tnsnamesora-network-configuration.html

Member Avatar for Momerath
0
92
Member Avatar for 0xCMD

Mira en este link, explica paso a paso como configurar el tnsname y todo lo referente a la conexion oracle http://www.systemdeveloper.info/2013/10/oracle-tnsnamesora-network-configuration.html

Member Avatar for tesuji
0
320
Member Avatar for vizy

To do that we must make use of reflection. This site explains how to do it, also has a pretty clear example http://www.systemdeveloper.info/2014/06/convert-object-to-datatable-in-c.html

Member Avatar for JerryShaw
0
668

The End.