Author: duanegowe | Posted on: 7/22/2010 2:02:10 PM | Views : 321

Hey experts,


I have a simple page that displays a gridview once 3 criteria are inputed. I would like to add an submit button so that the date just not auto populate the gridview.


Here is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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 language="c#" runat="server"> protected void Calendar1_SelectionChanged(object sender, EventArgs e) { dte.Text = Calendar1.SelectedDate.ToShortDateString(); } </script> <style type ...

Go to the complete details ...