405 Topics

Member Avatar for
Member Avatar for Evil_genius82

Dear all, I have a very strange problem I cant seem to make sense of. Here is the story... I created a product page which when visited performs an ajax request to a json file to obtain product data, I then have a js script while dynamically appends html to …

Member Avatar for diafol
0
264
Member Avatar for ddanbe

I'm referring to my snippet [Inheriting the stack class](https://www.daniweb.com/software-development/csharp/code/498828/inheriting-the-stack-class) After looong loong searches and many tries and tests, I finally came up with a version that works as I wanted to. Stacker can now handle any type of object, even with arethmetic methods in place. The virtual way as proposed …

Member Avatar for JOSheaIV
0
276
Member Avatar for Tinnin

Hi everyone, I have about 20 simple queries running seperately on loading a php page with mysql querying. On my localhost the page takes about 3 seconds to load but on the live server this is over 30 seconds. I'm trying to shave some time off but I'm having trouble …

Member Avatar for Taywin
0
302
Member Avatar for Kaustav_2

I want to change the color of a text in a given label of a Tkinter using dynamic function Say I have a string s where the data may comes from any serial interface "A or D" If A arrives in my string I want to print that in green …

Member Avatar for Gribouillis
0
1K
Member Avatar for Imam_3

Hi All Masters I'm trying to create a form with multiple labels from mysql database, im confused to add newlabel text from records here's my code Dim str As String str = " Select koderoom from room " da = New MySqlDataAdapter(str, conn) ds = New DataSet da.Fill(ds, "room") For …

Member Avatar for Imam_3
0
1,000
Member Avatar for AntonyRayan

I created a table with dynamic table headings and also dynamic textboxes for that respectively. Now my query is, how to insert that textboxes values into appropriatre fields of table, Suggest me?

Member Avatar for rpv_sen
0
125
Member Avatar for ddanbe

Inheritance with generic types can sometimes be tricky. If you would inherit from a Stack<double>, no problem, but what if you want to keep it as generic as possible? Maybe it's a bad idea, but I wrote something like `class Stacker<T> : Stack<T>` and in Stacker I implemented some arithmetic …

Member Avatar for JOSheaIV
1
768
Member Avatar for rpv_sen

Hi friends i am trying to display dynamic dropdown using php. but it is not fetching the second dropdown value. I collected the below code from internet. please help me to fix it. <?php $dbc = mysqli_connect("localhost","root","escape123","tsheet"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " …

Member Avatar for rpv_sen
0
373
Member Avatar for AntonyRayan

In a table, I want to show the list subjects based on standard selection from mysql. How to do? Example: s.no(default title)|subject1(English) |subject2(French)| subject3 based on standatrd selection| total(Default) 1 90 95 100 285 Like this I need. How to do?

Member Avatar for diafol
0
88
Member Avatar for mimiaes

Hello, everybody! I have learned a lot by reading others questions and your solutions. Now it's time to ask one myself. I have a dynamic form (with dynamically adding rows). This form has 2 normal input fields which send data to table 'orcamen' and 4 dynamic fields which are stored …

Member Avatar for diafol
0
185
Member Avatar for jakson321

Instruction: You must use pointers for this lab. No arrays, no structures. For example, if you need an array of floats to hold the scores, do not use float score[15]. Rather use float *score, then use dynamic memory allocation to hold required memory. You must use memory optimally, that is …

Member Avatar for David W
0
1K
Member Avatar for abhi10kumar

Is it possible to connect USB device in the HTML page? If yes then How I can? I want to integrate Boogie Board into a dynamic page with a question.

Member Avatar for abhi10kumar
0
128
Member Avatar for Tinnin

Hi All, I'm trying to set up an application cache for offline viewing. I'm using a custom built mvc framework. I'm having trouble getting anything to work regarding the application cache. It's as though the .appcache file isn't even being picked up. My set up is as follows: referencing the …

0
196
Member Avatar for martin-nelson

I am using the ShieldUI jQuery chart plugin and have the following issue. I went through the basics of binding the control to static data and all works well. However, I would like to load live or dynamic data to the chart.

Member Avatar for baker-thomas
1
138
Member Avatar for Aeonix

Imagine this, (names made up or/and don't apply to current situation, names used/imagined only for purposes of explaination) There's server called `daniweb.com`, it's an API server. You can get quite chunk of data out of it. But for some reason, the one who orders the project, demands that we request …

0
112
Member Avatar for mohammed_22

here is my code and iam not able to do search in that.only the first search box list the data and when i given second search option both results wont come any idea //this is my html code <script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; …

Member Avatar for diafol
0
224
Member Avatar for gganeriwal

Hi All, I am looking to build a dynamic web page for a website I am working on. Let me give a little background here and please give your suggestion how can I get started on this, useful links, etc. I am not a pro but I learn and work …

Member Avatar for jkon
0
158
Member Avatar for mehnihma

I have a problem with unchecking checkbox with dynamic id. Both of them are checked but I need to set if one is clicked that other one is disabled then this is example: <input id="value_Ture_do_30_15_0" class="rnr-checkbox" name="value_Ture_do_30_15[]" value="1" checked="checked" type="checkbox"> <input id="value_Ture_preko_30_15_0" class="rnr-checkbox" name="value_Ture_preko_30_15[]" value="1" checked="checked" type="checkbox"> I have tried …

Member Avatar for mehnihma
0
255
Member Avatar for berserk

I wasn’t sure which forum to put this under so I just selected web development. I have run into an issue that ironically I have solved before but thanks to my wonderful drop-box the changes I made were not saved and when I changed them again on another computer, the …

Member Avatar for berserk
0
421
Member Avatar for teenucr

Hi, I have a Datatable in this Format Col1 col2 col3 A B C A B M I need to print in gridview in the following format Col1 col2 col3 Col4 A B C M Please Help me..

Member Avatar for pritaeas
0
100
Member Avatar for weekendrockstar

Hello once again! I have searched in vain for a solution to this issue however, any threads that I've seen online were regarding copying a specific state of a dynamic image and were unresolved...or were more like what I was looking for and it was unresolved. My current form uses …

Member Avatar for weekendrockstar
0
584
Member Avatar for rony001

I am new to sql server .I have recently downloaded Sqlserver 2008 and connected from vb.net . I am trying to create dynamic tables with two columns such as name,amount by passing table names from text box . CREATE TABLE " & TblName & "( [Name] TEXT(10), [Amount] TEXT(6))] table1 …

Member Avatar for BitBlt
0
699
Member Avatar for ribrahim

Hello, I hope that I can get an answer for this question. I have a MYSQL table for charges which contains the following fields: ChargesID, ChargesTitle, OfficialFees and ProfessionalFees. What I need is to make a dropdown list which contain ChargesTitle and upon selection to autofill the OfficialFees and ProfessionalFees. …

Member Avatar for ribrahim
0
4K
Member Avatar for nitin1

I read many articles on Web regarding this. I am able to understand what static_cast does. I am not to properly understand why, and when we have to dynamic cast. There is something "we can downcast the pointer when it is polymorphic". I am not able to understand what they …

Member Avatar for mike_2000_17
0
5K
Member Avatar for AntonyRayan

Hi, For a dropdown , I display from one table, While Editing How to show the selected value in that dropdown. <select name="dropdown"> <option value="">--Select--</option> <?php $a=mysql_query("Select * from student whre status='0'")or die(mysql_error()); $b=mysql_num_rows($a); if($b >0) { while($row=mysql_fetch_array($a)) { ?> <option value="<?php echo $row['st_id']?>"><?php echo $row['name'] ?></option> <?php } } …

Member Avatar for Gideon_1
0
13K
Member Avatar for deceivingrakesh

Hi guys , I have run into a problem with jasper reports and dynamic reports , i'm just trying to generate a simple PDF from a List of beans fetched from Hibernate , when i try to generate PDF from Action , i get the following Error:NoSuchMethodFound:org.w3c.dom.Node.getTextContent()Ljava/lang/String; the method : …

0
130
Member Avatar for somusas

i want a macro which can find the "$" select all the data and copy it to the next sheet The dollar symbols are dynamic so 1st and 4th dollar symbol will be copied sheet 1, data between 4th and 5th will be copied to sheet2,data between 2nd and 3rd …

0
120
Member Avatar for raghavanp

In below code, I expect 1 to be initialized in all the 10 elements in x array. But, it doesn't seem to be working. May I know what I am missing here int main() { int *x = new int[10]; //std::cout<<"address of x: "<<&x<<std::endl; for(int i =0; i <10; ++i){ …

Member Avatar for マーズ maazu
0
243
Member Avatar for nhiap6

I have this regular struct struct Person{ char *name; int age; } and I should do some regular stuff like, input size, create dynamic array of persons , and take user input for this person. But the problem, as you can see is how do I input in name pointer; …

Member Avatar for Moschops
0
170
Member Avatar for Rafiii

Hello everyone, If i need my program to create as much vectors as needed based on the user first input , assuming each vectors will hold an int value like a combinations of numbers, so latter those vectors will be compared for higher value. EX: prompt the user to enter …

Member Avatar for Rafiii
0
614

The End.