protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { MultiView1.ActiveViewIndex = 0; gvUserInfo_ItemCommand(gvUserInfo,new ListViewCommandEventArgs());//error string str = "SELECT * FROM SetPayout_Master"; com = new SqlCommand(str, con); com.CommandType = CommandType.Text; da = new SqlDataAdapter(com); DataTable dtstr = new DataTable(); da.Fill(dtstr); if (dtstr.Rows.Count > 0) { viewSetPayout(); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)