199,114 Archived Topics
Remove Filter ![]() | |
I have a delete button by createing <asp:ImageButton>. first row user cant delete the item so I dont want a delete button on first row? how can i do this? <asp:DataList ID="DataList1" runat="server" DataKeyField="ID" OnDeleteCommand="DeleteCommand" RepeatColumns="2" RepeatLayout="Table" RepeatDirection="Horizontal"> <ItemTemplate> <asp:ImageButton runat="server" ID="deleteIB" CommandName="Delete" ImageUrl="x-icon.png" /> <%# DataBinder.Eval(Container.DataItem, "PRINT") %> </ItemTemplate> … | |
is it possible to run php page from lua programing code? Programming php | |
Can someone assist me on how to do a mouse over on a hyperlink that shows what the user selected on the page they just left or saved. For example, the user clicks a link that says 'Add' and it opens a popup window where they select a list of … | |
This might sound like it's very simple but I tried many things and it doesn't work. When the user clicks the back button on a window it's supposed to also dispose another window. I've tried using static. if(Tester.backJButton.isEnabled()) { this.dispose(); } Tester is the name of the class holding the … Programming java | |
Hello everyone, I have 2 Tomcat app servers (Tomcat1, Tomcat2) on 2 different hosts. Tomcat1 is my main J2EE web application that has a commercial certificate, and the application works correctly. Tomcat2 is a dependent component that has a self signed certificate. both tomcats are behind a load balancer. When … | |
hi all, how to parse an xml attributes using python. I want to read or extract msg values from xml using python. <msg timestamp="20160817 12:46:42.520" level="INFO">Average : 0.14 % CPU (%) 10 Aug 07:00 2 12 Aug 07:00 maximum 5.17 average 0.13</msg> | |
My Error info isnt being clear enough for me to understand the problemIs there anything worng here so i can continue on lookng for the probelm: $sql = "INSERT INTO boards ( title, genre, creator, tagline, intro, remessage, visability, recruitment, reqsheet, reqdice, reqgroup, ppweek) VALUES ( $title, $genre, $creator, ". … ![]() | |
Hello I have created two classes one for the user and the other for address every thing is ok and the tables of the two classes created in my database but when i try to initiate a new object from user class i get the below error "sqlalchemy.exc.InvalidRequestError: Mapper 'Mapper|user|user' … | |
Is there any way possible to display a slideshow of pictures on a vb 6 form? What steps are required? Thankyou | |
Hye I'm new to c++ language. Can anyone suggest me what is the best programming software should I learn ? And how I'm gonna learn coding ? | |
Hi, im trying to add a slapsh screen before my game. It will display a png and the use can either press "e" to continue or "q" to quit. when i run this in my game is says that pygame.display.update() is the problem. Please help thanks. def game_intro(): intro = … Programming python | |
Hi guys, I'm new to Python have get done a lot by searching. Now I try to bind a scroll wheel to canvas, but it doesn't do anything. Will someone look at the code what I do wrong? I tried to keep my snippet clean. Hope It's enough. class Viewer(tk.Toplevel): … | |
write a programme in visual basic to create anarray of size 5 to store any 5 names and display them | |
A short example of Pygame showing an image with a known internet url. | |
hello i want to upload an audio file. i specified the location but the file doesnt go there. it stores the path in the row in the table on database but it doesnt store the file on the folder. i define the upload path on my config file define("UPLOAD_PATH_AUDIO", "uploads_audio/"); … ![]() | |
Sir I have these codes in <head> section <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> #small_box_r { float:left; width:31.1%; border:1px solid #ccc; border-radius:6px; padding:0px 0px 0px 0px; margin:15px 5px 15px 5px; height:300px; color:#39F; font-weight:bold; text-align:center; overflow:auto; background-size:cover; } @media (min-width: 400px) and (max-width: 800px){ #small_box_r { min-width: 100%; max-width: 100%; } … | |
Hi Guys. First of all is it possible to detect a file copying/moving within the system, I'm sure this is done in lower languages like C++ but I've tried searching but I don't seem to find not even en example, maybe it because I don't know how it correctly called. … | |
Whenever I go to transfer a file from my server to my client, I get a new file, but the data does not go through. It prints server side once it is open, but it won't transfer the data to my new file. Here is the code:https://gist.github.com/anonymous/8f70b3e2eca8606dee2c245ce64e9b63 All I want … | |
I have a program that runs a bank management.It saves the created accounts in account.dat. For example these are the contents of the data file: 1001 felisilda s 5000 0002 smith s 3000 1212 johnson c 3200 I want the output to be sorted increasingly based on the bank account … | |
Here is my text file : > 1 SPRITZER 999 2.500000 > 2 PENCILBOX 999 20.000000 > 3 IPHONE 90 20.000000 > 10 GUNNAROPTIK 1919 200.000000 The program let the user enter productID. Listed as 1,2,3,4. And delete the whole line. I'm currently testing it in main function only. And … | |
Hello, I have two tables in mysql using php> 1) Consumers 2) Monthly Billing In Consumers that table contains about 100s of Consumers , and it increase monthly. 2) Monthly Billing for Billing. What i want to do ? Is there are any way that i can generate monthly billing … ![]() | |
Where do I start creating a face recognition program? I am a beginner in the programing world who only knows little about c++. What do need to consider or what I have in place. I am running of windows pc and using devc++ and Mingw compilers. | |
Hi Guys. I'm trying to suspend a process by it name, but I found the sample that demontrate this using ProcessId. The problem is that I don't know the process ID of the process I want to suspend/resume. [Here is a sample I used.](https://social.msdn.microsoft.com/Forums/en-US/cdde6cef-3971-40a6-b4dd-02db963868ce/suspend-an-application?forum=vbgeneral) | |
Hi Dw. If there is anyone who knows how and which languagies are used to develop software's like word processing, Excel, Access, basically things like Office suite. I know Linux has their own different tools for office, as well as Microsoft as well and other OS have different Suites for … | |
inheritance error is::Error 1 Inconsistent accessibility: base class 'person' is less accessible than class 'employee' using System; using System.Collections.Generic; using System.Linq; using System.Text; //person class public class person { public string name; public double CNIC_no; public void Information() { Console.WriteLine("Enter your name"); name = Console.ReadLine(); Console.WriteLine("Enter your id"); CNIC_no =double.Parse( … | |
hi, so ive been trying to add a splash screen to the start of my game. the user presses "e" to continue and "q" to quit. it's not working, could anyone help. import os import pygame import random pygame.init() #Colours im using in the game white = (255,255,255) black = … | |
Hi there, I was given a little exercise to complete for a graduate position. I have only done a HDip in Computer Science, so that's only about 8 months of Java stuck in with a whole other pile of stuf.. long story short.. I've only get the basics of coding, … Programming java | |
Dear Developers, This is the part of my blog.While adding new post to my blog the category option not updating to database add_post.php <h2>Add Post</h2> <?php //if form has been submitted process it if(isset($_POST['submit'])){ $_POST = array_map( 'stripslashes', $_POST ); //collect form data extract($_POST); //very basic validation if($postTitle ==''){ $error[] … | |
It's been a few years since I last dabbled in C++ and then it was only learning the console stuff but by no means was I a master of it. I'm comfortable with VBA, MS Access and SQL. I'm wanting to delve into the GUI world of C++ with a … | |
Hi. I have tried to save the Json data retrieved below in vain. When I connect the database and try to insert the post data, the script no longer retrieves or decodes the data. When I leave it, the API tells me the data was reconciled or decoded. How can … | |
I've tinkered with php in the past but I'v also enjoyed playing around with python. I have been wanting to give python a try as a possible alternative to php but I haven't had much luck. All of the videos I find on the subject are about setting up Django … | |
Hi all, hope you are well. I'm trying to make my code as efficient as possible, and currently regarding logic I have a question. Is there a way, in the following single "if" query, to determine which of the conditions are true? if (mystring.Contains("left") || mystring.Contains("right")) { //which is it … | |
THis is the reply i that get after entering the web address www.theagenda.com.ng. Index of / cgi-bin/ Please what could be the problem? And am still in my designing stage in wordpress.... | |
I have a chart for my fundraising goal, but I'd like to make it more minimal by removing the percentage number and placing the 4 items immediately below the table into the table itself. I'd still like for the % to be able to be manually set (perhaps a data … | |
Imports System.IO Public Class AddEMForm Private Sub CreateCSVfile(ByVal_strCustomerCSVPath As String, ByVal EName As String, ByVal Edate As Date, ByVal ELoc As String, ByVal EDis As String, ByVal EFee As String) Try Dim stLine As String = "" Dim objWriter As StreamWriter = File.AppendText("..\..\EventData.txt") If File.Exists("..\..\EventData.txt") Then objWriter.Write(EName & ",") objWriter.Write(Edate … | |
Hi. I invoke method from other thread which did not create ui. Appears to work well... DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); But I need return value from Add method, so I do... int Index = (int)DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); Unfortunately I get an error... "Object reference not set to an instance of an … | |
I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't seem to get it to see when the ? is missing Any suggestions or direction would be greatly appreciated. if(!preg_match("/[\s]*(?)/i", … | |
hello, I've been trying to interface 4x4 hex keypad with pic16f877a using MPLAB X and XC8 compiler. My task is to get 4 individual key presses from matrix keypad and convert it into a 4 digit integer and display the 4 digit integer on multiplexed common cathode seven segment display … Programming c | |
Please see the attached image. I want to recreate the same layout using bootstrap. How can this be possiable? I can easily create the layout using bootstrap but i have no idea how to create the lines connected to the section. any ideas?  ![]() | |
Hello i am not familiar with returning HTML in Javascript code. I have this code. I want to return an audio player but nothing returns. var uploadImageHTMLTitle='<audio controls preload="metadata" id="'+data.msg_id+'">'; var uploadImageHTMLFooter='</audio>'; var uploadImageHTML=''; var C=''; if(data.uploadPaths.length) { if(data.uploadPaths.length > 1) { uploadImageHTML+=uploadImageHTMLTitle; for(var i=0; i<data.uploadPaths.length; i++) { C='<source src="'+data.uploadPaths[i]+'" … | |
below is sample <span completed></span> I need below <span pending></span> any body help me ![]() | |
getting conversion error I am creating a website using a VB Error: if I print getID1 Conversion from string to type 'Integer' is not valid. Error: if I print getID2 NullReferenceException was unhandled by user code. Object reference not set to an instance of an object. ** # .aspx file … | |
Code: do{ cout<<"No. of random numbers (-10-10): "<<endl; cin>>howmany; if(howmany<1 || howmany >50) cout<<"INVALID INPUT"<<endl; }while (howmany<1 || howmany>50); cout<<endl<<endl <<"The "<<howmany<<" random numbers from 1-50 are :"<<endl; srand(time(0)); for (ctr=0,negativectr=0,positivectr=0; ctr<howmany; ctr++) { randnum[ctr]= rand() % 50-1; cout<<randnum[ctr]<<"\t"; if (randnum[ctr] % 2 ==0) { positive[positivectr]=randnum [ctr]; positivectr++; } else … | |
I have Post code column and I want to get 60, 30 and 10% for each area code that I have, but the thing is there is a between statement which makes things a bit complicated. I need 60% from the first postcode then 30% from the second and 10% … | |
every 5 minutes i need to execute a php page..is it possible through php code ? Programming php | |
Hi,my name is yawar i am a student learning c#.I have combobox,when i select an item in combobox there comes data which i want to display on labels,but my problem is there comes many data,i want to display only 3 labels when only 3 data rows comes from database and … | |
![]() | Hello everyone, I want to use Dazah app for single sign-in at my forum, http://forums.tssfl.com, just as it works with the Daniweb. I'm currently doing installation, which I hope it should work, but I thought there will be some coding to get the integration working. I do have little knowledge … ![]() |
Hiii I want to use select in select clause this is my statement which got an error: [code=sql]Select count(*) as cnt, (select count (answer_q1) from answers where (answer_q1 = 'ضعيف'))as a_q1 FROM Answers[/code] and this is the error: Error in SELECT clause: expression near 'SELECT'. Error in SELECT clause: expression … | |
Hi, I added the "dayOverview" dropdown list that needs to assign to the database, but when I test it, it is uneditable. How? Please check lines 51 and 164 - 176. Download the attendance form zip file: https://drive.google.com/file/d/0B07_pOHhTox3bS1mVXpiTUN3RVk/view?usp=sharing Inside there is the database table called attendance.sql. You need xampp and … | |
Can someone give me some programming ideas to keep my knowledge up-to-date? I received a masters degree in computer science back in December and been job searching since then. I want to tell an employer something. |
The End.