199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for naomimoogle

Hello I have an input: <Records> <Record> <Row A="UOBSGD2" B="50000"/> </Record> <Record> <Row A="UOBSGD1" B="75050"/> </Record> <Record> <Row A="DBSSGD2" B="55800"/> </Record> <Record> <Row A="DBSSGD1" B="14239"/> </Record> <Record> <Row A="OCBCSGD1" B="55510"/> </Record> <Record> <Row A="OCBCSGD2" B="31714"/> </Record> <Record> <Row A="UOBUSD1" B="36471.1"/> </Record> <Record> <Row A="UOBUSD2" B="41941.765"/> </Record> <Record> <Row A="UOBUSD3" B="48233.02975"/> …

Member Avatar for xml_looser
0
293
Member Avatar for fatalaccidents

Hello all, First of all I wasn't really sure where to post this so please let me know if I'm in the wrong forum for such a question. I understand the basics of git, but I'm still very new. I have used git locally and on github. I was wondering …

Member Avatar for Hiroshe
0
286
Member Avatar for anitg

I have a page where it allows my users to upload their videos through an html5 file upload form and a PHP script that saves file in a folder on server. All works fine. But when it is displayed using video tag, it simply does not play ! I do …

Member Avatar for veedeoo
0
986
Member Avatar for y2kshane
Member Avatar for bharatgs7

Guys, As my requirement I am storing the image link in database and through that link I need to access the image in the webpage. For this, I am storing images in my workspace. But the problem is, since my workspace is in C drive, I dont want to store …

Member Avatar for Hemanth Malli
0
138
Member Avatar for wfray

This code works perfectly in IE 7 and above. The PHP/HTML code has a button to delete/undelete some data. When the icon/button is clicked it enters the javascript function "setdelete". The following HTML code sets up the button for entry into the javascript function. <button id="$delete_icon" value="Delete" onclick="setdelete($key)"><img id="$m_d_img_name" src="images/x_undelete.ico"/></button> …

Member Avatar for wfray
0
320
Member Avatar for tin1296

Private Sub Command1_Click() Dim Searchvar As String Searchvar = InputBox("Enter the Name to find") Searchvar = Trim$(Searchvar) 'remove surplus spaces If Searchvar <> " " Then 'cancel if nothing entered With Adodc1.Recordset .Find "[Title of Books] = '" & Text1.Text & "'", , adSearchForward If (.EOF) Then 'record not found …

Member Avatar for Pranav b
0
200
Member Avatar for radwanullah

I am working to build a page similar to http://statistics.amis-outlook.org/data/index.html#COMPARE this how to generate charts based on user slection however i am able to generte charts from database.

Member Avatar for radwanullah
0
1K
Member Avatar for MeixiuLin

I have trid the testing script as follows: [code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </HEAD> <BODY><?php $headers = 'From:info@mydomain.com'. "\r\n" . 'Reply-To: [email]info@mydomain.com[/email]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $ret=mail('user@customer.com', 'subject', 'this is the content',$headers,'-finfo@mydomain.com'); echo "<BR/>mail() returned: " . ($ret? "TRUE" : "FALSE") . …

Member Avatar for fateenalkhred
0
3K
Member Avatar for Mr.UNOwen

Hello, So I was testing my matrix class and the results look questionable and the inverted matrix isn't returning the vertex to it's original value (a seperate issue). Given a perspective projection at 45 degrees with a near of 1 and a far of 1000, the camera at the orgin …

Member Avatar for Jean_4
0
358
Member Avatar for xuexue

Here's my **formview**.. <asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1" DataKeyNames="recid"> <EditItemTemplate> RECID: <asp:TextBox ID="recid" runat="server" Text='<%# Eval("RECID") %>' ReadOnly="true" /> <br /> SHIPPER: <asp:TextBox ID="shipper" runat="server" Text='<%# Bind("SHIPPER") %>' /> <br /> <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Update" /> &nbsp; <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </EditItemTemplate> </asp:FormView> here's my **sqldatasource1** …

Member Avatar for Daemon_CC
0
1K
Member Avatar for Jay_7

**Parse error: syntax error, unexpected T_VARIABLE in this line "$validate_user_information = sqlsrv_query "select * from `userinfo` where `badgenumber` = '"$user_ssn"'";" //Login Page Starts here elseif($_POST["page"] == "users_login") { $user_ssn = trim(strip_tags($_POST['badgenumber'])); $validate_user_information = sqlsrv_query "select * from `userinfo` where `badgenumber` = '"$user_ssn"'"; if(sqlsrv_num_rows($validate_user_information) == 1) { $get_user_information = sqlsrv_fetch_array($validate_user_information); $_SESSION["VALID_USER_ID"] …

Member Avatar for andrevanzuydam
0
269
Member Avatar for ashalatha

Actually iam having headers in two rows for some columns Example:Iam having start time it is divided into hours and minutes In first row it is having starttime below the start time iam having hours and minutes in the next row in different columns while bulkuploading this hours and minutes …

Member Avatar for ashalatha
0
414
Member Avatar for aarthi anand

Dim total As Integer For Each row As DataGridViewRow In DataGridView1.Rows total += row.Cells("Total").Value Next TextBox2.Text = total // the above was the code i used and it worked good,bt if i do it for another column it is showing an error (which is given below)// Private Sub Button1_Click(ByVal sender …

Member Avatar for pritaeas
0
2K
Member Avatar for Bharadwajcvrg

//create the sortable headers for (var i = 0; i < colsSorted.length; i++) { var column = colsSorted[i]; var props = _data.cols[column]; $(document).on('click', '.'+column+'ascen', function(){ col=$(this).parents("th").find("a").html(); if (priv.options.debug) console.log('col:{0} clicked'.f(col)); //set the new sorting column if ($(this).attr("class") == "ascen"){ _currSortFlip = true;}else{ _currSortFlip =false; } _currSortCol = col; if (typeof …

Member Avatar for Bharadwajcvrg
0
781
Member Avatar for manoj201jain

Hi, I want to display the department no. and the no. of employee in each department from EMP Table.(in a Single Row). Pls help me how to write the query for that. I had one query which display the result in 3 rows. select deptno, count(*) from emp group by …

Member Avatar for Niteshkmr049
0
259
Member Avatar for jonel.sumang

I have a c++ project that is due on friday. please help :( Codes should not be too advanced. Use loop or array. >Introduction: An interesting sequence of numbers can be generated using any given integer using the following procedure: 1. First, arrange the digits of the given number in …

Member Avatar for Learner010
0
293
Member Avatar for vishnu balan

Please excuse me if this is silly.. I do want a clear picture of how we can use a singleton class?? I do read many answers here. But I didn't got anything clear. I need a simple program explaining **singleton class**. Please give me the explanation of each and every …

Member Avatar for tapananand
0
452
Member Avatar for gandrap

I have two tables with column name price I want to order by price from both columns so if is in first table 100eur and in second is 200eur I want to order results like this: 200, 100 SELECT a.price, b.price FROM table1 AS a INNER JOIN table2 AS b …

Member Avatar for urtrivedi
0
261
Member Avatar for perly

Hi, I have a 3-column data (below) from excel file. How can I write a perl code to sort all rows according to the first numeric number of a numeric interval and the word "complement" if they appear before the numeric interval as shown in the expeceted output below? Data: …

Member Avatar for Hiroshe
0
248
Member Avatar for Sailor_Jerry

I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded. I also have the id of the element I want to scroll to. Most of …

Member Avatar for vinhsoft
0
237
Member Avatar for Pyler

Supposed I want to build a Queue using a LinkedList structure how would I go about doing this. I'm only allowed to use offer(), remove() or poll(), isEmpty() and size() methods, how do I implement a method to add items onto the queue?

Member Avatar for Pyler
0
106
Member Avatar for Pyler

I have a generic class that contains a compareTo() method I'm getting an error on the method it'self that goes something like; Name clash: the method compareTo(T) of type twos<T N> has the same erasure as compareTo(T) of type Compareable<T> but does not override it. How do I fix it? …

Member Avatar for Pyler
0
187
Member Avatar for Rasvinder_1

Hi, Could anyone please tell me how to apply conditions on columns whihc are not a part of 'group by' clause? For example, I wish to filter out those sections wherein the eldest member of a family is a male and has the value 'M' in its gender field.... select …

Member Avatar for hericles
0
126
Member Avatar for eantz

Hi.. Is it possible to redirect the page with javascript but keep the data alive and can be read or used by the destination page? I use PHP scripting..

Member Avatar for Taywin
0
243
Member Avatar for DanyLiz1902

I'm trying to make two android applications connected with TCP protocol. Client has an imageView and when you push the button, it is supposed to send that image to the server and after server reads it, it is suppose to display the image. but I haven't been able to display …

0
130
Member Avatar for Ida Amir

Which blogs or link that i should prefer to about OOP? Help me,please..

Member Avatar for Hiroshe
0
87
Member Avatar for vizz

I have `div` with `width:125px; height:125px`. How to create small bars before displaying it? When clicked on `<a href="#">Menu</a>` make transition, like small bars are forming the `div` smoething like http://workshop.rs/projects/jqfancytransitions/

Member Avatar for vizz
0
174
Member Avatar for sonakrish

[code=sql]insert into desg values(" & Val(txtsno.Text) & ",'" & Trim(txtdesg.Text) & "'," & Val(txtbasic.Text) & ");[/code] this how i used for inserting data to my access table in vb code. how to do in c#?

Member Avatar for sachin.ghute3
0
306
Member Avatar for SimonIoa

Hello i am looking for a rating script and i have basic knowledge of PHP and Sql. Can you show me one?

Member Avatar for veedeoo
0
185
Member Avatar for shubham.tanwar.39982

I am just a beginner and want to make a project for my 12th standard i want to know whether i could formatt font style in c++ if yes kindly send me the code snippet to <snip> thanks in advance ...

Member Avatar for jwenting
0
238
Member Avatar for Learner010

i want to insert text in textbox at specific location(i.e row 2 column 3).how can i do that ? i tried this but its not working `Me.RichTextBox1.Text = Me.RichTextBox1.Text.Insert(i, CChar(cb.Text))`

Member Avatar for Reverend Jim
0
428
Member Avatar for Danuuu

hi i need to show employee attendance based on device logins with employess various information like department,designation,device_person_id,person_id,logid etc..... joining 3 tables i.e dbo.tempdevicelogs,dbo.employee_settings,dbo.persons_profile i tried this one Select Device_Person_id,personal_id,Date1,( cASE WHEN eXISTS( SELECT Device_Person_id FROM tempDeviceLogs AT WHERE T.personal_id=AT.Device_Person_id AND T.date1=AT.logDateTime ) then 'P' Else 'A' End )as Status FROM …

Member Avatar for ChrisHunter
0
209
Member Avatar for eileenc87
Member Avatar for AndrewDBrown

I am attempting to add a Convert funtion to my XAML/C# application. However, the "value" object in the code below is presenting the data back as "2014-12-14", which is generating a runtime error, "Specified cast is not valid". Can anyone help me with the converstion string? I tried ParseExact, but …

Member Avatar for ChrisHunter
0
368
Member Avatar for moaz.amin.37

the virtual Methods concept is very difficult concept. In c++ when we want to implement polymorphism then we use virtual function. But in the case of java i read that all methods in java are virtual by default except final methods that can not be overridden. I am confuse about …

Member Avatar for jwenting
0
302
Member Avatar for softwareconsl

<?php $string = <<<XML <a> <b> <c>text</c> <c>stuff</c> </b> <d> <c>code</c> </d> </a> XML; $xml = new SimpleXMLElement($string); echo $xml->asXML(); $result = $xml->xpath('/a/b/c'); while(list( ,$node) = each($result)) { echo $node->asXML($result); } need this output: <c>text</c> <c>stuff</c> <>code</c>

Member Avatar for briele
0
239
Member Avatar for jakizak

Ok here is the required feature: To send data gathered from a database inside a UserControl to the main form which houses the UserControl. Hierarchy at present: Mainform --FlowLayoutPanel ----UserControl The UserControls are generated on the fly by a client list in a database. This all works fine. When you …

Member Avatar for jakizak
0
1K
Member Avatar for nadiam

Hello. I have a navigation menu: <ul id="nav"> <li><a href="home.php">Home</a></li> <li><a href="event.php">Events</a></li> <li><a href="#">Guest</a> <ul> <li><a href="add_guest.php">Add Guest</a></li> <li><a href="seating.php">Seating</a></li> </ul> </li> <li><a href="rsvp.php">RSVP</a></li> <li><a href="contact_data.php">Contacts</a></li> </ul> how do i check which link is active? there are tons of this kinda questions and answers but i can't seem to make …

Member Avatar for nadiam
0
356
Member Avatar for nill
Member Avatar for nadiam

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, …

Member Avatar for nadiam
0
523
Member Avatar for abaddon2031

I have a small program that searches through two folders and gets the size of the files in them. As of right now for every file that is over the specified size limit sends a email. What i am wanting to do it have it compile a lsit of the …

Member Avatar for TrustyTony
0
281
Member Avatar for srivardhanms

Hi, I want to write a sniffer program which sniffs the packet from a Unix socket. Is it possible? I have written a small server and client programs using unix socket (sockaddr_un). Now I want to write a sniffer program which sniffs the packet from the socket. Am not able …

Member Avatar for srivardhanms
0
1K
Member Avatar for SpottyBlue

Hey, I'm new to assembly 8086 progamming and don't know much of the code. How do you change the input string to all caps and show the number of characters without counting the spaces? > Enter a string: Doraemon rules!!! > Output: DORAEMON RULES!!! > Number of characters: 16

Member Avatar for SpottyBlue
0
304
Member Avatar for nadiam

hey guys so im trying to check if a checkbox is checked. and if one checkbox is checked a button is enabled if more than 1 it is still disabled; button is disabled by default. <script type="text/javascript"> var editbtn = $("#edit_contact"); editbtn.attr("disabled","disabled"); $('.contacts input:checkbox').live("click", function() { if(this.checked.length === 1) { …

Member Avatar for nadiam
0
255
Member Avatar for bolfescu

hy i have question i have this code and i whant to print it one by one not all the page the script is <?php $qry=mysql_query("SELECT * FROM articles order by articles.id DESC ", $con); if(!$qry) { die("Query Failed: ". mysql_error()); } /* Fetching data from the field "title" */ …

Member Avatar for hericles
0
313
Member Avatar for obuobi

Hello, am on a project and I want the user to search for a word in datagridview. Am using vb.net 8 with access 2010 I want where the text is to be highlighted

Member Avatar for obuobi
0
253
Member Avatar for riahc3

Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks

Member Avatar for shophiarajan47
0
195
Member Avatar for Radhijavadev

import java.io.*; import javax.servlet.*; import javax.servlet.httpservlet.*; public class FirstServlet extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException,IOException{ res.setContentType("text/html"); PrintWriter out=res.getWriter(); res.sendRedirect("/FirstServlet/index.html"); } }//end of get public void doPost(HttpServletRequest req, HttpServletResponse res)throws ServletException,IOException{ res.setContentType("text/html"); PrintWriter out=res.getWriter(); String name= req.getParameter("name"); if(name.equals("")){ res.sendRedirect("/FirstServlet/ContacUs.html"); }else{ requestDispatcher rd= req.getRequestDispatcher("/second"); rd.forward(req,res); } }//end of post …

Member Avatar for stultuske
0
289
Member Avatar for kimmgillie

Please help, this is my first java class. I need help with how to do this assignment: Grade Calcualtion Program: write a program to calculate and display the course letter for a cpt236 student. Name your program GradeCalculation. Prompt for and input the project average,the homework average,3 test scores, the …

Member Avatar for Hiroshe
0
198

The End.