Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to work dataview RowFilter if have more than ten column in which some are blank
Posted
Comments
ZurdoDev 23-Mar-15 15:54pm    
This does not make any sense.
atuk2308 23-Mar-15 16:13pm    
Hey Ryan I want to put filter on each column of table....
Santosh K. Tripathi 24-Mar-15 0:02am    
come up with some example for getting help from members of codeproject.
atuk2308 24-Mar-15 10:08am    
protected void Unnamed_Click(object sender, EventArgs e)
{
DL.clsDB clsDB = new DL.clsDB();
lDt = clsDB.GetDataSet("EXEC USP_POS_DateWiseStockCB_ReportAll '" +
'5' +
"','" + "12" +
"','" + Convert.ToDateTime("01/03/2015").ToString("yyyy-MM-dd") +
"','" + Convert.ToDateTime("23/03/2015").ToString("yyyy-MM-dd") +
"','" + "0" +
"' ", CommandType.Text).Tables[0];
DataView DV = new DataView(lDt);

if (mm.Text != "")
{
DV.RowFilter = "[Article Name] like = '" + mm.Text.Trim() + "'";
}
GridView1.DataSource = DV;
GridView1.DataBind();
}


}



in this i want to put filter on multiple table

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