355 Topics

Member Avatar for
Member Avatar for Priti_P

Hello, Sorry,This may be a silly question : How to assign ajax return value to javascript array? for example what I want is, I have declared an array in javascript as `all_skills = new Array();` and after that called ajax call in which I want to save the return value …

Member Avatar for Dani
0
12K
Member Avatar for shantuli

hi everyone, i am very new in java. can anyone help me to solve the following problem: A school conducts a 100 mark exam for its student and grades them as follows: Grade: Grade A: Marks>75 Grade B: 75>Marks>60 Grade C: 60>Marks>50 Grade D: 50>Marks>40 Write ajava program to calculate …

Member Avatar for zunam
-5
81K
Member Avatar for ihthishaam

Hi guys, I am new to vb.net i want to know how to pass a datagridview row values onto another form once the row is been double clicked.

Member Avatar for Angelo_5
0
5K
Member Avatar for Robbert

Hi Any one know how I can get the following function to return a value - thanks. [CODE]import threading import time def stringFunction(value): str = "This is string no. " + value return str thread1 = threading.Thread(stringFunction("one")) thread1.join() thread1.start() while threading.activeCount()>1: time.sleep(1) print thread1 [/CODE] Currently returns "<Thread(Thread, stopped)>" Not …

Member Avatar for sekmani
2
29K
Member Avatar for wilsonchama

Hi guys, I have a listview that displays "product Description" in the first column and "Product Price" in another column, after the "add" button is clicked on frmSales form. After that, txtAmountDue is automatically updated with the value of the items added to the listview. The Remove Button, when clicked, …

Member Avatar for Duane_2
0
2K
Member Avatar for rpv_sen

Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i …

Member Avatar for Lucifer_1
0
3K
Member Avatar for manutd4life

Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index …

Member Avatar for Muhammad Nauman_1
0
14K
Member Avatar for bprosic

Hello, I created four scripts written in php. Scripts are used to import/export data between two databases (one database is on local machine and second one is on server as web shop). Scripts are not basic import/export, because I had a lot of details on what to do with the …

Member Avatar for bprosic
0
348
Member Avatar for kkvk

<?xml version="1.0"?> <License version="1"> <ActivationInfo> <ActivationDate></ActivationDate> <IssueDate>22-Dec-2015</IssueDate> </ActivationInfo> <MachineInfo> <MachineName></MachineName> <SoftwareIds></SoftwareIds> </MachineInfo> <LicenseKeys> <LicenseKey> <LicenseVersion>1</LicenseVersion> <FeatureName>PLI_FEATURE1</FeatureName> <LicenseType>PERMANENT</LicenseType> <CustomProperties> <CustomProperty> <key>LICENSETYPE</key> <value>EVAL</value> </CustomProperty> <CustomProperty> <key>CAPACITY</key> <value>10</value> </CustomProperty> <CustomProperty> <key>CAPACITY_UNIT</key> <value>TB</value> </CustomProperty> </CustomProperties> </LicenseKey> <LicenseKey> <FeatureName>PLI_FEATURE2</FeatureName> <LicenseType expirationDate="01-Jan-2017">EVALUATION</LicenseType> <CustomProperties> <CustomProperty> <key>LICENSETYPE</key> <value>EVAL</value> </CustomProperty> <CustomProperty> <key>CAPACITY</key> <value>10</value> </CustomProperty> <CustomProperty> <key>CAPACITY_UNIT</key> <value>TB</value> </CustomProperty> </CustomProperties> …

Member Avatar for rubberman
0
624
Member Avatar for සශික

hey, Previously I post my question. But it wasn't helped. So I tried own and make sum query. It's not generate 0 value records. can anyone hep me ? select loan.loan_id as 'Loan ID' ,loan.customer_name as 'Customer Name' ,loan.total_amount as 'Total Amount' ,ifnull(sum(settlement.amount),0) as 'Total Received' ,((loan.total_amount)-ifnull(sum(settlement.amount), 0))as 'Total Due' …

Member Avatar for hmondy
0
268
Member Avatar for Amaina

This question is very similira to this [one](https://www.daniweb.com/programming/web-development/threads/472324/inserting-a-multidimensional-array-into-db) but with a little twist to it. I have an array that looks like this: Array ( [0] => Array ( [post_id] => 5410 [Issue] => 2010 [_Issue] => field_573d7fa8454e9 [_volume] => field_573d7f79ef9ab [volume] => 530 [_journals] => field_56d3de5ddc04d [pages] => 105-9 …

Member Avatar for Amaina
0
432
Member Avatar for Annuscha

Hi Everyone, I created a script where rows gets cloned, then I created a script to check if a specific code exists in the database. This all works fine. My problem is my status message when a code exist, it shows on the first row but not the rest. I …

Member Avatar for hielo
0
354
Member Avatar for Stefce

How do i get the most repeated value that is inserted just today from 23:59 till 00:00 i have this sql but i dont know how to filter it by date any help will be apreciated. $sql = "SELECT `MatchTitle`, COUNT(`MatchTitle`) AS `mostPlayed` FROM `matches` GROUP BY `MatchTitle` ORDER BY …

Member Avatar for cereal
0
226
Member Avatar for dharam_05

Can anyone explain me what are the main difference between a null value and blank value in database. It important please help me out. thank you.

Member Avatar for jacks009
0
13K
Member Avatar for Maideen

Hi Sir I have a problem in passing value from Popop to main page I am using Master page and aspx page From main page, i can open popup windows and populate data in gridview. I am selecting date and capture the valeu in TextBox. When I click the button …

0
216
Member Avatar for Vlatko_1

Hello everyone. First of all i'm new here, and i registered particulary for this problem of mine i can't figure. In the code shown below, in the function `void printExpensiveThanT(..)` i'm supposed to print out the destination, distance and the price for the offers which are more expensive than the …

Member Avatar for AssertNull
0
245
Member Avatar for Bandit_

import time def add(numbers): a = 0 for num in numbers: a += num return a add_numbers = [] def subtract(numbers): b = 0 for num in numbers: b -= num return b sub_numbers = [] def multiply(numbers): c = 0 for num in numbers: c *= num return c …

Member Avatar for Gribouillis
0
300
Member Avatar for cusoon.777

I got tired working on that part of code for 3 days and searching on the internet please I need help to know HOW TO use auto complete textbox1 and use its value to set the value of textbox2 and textbox3 below code public class PopulateProduct { public string ProductDesc …

Member Avatar for Philippe.Lahaie
0
357
Member Avatar for Gede_1

#include<stdio.h> #include<stdlib.h> struct node { int data; struct node *next; }*head; void append(int num) { struct node *temp,*right; temp= (struct node *)malloc(sizeof(struct node)); temp->data=num; right=(struct node *)head; while(right->next != NULL) right=right->next; right->next =temp; right=temp; right->next=NULL; } void add( int num ) { struct node *temp; temp=(struct node *)malloc(sizeof(struct node)); temp->data=num; …

Member Avatar for AssertNull
0
6K
Member Avatar for Naveen_16

value of life certificate is not updating through this code. myconn.Open() cmd.Connection = myconn cmd.CommandText = " UPDATE Pension_Master SET l_cer='" & l_cer & "',validfrom=convert(datetime,'" & validfrom.Date & "',101)," & _ "validto=convert(datetime,'" & validto.Date & "',101) WHERE ppo_no = ' " & TextBox1.Text & "'" If (payment_register.Visible = True) Then …

Member Avatar for Reverend Jim
0
334
Member Avatar for yuvi2288

hi experts, [code=html]<a href="http://www.example.com"> goods </a>[/code] this is the hyperlink i have to used for example. i want to get the term 'goods' in the above hyperlink through jsp if i will click 'goods'. can i get the term in jsp like the below snippet?? [code]<% String goods=request.getParameter("goods"); %>[/code] or …

Member Avatar for Vishija
0
14K
Member Avatar for King_6

I checked my spellings and everything for so many times already Here's the code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Not cnn.State = ConnectionState.Open Then 'open connection if it is not yet open cnn.Open() End If cmd.Connection = cnn 'check whether add new …

Member Avatar for hericles
0
205
Member Avatar for reminem

Hello Everybody, I searched the the internet and this forum, but cannot find the solution for my problem. Started with python and have this code (part of): import requests `def Send_invitation(): data = {"bsn": e3.get(), "initialen": e2.get(), "achternaam": e1.get(), "geslacht": e4.get(), "geboortedatum": e5.get(), "postcode": e6.get(), "emailadres": e7.get(), "screening_type": e8.get()} response …

Member Avatar for reminem
0
327
Member Avatar for Ts91

Hi guys! i have a dropdown list that is filled with data that is pulled from my database. Im stuck with populating the textbox based on the value thats selected from the dropdown box. My model currently looks like this: <?php require_once('../Config/config.php'); class AppCalc { public $dbconn; public function __construct() …

Member Avatar for TexWiller
0
1K
Member Avatar for Mr.M

Hi Dw. I'm tryign to change a registrykey on my system but I get this error: `ArgumentException was unhandled, The specified RegistryKeyPermissionCheck Value is invalid. Parameter name: mode` here is the line that throws this error: regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(Root & Last, True, (Security.AccessControl.RegistryRights.FullControl)) and the rest of the function code …

Member Avatar for Mr.M
0
596
Member Avatar for Juli_1

How do I change string values in a variable? example: string = 'Hello' print(string) change string to 'Bye' <-- How do I do that? print(string)

Member Avatar for Reverend Jim
0
390
Member Avatar for darren2005

Hi, I am having issues with the following code: var seachHttp = function () { var cssSheets = document.styleSheets, // Loaded CSS Sheets i =0, il = cssSheets.length, // Counter and limit for sheets j, jl, rules, rule, // Counter and vars for Rules inside a Sheet stylesToSearch = [ …

Member Avatar for bigtalk
0
422
Member Avatar for kouty

Hello. My question is very basic but I can not find/understand the answer anywhere. How check if the name-value "name": value in an object. I know that with Object.keys() method we can checking the names of the properties. I know too that with Object.name or Object["name"] we can see the …

Member Avatar for kouty
0
313
Member Avatar for Armaan_1

i am beginner in java, i am trying to display user name with image jsp page when loging with email id... plllsssss help me out... package User_pack; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.*; import DB.DBCon; import javax.servlet.http.HttpSession; import javax.servlet.RequestDispatcher; public class Validate …

Member Avatar for Taywin
0
280
Member Avatar for ajit.nayak

Dear all, I have created project database in msaccessdatabase. It contail ![Msaccess.jpg](/attachments/large/4/a91d2278c08f244b439891bcf7c3b36e.jpg "align-center") form layout as shown in image & i have attached code for reference Imports System Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the …

Member Avatar for Miurei
0
325

The End.