mani kandan

mani kandan

  • NA
  • 14
  • 1.1k

Get method problem

Sep 13 2021 12:26 PM

i have migrated one table by first code approach. then i post my details.it worked.then i retrived my data from sql server database.but promblem is 'i cannot retrive any particular data from database'(example: select First_Name,Last_Name,Email,Password,DateofBirth from Registrations where User_Id=@User_Id  ----->this is my stored procedure query. but,i want data without these column from existing user_id,role_id,cityetc,...). when i execute my query . it shows "  The required column 'User_Id' was not present in the results of a 'FromSql' operation. "

 


Answers (1)