199,114 Archived Topics
Remove Filter ![]() | |
Hi, Inside my formView, in the InsertItemTemplate, I have the following code: [CODE]<tr> <td align="right"> <b>Field</b> </td> <td> <asp:TextBox ID="MyTextBox" Text='<%# Bind("Field") %>' runat="Server" /> <asp:Button ID="myButton" Text="Find Matching Results" runat="server" OnClick=" myButton_Click" /> </td> </tr>[/CODE] In myButton_Click, all I do is bind a CheckBoxList with the results from the … | |
Is it possible to make a list with variables in it? I'm making a quick simple harmonic oscillator program from an old Fortran prog to learn Python and I'd like to use a list to control output to a text file. So far I have a list: [ICODE]writeLoop = [t, … | |
Of course i am a newbie in c# and not much experienced about programming, so this must be an easy thing but i just cannot find the solution. I've been working on a project in Visual.NET C# Express. I've built the main view first, then added database connections, then started … | |
i am doing a computer project.One part is to propose different functions of a sportsday system, one is to arrange lane for different event. but i don't know how to do it. please help! | |
Hi, I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17" There is no blank space anywhere. What do i do? … | |
Is there a way to create a new file with JavaScript. I have a script on a local drive and I need to create a file (XML) that i can then read off. Is this possible? | |
Hi all I'm needing help with a question in my tutorial due tomorrow... I'm given this file which contains the following: toy201, Racing Car, AB239:2,DC202:2,FR277:2,JK201:1,YU201:1,EE201:1,FW201:1 toy101, Barbie Doll, AB139:2,DC102:2,FR177:2,JK101:1,YU101:1,EE101:1,FW101:1 toy301, Flying Kite, AB339:2,DC302:2,FR377:2,JK301:1,YU301:1,EE301:1,FW301:1 I am now to define a function that gives the following from the above file: >>>load_prods(filename) {'toy301': … | |
Hi, please I need a query that performs the following: I have a table like this: set_id | rec_id 10 | 1 10 | 25 10 | 32 20 | 61 20 | 90 30 | 77 Now I have suppose rec_id = 61 and rec_id = 90 I need … | |
hi based on this code: [code=python]def load_products(filename): def get_components(parts): """parts is a list of parts and their associated amounts, each separated into groups, split by (',')""" """need to take out each id, take out each integer, an associate them, by putting them in a pair -> return in big list""" … | |
Ok, so I am working on a function that remove a element from the array if the name entered by a user is = to a element in the array It clears of the memory of said element but i need to re order the array I searched on here … | |
I took the summer off from c++ and before that I had only taken one semester, so I am pretty rusty. I have this function that is supposed to add contacts into a structure of xbox gamer friends. At the end of the function It goes into an eternal loop. … | |
Instructions Zululand has a congress with in theory 97 seats. These are apportioned among the three states Alpha, Bravo and Charlie in proportion to their population. To be precise, each state receives its share rounded down to the nearest whole number, even if this means the total is less than … | |
I am making a bot for an FPS game called Combat Arms, its full screen. The problem here is my code works, but when I open up the full screen combat arms window, it does noting at all... It is a simple AFK Bot, with simple key presses, and mouse … | |
Hello Everyone, Can you please give me some thoughts on how to create a folder in http(Ex: [url]http://localhost:8080/site/myfoldertocreate[/url]) instead in a local drive (Ex. C:\MYFOLDER) Here is the current code that I am using. [CODE]public static void createFolder(String Folder){ try{ File f = new File(Folder); if(f.mkdir()) SimpleLog.write(Folder + " Directory … | |
Hello all, I have a trouble finding Magic Numbers. I'd greatly appreciate any help in writing a function in C/C++ that will find all magic numbers (with 1000 iterations or less). "Magic numbers" are 6 digit numbers that have the property that they are equal to the square of the … | |
Hi: I was wondering if anybody knew anything about creating your own programming language. Thanx | |
For each individual row of an array, I would like it to sort by a function that I perform on each value. For example: Array { 1 => "great", 2 => "bad", 3 => "awesome", } and I have a function that would make great a 2, bad a 1, … | |
Hi, I have the following code which aims to change the color of a parent div when the user unselects the radio button. However it doesn't work. [CODE=javascript]<div class="jquerycorner"><input type="radio" name="hat" value="4" onblur="if(!this.checked) { this.parentNode.style.backgroundColor='#000000';}">10</div>[/CODE] However the following code works when I try to detect radio button selection. [CODE=javascript]<div class="jquerycorner"><input … | |
I need to be able to find specific characters entered into a text box. I need to find out what the 2 characters before and after [space]A[space] are. For example if "RED ROSES AND A YELLOW ONE" was entered in the text box I need a way of finding the … | |
Hello, I want to search for a given char sequence in a string. For example: I have these strings: "xpto1", "asdxpto123" If the input is "xpto", the method I called "search" should have at its ouput a list with the strings that matched the input "xpto". In this case, both … | |
Im having trouble centering the content of this PHP code (please find code down the bottom fo this post) on my joomla site. I added [code]#google_map{margin-left:140px;}[/code] to the CSS in the hopes of centering it all but it only centered the map itself. Since then I have added the "google1" … | |
I have pages written in html that use javascript and css, what I would like to do is use php to change how the url comes out. So I would like the url to look like mywebsite.com/index.php?xx1122 or something like that without disclosing the location of the html files or … | |
I'm trying to upgrade my server from Mac 10.4.11 Server, running Apache 1.3; PHP 4.4.9; and mysql 5.0.45 (all pages work fine) to Mac 10.6 server with the latest (default) Apache, php, and mysql. Any page with a mysql connection is blank I can connect to mysql through mysql admin. … | |
For a given integer n>1, the smallest integer d>1 that divides n is a prime factor. We can find the prime factorization of n if we find d and then replace n by the quotient of n divided by d, repeating this until n becomes 1. Write a program that … | |
In C++ code, how would I customize an extension. I'm using C++ and my program outputs files, if/when I make an installer for it, I'd like to know how to make a program that can assoicate a file extension ex. ".iazj" with a name, icon, and program to open. | |
Hi all, Ive created a pretty simple user system its all working well users can sign up and so on. Though i wanted to add extra security to this system so when the user wants to modify their password it asks for their old password otherwise they cant sign up … | |
I have worked on Java but new to PHP. I want to know the scope of PHP. Where PHP works ? like JAVA ban be used to create desktop applications and on J2EE platform for developing WEB APPLICTIONS and JAVA has many API to work with. Q1. Can PHP be … | |
I'll start by publishing my code: [CODE]// query article $query1 = "SELECT page_title,author_id FROM articles WHERE category = 'fiction'"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: \"" . mysql_error () . '"'); $fiction_articles = mysql_fetch_assoc($mysql_result1); // query author $auth_result = &$fiction_articles['author_id']; $query2 = "SELECT author … | |
What I want to do is get a users current login username, and pass it to an SQL query which will search a table and return all entries belonging to that person. Ive managed to pass the username onto a label when that person logs in. [code] Protected Sub Page_Load(ByVal … | |
may someone give me a sample code of loop within a loop, and other that I may use for decision in my program. | |
I'm trying to parse xml, but am missing something. In the following, I can get the key, but not the value [code]from xml.dom import minidom xmlstring = '''<search ver="3.0"> <loc id="USAR0433" type="1">Paris, AR</loc> <loc id="USID0192" type="1">Paris, ID</loc> </search>''' dom = minidom.parseString(xmlstring) r = dom.getElementsByTagName('search')[0] res = [] for x in … | |
.Net setup project outputs .msi file by default. i have some configuration files that i want to output along with .msi files. is that possible to add something to output of a setup project? Thanks | |
All files or project outputs that are added to setup projects are wrapped into the final .msi file. what if i dont want it to wrap some certain files and want it to output them as they are? Is that possible? Thanks | |
Hi I know this topic isnt directly related to PHP however I understand many users in this forum may understand something further about this question. I have a webcam in a nightclub and I want to stream this live onto a webpage. This is probably very easy however i'd like … | |
Hello, I need to make an script that displays word "admin" or "regular member" etc below an username.e.g.If a member is admin it displays "admin" below his username every time he posts. like here in [URL="http://daniweb.com"]daniweb.com[/URL] whenever i post a thread it displays "Newbie poster" below my username. I don't … | |
I'm using mysql as database . I use odbc connector to use the database , it's working fine with select statements ,but when I use insert statement with parameter it is not working. may I know if the command parameter property works with mysql or it only works with mssql. | |
Hi there, I have been working for the past 3 months at Moxconsole.net and Clarkie's-Cave forums creating/editing save game files for people using a program called CWCheats for the PSP. I have edited just over 100 files each taking a min of 5 minutes. Thats around 20 hours min of … | |
The project involves the game scramble, where we have a 4x4 matrix of characters. The purpose of the program is to search through the matrix and find words in the matrix. I have a dictionary .txt file and can search that for a word correctly and can also print the … | |
Helo frndz, I'm novice in shell scripting...I need ur frnd help to write a shell script for taking backups. This script should use cp command to take backups. Script can read the list of directories and destination directory from a file or ask user for this info interactively... Example: Only … | |
I am trying to figure out how to set up a form in Access to automatically fill in 2 fields (Region # and Store Name) based on the Store number which is entered in another field. So whenever a user types in a store number, the store name and region … | |
I am a new C++ user with emacs. Our Prof. wanted us to create a prog. which basically write the positive which is entering ascending order. I can do the ascending order program but he wanted us to make user prompt to enter the number in ascending order. The user … | |
This is causing headache, the event [B]OnGetStatusEvent[/B] is never fired... I know it has to do with the fact it's encapsulated [B]inside class[/B]. The Event is a method of a com object, I did not implement it myself... The following code always work[I] if inside a windows or console application[/I]. … | |
![]() | Hi, Can someone please tell me what the correct syntax for this is... I've tried everything. [CODE] parent.TopFrame.document.FormName.inputAreaName.value =(tableName.rows[1].cells[0].innerHTML).trim(); [/CODE] It works without the trim() function, as soon as I put it in, it throws an error and stops working. Thanks, -Ash |
Hello all, This will hopefully be a quick and easy answer. I am having some difficulties with multiple lists that have certain characteristics, so what do I have: 4 lists, all the same length that signify: [row] [coumn] [VAR1] [VAR2] So basically I have 2 variables at each location (row,col) … | |
I have been googling for quite a while but I just can't seem to find a precise answer to my question. I'm able to create the setup project and the installation works fine. Included in my application is a .MDB file. What I would like to do, during the installation, … | |
Hi, I think i am missing something obvious. The popup should bring up a page passing an id. Currently nothing happens but i can see the id is being passed into the varaiable when hovering over Link, how can this be chnaged. Below is part of the code [code=php]while($row = … | |
Sorry for the messy tittle.i dont know what suit with my prob. i have posted a thread last time about string array and compare them with some data.seems like no solution for that,i want to try this way.i want to use double array. same case, i have a file with … | |
![]() | Don't know if this is the best place to ask (possibly networking - no prob if you move me). Here goes: 1. A website has its admin area and email hosted externally. The domain name belongs there. Called the 'website' from here on in. 2. A front-end (Joomla) has been … ![]() |
Hi, There is an error on [inlinecode]DataGrid1.DataSource = Adodc1.RecordSource[/inlinecode] method or data member not found. When i do below setting manuel in properties, there is no problem. Thanks [code] Adodc1.ConnectionString = "Provider=MSDAORA.1;Password=psw;User ID=iuu;Data Source=video;Persist Security Info=True" Adodc1.RecordSource = "Select * From movie" DataGrid1.DataSource = Adodc1.RecordSource [/code] | |
I use the visual Borland Turbo C++ 2006. if the project is a CPP package this is the error --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/NewNewBitmapFile.jpg[/url] if the project is a unit.cpp this is what I see. --->[url]http://i156.photobucket.com/albums/t18/Mankind-195/2.jpg[/url] I can compile for errors and warnings. But when I get 0 errors 0 warnings, I can't run … |
The End.