如何在具有 3 列主键的 DataSet 中使用 Find 方法?
dadSample.SelectCommand = New SqlCommand("SELECT * FROM StockBalance", conxMain)
dadSample.FillSchema(dsSample, SchemaType.Source, "StockBalance")
dadSample.Fill(dsSample, "Stock")
Dim keyColStock(3) As DataColumn
keyColStock(0) = dsSample.Tables("StockBalance").Columns("StockID")
keyColStock(1) = dsSample.Tables("StockBalance").Columns("LocationID")
keyColStock(2) = dsSample.Tables("StockBalance").Columns("StockBalanceUnitID")
dsSample.Tables("StockBalance").PrimaryKey = keyColStkBal
dRowCurrent = dsSample.Tables("StockBalance").Rows.Find("")
在 Find parameter 中,我必须填写哪一项?请帮我。谢谢大家!