Click here to Skip to main content
15,908,274 members

Comments by Ramu15 (Top 20 by date)

Ramu15 29-May-14 10:41am View    
Deleted
Sap abap and sd or fico (MM or C#.net) how to send exact value to db in asp.net
Ramu15 7-May-14 6:29am View    
I want to show their email address in "to" individually.
Ramu15 7-May-14 6:21am View    
If i send like that everyone should see all emailids(10000) to everyone.I not interested to share all emailids to everyone.
Ramu15 3-Aug-12 3:20am View    
How to write windows service in asp.net
Ramu15 2-Jul-12 7:04am View    
here i am provide wat i wrote according to my application.but i want to increase download count only when save button is clicked in popup.
intresumecount = obj.chkdownloadlimit(comptypeid);
if (intresumecount == 0)
{
try
{
trimage.Visible = false;
pdetails.Visible = false;
prfdetails.Visible = false;
tabletop.Visible = false;
// Checking if file exists
if (myfile.Exists)
{
intdownrescount = 1;

// Clear the content of the response
Response.ClearContent();
Response.Buffer = false;

// Add the file name and attachment, which will force the open/cancel/save dialog box to show, to the header
Response.AddHeader("Content-Disposition", "attachment; filename=" + myfile.Name);

// Add the file size into the response header
Response.AddHeader("Content-Length", myfile.Length.ToString());

// Set the ContentType
Response.ContentType = ReturnExtension(myfile.Extension.ToLower());

// Write the file into the response (TransmitFile is for ASP.NET 2.0. In ASP.NET 1.1 you have to use WriteFile instead)
//Response.BufferOutput = false;
Response.TransmitFile(myfile.FullName);

// downloadresumecountinsertion();
// End the response
Response.End();
downloadresumecountinsertion();
}


}
catch (Exception ex)
{

}
}
else
{
lblmsg.Visible = true;
lblmsg.Text = "Your download limit is over";
}