binding a set of datarows to datagridview

前端 未结 3 1058
孤街浪徒
孤街浪徒 2021-01-23 06:15

I have tried the following code, but nothing is displayed in datagridview.

Any Suggestions?

string strFilterOption = \"dtcolnPurchaseProductExpProductNo=         


        
3条回答
  •  执念已碎
    2021-01-23 06:57

    Have you test dgvProductExp.DataSource.Tables(0).Rows.Count ? .. if it show 0 that's why ..

    Or are you sure it's not

    string strFilterOption = "dtcolnPurchaseProductExpProductNo='270'"; ?

提交回复
热议问题