2,070 Topics

Member Avatar for
Member Avatar for altjen

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 …

Member Avatar for altjen
0
53
Member Avatar for altjen

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...

0
88
Member Avatar for Yuki_1

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()) …

Member Avatar for JerrimePatient
0
238
Member Avatar for overwraith

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, …

Member Avatar for DaveAmour
0
228
Member Avatar for SoMa_2

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= …

Member Avatar for diafol
0
2K
Member Avatar for Niloofar24

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" …

Member Avatar for lps
0
973
Member Avatar for phoenix254

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 …

Member Avatar for cereal
0
413
Member Avatar for Niloofar24

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 …

Member Avatar for DJBirdi
0
303
Member Avatar for london-G

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?

Member Avatar for london-G
0
238
Member Avatar for muhamadtaufiq.zaki

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='" + …

Member Avatar for Stuugie
0
237
Member Avatar for Suzie999

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, …

Member Avatar for Suzie999
0
2K
Member Avatar for Linh_1

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 …

Member Avatar for Aslam Mansoor
0
338
Member Avatar for Emma Etigu

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 …

Member Avatar for DaveAmour
0
289
Member Avatar for gangachana

I need to read the span value and insert into database in php <span class="GrandTotal">0.00</span>

Member Avatar for mattster
0
2K
Member Avatar for Michael_35

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 …

Member Avatar for Reverend Jim
0
349
Member Avatar for Heanre

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

Member Avatar for almostbob
1
148
Member Avatar for ruhulaminice

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

Member Avatar for Heanre
0
318
Member Avatar for anmol.raghuvanshi1

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 …

Member Avatar for broj1
0
291
Member Avatar for fireburner29
Member Avatar for Rizi004

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 …

Member Avatar for almostbob
0
259
Member Avatar for rubeea.jaffari

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 …

Member Avatar for hericles
0
944
Member Avatar for Emma Etigu

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 …

Member Avatar for zizo.ahmed.779
0
498
Member Avatar for stokie-rich

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 …

Member Avatar for stokie-rich
0
304
Member Avatar for William Hemsworth

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 …

Member Avatar for William Hemsworth
0
347
Member Avatar for Nisha_3

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 …

Member Avatar for lps
0
2K
Member Avatar for muraligowda
Member Avatar for JorgeM
0
339
Member Avatar for TedBoolean

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?

Member Avatar for JorgeM
0
63
Member Avatar for singh.ranjeet

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 …

Member Avatar for JOSheaIV
-1
2K
Member Avatar for Ankur_3
Member Avatar for milil
0
75
Member Avatar for aplee

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 …

Member Avatar for Teme64
0
263

The End.