thank you Guzy and forgive me Mart
I was using dataReader for a substitute and it is commented ,but for now I"m using dataset
my code has no more errors but the dataset could not appear because of a datagrid error
can someone help,where can I put this try code for my datagrid
the error I get "'Login' is not a member of 'System.Data.DataSet'."
try
mydatagrid.datasource=DS.Login("Login1")
mydatagrid.databind()
catch ex as exception errorlabel.text=ex.message
end try
and It is inside my module -method-function
thankx in advance