Hi All,
i am developing an windows application with c#.
in that i mention the connection string in ini file.
now i want to get the connection string in the class file from ini file.
for application.config file i mention the connection string as
SqlConnection objcon=new SqlConnection(ConfigurationSettings.AppSettings["con"].ToString());
i write the connection string in ini file as
[Avidya]
Uid=sa
Pwd=mrsr
Database=ems
server=SERVER
but i don't know how to get the connection string in class file from ini file.
Help me in this
Thanks in Advance
Radha.
...
Go to the complete details ...