No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello to all, I am calling connection string from app.config string str = ConfigurationManager.ConnectionStrings["Bank"].ConnectionString; SqlConnection con = new SqlConnection(str); my app.config file is <configuration> <connectionStrings> <add name="Bank" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=D:\BankManagement(2)\BankManagement\bin\Debug\BankManagement.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" /> </connectionStrings> </configuration> bt i am getting compilation error: Error 1 A field initializer cannot reference the non-static … |
|
Hello to all, I am trying to solve this problem but i did not find the solution. please help me to find the solution. Error: Column count doesn't match value count at row 1 [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("hotel", $con); … |
|
Hello to all, I have a problem that how can i fetch value from database when i select dropdown list option related information should be show in textbox in php. Value should be retrieve from database. In dropdown list values are also coming from database. |