MasterGinyu
Newcomer
- Joined
- Mar 11, 2004
- Messages
- 20
Hey can you guys look at this code. It is really basic but I keep getting a error with it.
Code:
<%@ Page Language="C#" CodeBehind="index2.aspx.cs" ClassName="index2_aspx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server" >
<div>
<center>
<asp:DataGrid DataKeyField="uid" ID="datagrid1" Runat="Server" Visible=true />
<br /><br /><br />
<asp:Button ID="button1" Runat="Server" Text="Push Me" OnClick="myconnection();" />
</center>
</div>
</form>
</body>
</html>
Code:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1026: ) expected
Source Error:
Line 13: <asp:DataGrid DataKeyField="uid" ID="datagrid1" Runat="Server" Visible=true />
Line 14: <br /><br /><br />
[COLOR=Red]Line 15: <asp:Button ID="button1" Runat="Server" Text="Push Me" OnClick="myconnection();" />[/COLOR]
Line 16: </center>
Line 17: </div>