Hi,
I am using SqlDataAdapter in asp.net c# but a strange error i am facing can sombody assist me to fix it! SqlDataAdapter' does not contain a definition for 'Fill' and no extension method 'Fill' accepting a first argument of type 'SqlDataAdapter' could be found (are you missing a using directive or an assembly reference? SqlDataAdapter' does not contain a constructor that takes 1 arguments
screenshot
Regards
firoz khan
You are right only
SqlConnection conn = new SQlConnection(); conn.open(); SqlCommand cmd =new SqlCommand("Select *from employye",conn) Dataset ds = new Dataset(); SqlDataadapter adp new SqldataAdapter(cmd); adp.Fill(ds);
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.