199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for menukadevinda

Hi all, can we passe data from view to contoller. I think viewdata and viewbag can use to send data from cotroler. In my case i use telerik grid contolers with razor. .DataBinding(dataBinding => dataBinding.Ajax() .Select("_OrdersForEmployeeHierarchyAjax", "Home", new { Id = "<#= Id #>" })) I tried to pase data …

Member Avatar for menukadevinda
0
168
Member Avatar for thechampp

1.I need someone to check if the program i wrote is correct. "Write a program to calculate the sum (with accuracy of 0.001): 1 + 1/2 - 1/3 + 1/4 - 1/5 + ..." -> The code of the task is below. 2.I have one more question for example if …

Member Avatar for thewebhostingdi
0
166
Member Avatar for dakaboguy

Im having trouble with nested for loops. I have have a SQL database with a few tables i need data pulled from. So in my first for loop i search for all materials in a product, i insert the data into a datatable then i do the for each dr …

Member Avatar for Reverend Jim
0
178
Member Avatar for reach_yousuf

Hi I would like to use contentpage controls from master page. the senario is like this... I have project with master page and master page has a webusercontrol. webusercontrol has button. when webusercontrol button is clicked. the content page's text box should have a focus on it. Button is wrapped …

Member Avatar for nakor77
0
1K
Member Avatar for Mobyguy77

Hello! Being my first post on Daniweb 'n' all, I'd like to apologies if this is in the incorrect section. This isn't why I'm here, though. I am a moderator on a fairly huge forum and thus we get roughly over 1500 reports for rule-breaking posts per day across all …

Member Avatar for G_Waddell
0
123
Member Avatar for Stardemos

once more again, here I am with questions. this query, dont let me update fields where I have leter's,but do the job with numbers... the output of the last test: *Unknown column 'sfas' in 'field list' UPDATE entrada SET codprod=13, lote= 123, val=sfas, designacao=tyr5rtdjbgyug, filtro=jghhjg, familiamarca=ghgjhfhf, quantguia=12, quantconf=12, atado=1, posicao=20a15 …

Member Avatar for Stardemos
0
166
Member Avatar for GTTravis

Hi Guys is me again!! I Have a question, if i have 2 asp.net pages (web forms) and form 1 (page 1) has a link that when clicked will generate form 2 (page 2). The trick is that form 2 (page 2) has a label that must load with a …

Member Avatar for JorgeM
0
98
Member Avatar for Stardemos

I need to, select data from a table and then make changes and update is the same tabele and another table. Right now my code is very simple and is giving some erros, right now, he just search the table. can you hepl me? <?php //conecção ao servidor mysql_connect("localhost", "root")or …

Member Avatar for Stardemos
0
513
Member Avatar for sniga.mareka

Hi, I would like to know how to create a dynamic xml playlist that is automatically updated as mp3 files are uploaded. I want the playlist for flabell29 flash mp3 player, which can be found at flabell.com. The playlist icludes album art location, artist name, track title, duration, album title …

Member Avatar for cereal
0
610
Member Avatar for arctushar

Hello I m not clear about class. Can anybody help me. Actually what is different between class and function. When I will use functiona and when I will use function.

Member Avatar for fpaquin
0
1K
Member Avatar for Formby

I've had this problem many, many times. And it's always turned out to be a small typo or "" around an integer, but I just cannot find what's wrong with my SQL Statement this time! [CODE]SELECT Card_ID FROM Payment WHERE Customer_ID = 12 AND Card_Number = 1231231231231231[/CODE] The table and …

Member Avatar for kvprajapati
0
1K
Member Avatar for reibi

Hello everyone, I am trying to create dynamic dropdown of category and when a particular category is selected then it should show sub-category automatically from the database. I have used this using javascript in OOP PHP but having difficulty while using it with codeignitor. So please anyone, help me with …

Member Avatar for cereal
0
3K
Member Avatar for vstl

And I want to show the different words in two text files and make them bold, show on the screen. my code compiles when entering a word show the common words in two txt files and underlined them. instead of entering the word, I want to read a txt file, …

Member Avatar for Taywin
0
841
Member Avatar for apanimesh061

<?php include_once('simple_html_dom.php'); function get_url_contents($url){ $crl = curl_init(); $timeout = 5; curl_setopt ($crl, CURLOPT_URL,$url); curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout); $ret = curl_exec($crl); curl_close($crl); return $ret; } $url = 'http://books.rediff.com/categories/fiction-genres/2180204'; $outhtml = get_url_contents($url); $html= str_get_html($outhtml); foreach($html->find('a') as $link) { echo "<a href =".$link->href.">".$link->href."</a><br>"; } ?> This gives all the …

Member Avatar for apanimesh061
0
1K
Member Avatar for daniasp
Member Avatar for mohitz123
0
458
Member Avatar for devilhacker

Is there any way that i could get my computer geographical location from php of from another language? I would like help and suggestions if you could help me! Thank you.

Member Avatar for almostbob
0
924
Member Avatar for HibaPro

Private Sub CalculateDeductionPer() Dim FixSumPer As Double Dim i As Integer If DataGridView1.Rows(i).Cells(9).Value Is Nothing = True Then For i = 0 To Me.DataGridView1.RowCount - 1 FixSumPer += DataGridView1.Rows(i).Cells(9).Value Next i = i + 1 End If Deduction.Text = FixSumPer End Sub this is my code to sum some cols …

Member Avatar for Gé48
0
66
Member Avatar for phil.robison.5

I am having a lot of trouble with the game I am supposed to be creating, so I'm going to put it out here for the many minds smarter about this stuff than I am to see if they can let me know whats wrong... I am brand new to …

Member Avatar for JamesCherrill
0
265
Member Avatar for jumboora

Hi, I want to copy all the video files from one directory (source folder) to another directory (destination folder) which i have already done. Code is given below. Now i want to put some condition. For Example, I want to read first the text file (videoID.txt)in which all the video …

Member Avatar for Mike Askew
0
190
Member Avatar for newbie26

hey..can somebody help me. how can i display the days based on the workweek inputted by the user? example..i have a textbox and user will input what work week he wants to view. and on click event of a submit button, the days will be displayed in a table starting …

Member Avatar for blocblue
0
286
Member Avatar for brainfo

hi. I successfully created a portfolio section in wordpress with quicksand with the help of http://wp.tutsplus.com/tutorials/theme-development/create-a-quicksand-portfolio-with-wordpress/ site. And now am having problem that when ever i click any view detail page it shows " This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps …

Member Avatar for blocblue
0
247
Member Avatar for notconfirmed

Hello, I have a problem to this html code.I want to get only the data inside the href,but the data is dynamic. <a title="Click here to see docket information" href="/ccm/do/docket?county=65&amp;data=eedd78d10fd9da341e05b25b48b62013">652012CC000006CCXXXX</a> I am not really familiar in regex.I am using this code to extract the html inside the href. MatchCollection m1 …

Member Avatar for Mike Askew
0
1K
Member Avatar for vikas_3r

I not going to print any document.I want to retrieve details of usb-printer.How can i get connected with usb- printer with c# programming to retrieve details?

Member Avatar for C#Jaap
0
515
Member Avatar for SBA-CDeCinko

We are currently running a modified version of jShowOff, a jQuery slider. It has never been modified since it was created back in 2009 and lacks a few features we need. I have been searching the latest crop of sliders and haven't found one with the features we need. It …

Member Avatar for pritaeas
0
235
Member Avatar for 3e0jUn

For some reason , my code keeps returning a false reply even if the string is in the file. Here's my code: def check(self): self = str(self) if self in config_file: print ('Account exists') if self not in config_file: print ('Account doesn't exist')

Member Avatar for Gribouillis
0
167
Member Avatar for arcticM

I want to put my html in a php variable and use this variable in the .html() but it doesn't work as I expect it to..how can I do something like that? $var="<p>test</p>"; //this works $return['script'] = "jQuery('#form_pop_out').html('<p>test</p>');" //those don't work $return['script'] = "jQuery('#form_pop_out').html('$var');" $return['script'] = "jQuery('#form_pop_out').html('{$var}');" $return['script'] = "jQuery('#form_pop_out').html('".$var."');"

Member Avatar for arcticM
0
124
Member Avatar for B204

hello frnds!! i want to know which things in programming slows the running process of program..... i want that my program should run in minimum time.....

Member Avatar for stultuske
0
77
Member Avatar for AmrReflection
Member Avatar for fasna

In the pencil-and-paper game, Tic-tac-toe, 2 players take turns to mark 'X' and 'O' on a board of 3x3 squares. The player who succeeds in marking 3 successive 'X' or 'O' in vertical, horizontal or diagonal stripe wins the game. Write a function that determines the outcome of a tic-tac-toe …

Member Avatar for Gribouillis
0
336
Member Avatar for newbie26

hi.how can i filter dates from the database in crystal report syntax? i tried {tblname.datetimefield} >= format(text1,"yyyy-mm-dd") and (tblname.datetimefield} <= format(text2,"yyyy-mm-dd"). but this gives me error, "a date is required here". my database field is in datetime data type.with format 0000-00-00 i also tried Date({tblname.datetimefield} )>= format(text1,"yyyy-mm-dd") and Date({tblname.datetimefield} <= …

Member Avatar for newbie26
0
167
Member Avatar for isley

Hi Guys, Im just starting up in developing mobile applications, especially in an Android Platform. We are developing a client - server application. I would like to ask anyone for guidance or related information. Here's the basic information i could provide with our system. We are developing a WLAN(Wireless LAN) …

Member Avatar for isley
0
102
Member Avatar for Danny159

Hey guys, I am currently learning wordpress and I am having some trouble with Custom Post Types... I have added all the code for custom post types in my theme functions.php file however the links to the single posts done seem to work... they just go to my 404 page? …

Member Avatar for brainfo
0
126
Member Avatar for Oneryavuz

i need to filter my table between 2 dates but it makes wrong filtering really i dont understand why. but it might be my wrong codes here is my codes... what should i do? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim da As New …

Member Avatar for Oneryavuz
0
162
Member Avatar for coolikedat99

I was trying to create a program that would require the correct password to be put in in order for it to display something. I was able to make a program that would require the right password to display a certain thing. But the problem is that it can only …

Member Avatar for coolikedat99
0
166
Member Avatar for LastMitch

Hi I having problems understand permission files. I actually took apart some cms platform that has a permission file. The issue is that how to write a simple permission file? So far base on the CMS, I took apart. This is always appears: if (!$_SESSION[""]) { die('You do not have …

Member Avatar for zexlover.deeppassions
0
219
Member Avatar for Romil797

I have a website for a painter where the painter uploads a picture. The picture name is added to a mdb (access) database table, the picture is added to the end of a table called galleries, and the file is uploaded. It is also then resized to a small image. …

Member Avatar for Romil797
0
223
Member Avatar for scott.richardson.988373

I have checked various examples and it appears that my problem is a bit more complex than what I have been able to find. So I'd greatly appreciate your help. I'm a stress engineer and I like to present my results as VRML (WRL) files. I recently discovered how to …

Member Avatar for scott.richardson.988373
0
194
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> struct rithish { int roll; char name; }*s[20]; void main() { struct rithish *s; int i; for(i=0;i<2;i++) { printf("\n\n\t Enter roll : "); scanf("%d",&*s[i].roll); printf("\n\n\t enter name: "); scanf("%s",&*s[i].name); } } is it possible to do structure variable as pointer to array

Member Avatar for Schol-R-LEA
0
122
Member Avatar for mir.jde

Hello there... i watch the Php Academy tutorial of contact forum the thing happening is when i create it in single file it work. **BUT** When I include it in a file it echo errors Cannot modify header information - headers already sent by (output started at /home/iconspor/public_html/contact.php:11) in /home/iconspor/public_html/contact.php …

Member Avatar for almostbob
0
275
Member Avatar for pato

Hey, I'm new to Python, as well as this message board, and I was wondering what some of the most useful and frequently-used commands are. I've so far only learned while, if, print, input # and words, and can make some basic programs only. I've previously had experience in TI83 …

Member Avatar for PythonHelper
0
1K
Member Avatar for Karkalash

Hi All: I'm wondering if anyone knows any usefull links to articles I can read on coding multiplayer for XNA. I'm looking for something that would teach me how to code for more than two players. The idea of what I'm working on is for a standard 4v4 deathmatch over …

Member Avatar for jLocke
0
468
Member Avatar for hmagnum

while (HullShipA > 0 && HullShipB > 0 && HullShipC > 0) { // do whatever i wanna do } Console.Writeline("End Game"); So i'm kinda new to c# but here is the deal: In this simulation, ships attack eachother for damage and the way it is, as soon as 1 …

Member Avatar for hmagnum
0
116
Member Avatar for triumphost

What are the last 4 values for? (m[0], m[4], m[8], m[12]) (m[1], m[5], m[9], m[13]) (m[2], m[6], m[10], m[14]) (m[3], m[7], m[11], m[15]) I've looked everywhere and cannot figure out what m[3], m[7], m[11], m[16] are for (ModelView Matrix).. It says to ignore them but I can't just ignore them …

Member Avatar for mike_2000_17
0
161
Member Avatar for laura301019

Hi have this piece of code to display images of cameras and a caption underneath which states what type of camera it is. However I cant get the caption to change, i posted this piece of code before and some responded stating i need to '==' not just one. I …

Member Avatar for AleMonteiro
0
178
Member Avatar for aus_fas1

I am trying to dynamically append DIV tag after the last one. Also if the user clicks remove button then div in which the remove button is clicked should be eliminated. My caption (is in JS and want to covert it in JQquery) is also not working well. There are …

Member Avatar for AleMonteiro
0
271
Member Avatar for charles.haselden.3

I am trying to build a tic tac toe program for an assignment. My trouble is making a dynamic array, I am new to c and my understanding of pointers and malloc is still very limited. I would like a resource I could read or an explination of how malloc …

Member Avatar for deceptikon
0
270
Member Avatar for kristo5747

Hello, I have a script that "validates" a ZIP file that look like this > AAA_20120801.zip => > x~back end~20120801.TXT > y~time in~20120801.TXT > z~heat_chamber~20120801.TXT > AAA_20120801.ctl My task is to compare its contents (i.e the list of files contained inside) with the control file that is provided inside the …

Member Avatar for kristo5747
0
132
Member Avatar for kelvin_8188

how to find the radius using the center point only... the only given point is the center point... how to get or calculate for the radius...

Member Avatar for Reverend Jim
0
200
Member Avatar for idislikemacs

I'm done with my tic-tac-toe program, but now I want to ask a simple question to the winner of the match to make the victory absolute. Would I need a while loop? I also feel my code is too messy, how can I enhance/improve it? Thank you! #include <iostream> using …

Member Avatar for Ancient Dragon
0
315
Member Avatar for Johns3

So I have successfully implemented a search feature into my tiny program but when I click the button to sort, it works fine but the images don't display. In the columns called "A" and "B", images are supposed to show up but they don't. http://i46.tinypic.com/2mx3og8.jpg . import java.awt.Color; import java.awt.Component; …

Member Avatar for Johns3
0
239

The End.