Click here to Skip to main content
15,910,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all.pleaseanswer my question
Posted
Comments
Prasad Avunoori 28-Jan-14 6:08am    
Please share your source code.
harshavardhan12345678 28-Jan-14 6:31am    
<head>
<style type="text/css">
.style1
{
width: 50%;
}
</style>
</head>
<form id="form1" runat="server">
<table align="center" class="style1">
<tr>
<td colspan="2">
                      GMAIL </td>
</tr>
<tr>
<td>
FROM</td>
<td>
<asp:TextBox ID="TextBox1" runat="server">
</td>
</tr>
<tr>
<td>
TO</td>
<td>
<asp:TextBox ID="TextBox2" runat="server">
</td>
</tr>
<tr>
<td>
SUBJECT</td>
<td>
<asp:TextBox ID="TextBox3" runat="server">
</td>
</tr>
<tr>
<td>
BODY</td>
<td>
<asp:TextBox ID="TextBox4" runat="server">
</td>
</tr>
<tr>
<td>
ATTACHMENT</td>
<td>
<asp:FileUpload ID="FileUpload2" runat="server" />
</td>
</tr>
<tr>
<td>
 </td>
<td>
<asp:Button ID="Button2" runat="server" Text="Button" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Label">
</td>
<td>
 </td>
</tr>
</table>
</form>
Tom Marvolo Riddle 28-Jan-14 6:16am    
post your relevant code snippet.
harshavardhan12345678 28-Jan-14 6:30am    
<head>
<style type="text/css">
.style1
{
width: 50%;
}
</style>
</head>
<form id="form1" runat="server">
<table align="center" class="style1">
<tr>
<td colspan="2">
                      GMAIL </td>
</tr>
<tr>
<td>
FROM</td>
<td>
<asp:TextBox ID="TextBox1" runat="server">
</td>
</tr>
<tr>
<td>
TO</td>
<td>
<asp:TextBox ID="TextBox2" runat="server">
</td>
</tr>
<tr>
<td>
SUBJECT</td>
<td>
<asp:TextBox ID="TextBox3" runat="server">
</td>
</tr>
<tr>
<td>
BODY</td>
<td>
<asp:TextBox ID="TextBox4" runat="server">
</td>
</tr>
<tr>
<td>
ATTACHMENT</td>
<td>
<asp:FileUpload ID="FileUpload2" runat="server" />
</td>
</tr>
<tr>
<td>
 </td>
<td>
<asp:Button ID="Button2" runat="server" Text="Button" />
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server" Text="Label">
</td>
<td>
 </td>
</tr>
</table>
</form>
Tom Marvolo Riddle 28-Jan-14 6:50am    
where is the .CS code?

1 solution

Your source doesn't have
HTML
<<%@ Page %>
directive.

Make sure it is in the following format.

ASP.NET
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" EnableEventValidation="false"%>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900