its like a button in form A calls form b ....
form b is called .... n form a is hidden using this.close
now the work in form b in over so i want to call form a again ...

How do i do that ...

one more thing ... i want to make my app portable so i decided to
create a form which gets da local server name and the authentication
required ... what modification do i have to make to:

SqlConnection conn = new SqlConnection("Data Source = moi-pc; initial
catalog = project; user id = sa; pwd = madurai;");

i was think in of using variables and came up with something like

SqlConnection conn = new SqlConnection("Data Source = @moi-pc; initial
catalog = @project; user id = @sa; pwd = @madurai;");

like i do when i want to pass variables into my sqlcommand code ...

can anyone point me in the right direction?

Reply via email to