Quote:
i also tried many types of connection string
No it won't help.Give the correct path
Look at this:
string conn = "
Data Source=.; Initial Catalog=edustarsDBwithFeesPayments;User ID=sa; password=123123;";
DataSource= . ? :doh:
Give correct server address to datasource.Likewise,Database,username,password everything should be correct
and please see for more details:
https://www.connectionstrings.com/[
^]