티스토리 뷰

The code is like this that I am trying as a test application.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

<script type="text/javascript" language="javascript">

function OpenMail()

{

location.href = 'mailto:abhishek@gmail.com?attachment="D:\\a.txt" ';

}

 

</script>

</head>

<body>

<form id="form1" runat="server">

<div>

<asp:Button ID="Button1" runat="server" onClientclick="OpenMail()" Text="Button" />

</div>

</form>

</body>

</html>

공지사항
최근에 올라온 글