Click here to Skip to main content
15,902,032 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Best layout for Subscriptions Page Pin
Michael Sync7-Nov-07 5:54
Michael Sync7-Nov-07 5:54 
GeneralRe: Best layout for Subscriptions Page Pin
.NetRocker7-Nov-07 6:00
.NetRocker7-Nov-07 6:00 
GeneralRe: Best layout for Subscriptions Page Pin
Michael Sync7-Nov-07 6:14
Michael Sync7-Nov-07 6:14 
GeneralRe: Best layout for Subscriptions Page Pin
.NetRocker7-Nov-07 6:16
.NetRocker7-Nov-07 6:16 
GeneralRe: Best layout for Subscriptions Page Pin
Michael Sync7-Nov-07 6:39
Michael Sync7-Nov-07 6:39 
QuestionProblem with Login Control [modified] Pin
ocabrera707-Nov-07 4:33
ocabrera707-Nov-07 4:33 
QuestionProblem with UpdatePanel, ListBox, and the back button.. Pin
Dio227-Nov-07 4:25
Dio227-Nov-07 4:25 
QuestionProcess cannot access the file because it is being used by another process Pin
samerh7-Nov-07 3:48
samerh7-Nov-07 3:48 
Hi all,
Iam using the following code to send email attachments

<br />
HttpContext.Current.Response.Charset = ""<br />
Dim tw As New System.IO.StringWriter<br />
Dim hw As New System.Web.UI.HtmlTextWriter(tw)<br />
report.RenderControl(hw)<br />
'My.Computer.FileSystem.DeleteFile(HttpContext.Current.Server.MapPath("~\Attachments\" & ReportName))<br />
<br />
Dim attachment As String = HttpContext.Current.Server.MapPath("~\Attachments\" & ReportName)<br />
<br />
My.Computer.FileSystem.WriteAllText(attachment, tw.ToString, False)<br />
AppEmailService.SendMail(subject, body, attachment, receiver)<br />
tw.Close()<br />
hw.Close()<br />
tw = Nothing<br />
hw = Nothing

the first time any user sends an email, it is successfully sent. If i try to send the same attachment again, it is giving me an error that the attachment is being in use.
"The process cannot access the file 'c:\inetpub\wwwroot\ORM\Attachments\Number of operational Loss Events.xls' because it is being used by another process"
Any ideas
QuestionHelp me with this Pl/Sql procedure (ORACLE 9i) call from asp.net Pin
solami7-Nov-07 3:24
solami7-Nov-07 3:24 
AnswerRe: Help me with this Pl/Sql procedure (ORACLE 9i) call from asp.net Pin
VenkataRamesh7-Nov-07 5:26
VenkataRamesh7-Nov-07 5:26 
QuestionHow can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 3:01
Big Ralph7-Nov-07 3:01 
AnswerRe: How can I use a connection string stored in the web.config file [modified] Pin
alexfromto7-Nov-07 3:10
alexfromto7-Nov-07 3:10 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 3:51
Big Ralph7-Nov-07 3:51 
GeneralRe: How can I use a connection string stored in the web.config file Pin
alexfromto7-Nov-07 3:57
alexfromto7-Nov-07 3:57 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 4:20
Big Ralph7-Nov-07 4:20 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:18
VenkataRamesh7-Nov-07 4:18 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 4:34
Big Ralph7-Nov-07 4:34 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:42
VenkataRamesh7-Nov-07 4:42 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 4:51
Big Ralph7-Nov-07 4:51 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:58
VenkataRamesh7-Nov-07 4:58 
QuestionRe: How can I use a connection string stored in the web.config file Pin
Big Ralph8-Nov-07 1:35
Big Ralph8-Nov-07 1:35 
Questionways to create table Pin
alexfromto7-Nov-07 2:56
alexfromto7-Nov-07 2:56 
AnswerRe: ways to create table Pin
Michael Sync7-Nov-07 4:08
Michael Sync7-Nov-07 4:08 
GeneralRe: ways to create table Pin
alexfromto7-Nov-07 4:30
alexfromto7-Nov-07 4:30 
GeneralRe: ways to create table Pin
alexfromto7-Nov-07 11:23
alexfromto7-Nov-07 11:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.