2,070 Topics
| |
hi. few days ago I open a microsoft azure account and create a virtual machine. download SQL server managment and do everything ready. open TCP port 1433 and my DSN name is btca.cloudapp.net now I cant connect with the database inside it... what to do. Im looking everything but nothing … | |
hi. few days ago I create a Azure Account and create a Virtual Machine install SQL server managment. open TCP port 1433. but now I cant connect to my app... my DNS is btca.cloudapp.net but cant connect the code with the database... please help me... | |
Hi may i ask how to Get value from database display in textbox?I had a table name mttuser.When i login it will automatic show me the personal informaion. here is my code private void Process_Load(object sender, EventArgs e) { gent_login frm_login = new gent_login(); using (Mttuser_DAL dalObj = new Mttuser_DAL()) … | |
So I am having trouble connecting to an Oracle XE 11g database in visual studio. The Ultimate aim here is to make a webpage I can run on my local machine and send sql to on my local net. From looking around it seems other people have had this problem, … | |
I have images generated by while loop php based on how many course user have when user press on one of those images it will send him to that course page but all images send to one course page this my php code in** home page ** <?php $con=mysqli_connect("localhost","FYP","123","FYP"); $sql= … | |
Hello. There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION). And in each row, will contain a post id, a post title, a post author that gets from database. And in the Action column, there is a "delete" … | |
Hi, i want to change format of date . This code i add in my register page.... if(!empty($_POST['dob'])&& !empty($_POST['mob'])&& !empty($_POST['yob'])) { $yob = mysqli_real_escape_string($con,$_POST['yob']); $mob = mysqli_real_escape_string($con,$_POST['mob']); $dob= mysqli_real_escape_string($con,$_POST['dob']); $date = mysqli_real_escape_string($con,"$yob-$mob-$mob"); $addtothedb="INSERT INTO login (Dateofbirth) VALUES ('". $date . "')"; $result=mysqli_query($con,$addtothedb); and when i get back data from db … | |
Hello everybody! There is a problem with my db table. For example i send 6 posts (with title, author and content) to the db table one after an other, so their post's id would be 1-2-3-4-5-6. Then if i delete the post number 6 and then write a new post … | |
From what I understand a DBMS is a software that manupulates a database. I am developing a retail checkout system which is link to a SQL database. Is that consideres as a DBMS? | |
I want to ask how to update data in database? I'm using the code as the below. string value1 = TextBox1.Text; string value2 = TextBox2.Text; string value3 = TextBox3.Text; string value4 = TextBox4.Text; string value5 = TextBox5.Text; string strsql = "Update Form Set Name='" + TextBox2.Text + "', Designation='" + … | |
Earlier I posted a snippet which showed [how to create a 2 dimensional string array from an SQLite database table](https://www.daniweb.com/software-development/csharp/code/494083/sqlite-database-table-to-2-dimensional-string-array-). This snippet is the reverse, if you will, where we create an SQLite database table from a 2d string array. It should be noted that this code has it's limitations, … | |
can someone show me how to do this please? I am new to programming languge? here is the requirement? Thanks. Create a database table with 10 records with the following fields: Lastname, FirstName, Phone Number, Street Address, City, State, Zipcode. The table name is: “User Info”. Please create the table … | |
hi guys I need assistance with SQL insert statement to an access database. I want to insert values to a particular table if the text box value is less than 0. below is the sample code. dim value4 as integer if integer.try parse(textbox4.text) then if value4 <=0 then dim cmd … | |
I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span> | |
Hi All,I am coidng a movie database using vb.ebt (VS 2013) and using access (2013) I am trying to code my save button, but every time i run the program and try to save my data I get the below error An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll … | |
how to check if the database is empty? my point is that the first person will be the administrator. here is my code $query="SELECT staffID,name,surname,email FROM stafftable"; $do=$con->prepare($query); $do->execute(); $record=$do->rowCount(); if($record>0): is there a much better option for this?. thanks | |
anybody can help me how i can run a java database program code in eclips software i have tried many times but give no result when run this please help me | |
| hello every one i have one small doubt i have the following code i want the user to enter the coupon code which has been randomly generated and saved in database now i want that when user enter the coupon code it is cross checked from database i.e entered coupon … |
Hi there, Please help How to add dynamic textbox (row) and save to database using PHP PDO? | |
Hi everyone. I want to store greek letters in mysql table my table collaction is utf8_general_ci and i'm calling this function after database connection mysqli_query($connection, "SET NAMES 'utf8'"); mysqli_query($connection,"SET CHARACTER SET 'utf8'"); but all greek letters in database are like "??????? ???" Question mark how to resolve this ??? I … | |
Hello everyone, I am trying to connect my android application to MYSQL database. I have used the following: MYSQL already created database test (accessed via xampp using localhost/phpmyadmin) Created a table named as student in the database test consisting of Name and Roll No columns and 2 records. A user … | |
hello guys what is the best way of populating text boxes with values from the database. I am using access and want to display some values to two textboxes . I have been using the GetData method but I got a prpblem , in case the value is not found … | |
Hi guys, I'm creating a register page for my website. I have got things sorted now, when i try and test the page and try and register a user the data is not been inserted into the database I'm not getting any error messages at all so I dont know … | |
Hi, thanks for any help in advance. I was hoping to get some guidance for getting started with connecting to an SQL database online. I'm writing an application in Win32 which needs to be able to read/write to a database. I have plenty of experience with C++, but almost no … | |
This is my php code.And i get no database selected error while running it in the localhost.kindly help me please. <?php $hostname_localhost ="localhost"; $database_localhost ="mydatabase"; $username_localhost ="root"; $password_localhost =""; $localhost = mysql_connect($hostname_localhost,$username_localhost,$password_localhost) or trigger_error(mysql_error()); mysql_select_db($database_localhost, $localhost); $username = $_POST['username']; $password = $_POST['password']; $query_search = "select * from tbl_user where username … | |
hello plz let me know code how to insert 2 or more aspx page records to in single database | |
hello, I want to have a button that everytime a user clicks it, his info via his session will go into a table in a database. Can anybody of you guys can help me with this problem? | |
I am new in Programming line please give me the code to connect Mysql Database with C# in windows Form. I made a program of login and i create a Mysql databse but when i goes to connect the form with database& written whole code i encounter a problem That … | |
how can i show the data in a table from database on a click button in jsp page. | |
Hello, Code Masters, Here I am again today going to seek help and guidance from you. I have here a manually assigned values to arrays 0 - 19 now my question is, how can I assign values to each array coming from the SQL database? The catch is, it is … |
The End.