You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
657 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CPCBILLSYS
{
public partial class test : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
int i = 2;
if (!IsPostBack)
{
if (i == 2)
{
grp1.Hide();
grp2.Show();
}
else
{
grp1.Show();
grp2.Hide();
}
}
}
}
}