Hai,
I don know how to store data from datagrid to SQL database. I also don know how to find the number of records in dataset or datareader.
for an example
myCommand = New SqlCommand("Select * from discounts", myConnection)
dr = myCommand.ExecuteReader()
How can I know whether there is any record in dr.
Help me out.