hi all..
i'm just a beginner in vb.net..so i need a solution for a problem..what i'm trying to do is show all the records in a table in a datagrid. it works fine the first time..but when i click on the button that does this again, the grid has duplicate values..so if the button is pressed thrice..the records are repaeated 3 times. so how do i stop this ??

Code:
myAdapter = New OleDbDataAdapter("select * from Login", dbConn)
myAdapter.Fill(ds, "Login")
grdDetails.DataSource = ds
here myAdapter is a DataAdapter n ds is a DataSet.

any help will be appreciated...thnx a lot