199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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, … | |
<?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 … | |
Hi, I need good .NET and ASP.NET Interview questions. Plz help Thanks | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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&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 … | |
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? | |
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 … | |
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') | |
![]() | 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."');" ![]() |
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..... | |
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 … | |
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} <= … | |
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) … | |
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? … | |
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 … | |
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 … | |
![]() | 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 … |
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. … | |
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 … | |
#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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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... | |
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 … | |
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; … |
The End.