How Can I use Find method in DataSet that has Primary Key make of 3 Columns?
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("")
In Find parameter , which one I have to fill? Please help me. Thanks Everyone!