199,114 Archived Topics
Remove Filter ![]() | |
Hi All I am upgrading a SQL 7 database to SQL2008 R2 and just cannot undestand why 2008 has a problem with the code for this view (my experience with SQL 2008R2 is limited): SELECT dbo.tbl_orgbusinessunits.BusAreaCode, dbo.tbl_orgbusinessunits.Region, dbo.tbl_orgbusinessunits.CompanyCode, dbo.tbl_orgbusinessunits.BusAreaCode & ' ' & dbo.tbl_orgbusinessunits.BusinessAreaName AS Branch, dbo.tbl_orgcompanies.CompanyCode & ' ' … | |
Hi everyone I'm new here and posting because I have a problem with a PHP script I'm trying to write. I'm testing it as it goes along, but having a problem. I want to select certain people from my database, and send each of them an e-mail. To test, I … | |
Hello there, I recently faced problem with my website www.zomedia.in. I am using sql server 2005 and asp.net 4.0 with c#. My database tables are automatically filled with some unknown html css junk codes such as (</title><style>.apyk{position:absolute;clip:rect(438px,auto,auto,438px);}</style><div c) (check http://zomedia.in/ZomediaSongs/ZomediaMp3.aspx and you can see the gridview with junk data in … | |
Group, I've got several textboxes within a form that are set to link to a data column that are set to accept a "null" (blank) value. However, these columns are formated to receive numeric data. When the user bypasses entering anything within those textboxes (as they should do), what is … | |
[CODE] $query1 = "SELECT tblpatient_pass.RelationMR_no, tblpatient_pass.username, tblpatient_pass.password, tblpatient_pass.email_address, tblpatient_info.lastname, tblpatient_info.firstname, tblpatient_info.mname FROM tblpatient_pass INNER JOIN tblpatient_info ON tblpatient_pass.RelationMR_no=tblpatient_info.MR_no "; $numrows = mysql_num_rows($query1); if ($numrows!=0) { while ($row = mysql_fetch_array($query1)) { $username = $_SESSION['username']; $query = mysql_query("SELECT * FROM tblpatient_pass WHERE username =".$username); $result = mysql_query($query) or die(mysql_error()); while ($patient = … | |
I used following code to connect oracle database from C#. But i get this error "**invalid login credentials**" using (Oracle.DataAccess.Client.OracleConnection cn = new Oracle.DataAccess.Client.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;") { cn.Open(); } While if i try following code to connect database from C# I succeed. using (System.Data.OracleClient.OracleConnection cn = new System.Data.OracleClient.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;")); … | |
Hi guys, As you know the Internet divided into private network and public network, the public IP which include to public network is accessible and private IP which include to private network is inaccessible due to Internet network. So, I decided to use one of public servers have windows servers … | |
The goal of my assignment is to create a program that takes a string of words and encodes or decodes the string using a simple substitution cypher. I've gotten a decent amount done but I am stuck at the part where I actually have to encrypt and decrypt using the … | |
public class Jacobi{ // jacobi(a,n) public static void main(String[] args) { int n = 234567,a = 97770; if(n<=0 || (n %2) == 0) return (0); int temp, j=1; if(a<0) { a = -a; if((n % 4) == 3) j = -j; } do while (a!=0) { do while(( a % … | |
I am tryn a currency converter using hash table. What is the technique to use to enble covert both ways. Ex: Dollers to Euro and Euro to Dollers . I can understand how to do it one way using currency as the hashKey and rate as Hashvalue. (I hope that … | |
Hey guys i'm trying to figure out how to open a new message window from outlook when i click a button on my form any help greatly aprreciated thanks. | |
The scenario is, If the user has logged in for the first using his one time password it should get redirected to ResetPassword.aspx If the user is not new, then should get redirected to Main.aspx page. Should I use IsPostBack or Membership.ValidateUser? How do we usually code in c# to … | |
Hello, Could you please assist me i want to deploy this application as an executable file with the MYSQL database embedded. I have clean and build the application, the jar file is there but nothing happens. The database is stored on local host. Thank you | |
i recent been using my variables names like this boolean is_dead = false; turn out its not right. right conventions is boolean isDead = false; for some reason i dont like the 2nd one. may be bc i been using 1st one for so long. i was wondering is there … | |
hye guyz, Can any one tell me that what the data structure is used behind FACEBOOK ??? I have googled but not found any useful answer... plzz tell me quickly.. | |
Hi everybody, What is the problem in this code.the layout record print not seperately.display cascade style. anybody help me. <?php foreach ($planbooks as $planbook): ?> <div id="planbook-content" class="float" onclick="window.location.href='<?php echo url_for("@planbook_planmate") ?>' "> <?php for($i=0;$i<=planbook; $i++): ?> <?php $planbook =$i?> <?php $count++ ?> <div planbook="<?php echo $i ?>" class="float"?><?php echo … | |
I have a trigger on insert CREATE TRIGGER [dbo].[InsertNewCustomersAsGroupMembers] ON [CustomerBase].[dbo].[Cutomers] AFTER INSERT AS BEGIN SET NOCOUNT ON; -- Insert statements for trigger here DECLARE @inserterdCustomerID uniqueidentifier UPDATE [CustomerBase].[dbo].[GroupMembers] ?---? END GO I want to get the values of the inserted record at [CustomerBase].[dbo].[customers] into the trigger inorder to update … | |
i was try to solve it , but im begnner in vb.net this is my code Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New ListViewItem(t1.Text) x.SubItems.Add(t2.Text) x.SubItems.Add(t3.Text) x.SubItems.Add(CInt(t2.Text) + CInt(t3.Text)) l1.Items.Add(x) t1.Text = "" t2.Text = "" t3.Text = … | |
<% @ language="VBScript" %> <% Option Explicit %> <html> <body> <% Dim I,j For I = 1 to 4 For j = 1 to i Response.write i Next Response.write "<br>" Next </body> </html> Output: 1 22 333 4444 Please explain me how this output is formed. One bellow the other … | |
hi... i have 1 jsp form. my form includes 6 text boxes and 8 dropdowns. I want to insert the data of these textboxe and dropdown to Database. I am using mysql server 5.1.The problem is that when I insert, a blank screen appears. (Data in dropdown is retrieved from … | |
Hi, I have a base that accepts data in and I can display all the data in a table :) How do I make the database echo out to read only text box on a form one string at a time ? do i have to do some .php before … | |
my asp application want to read data from [URL="http://www.kse.net.pk"]www.kse.net.pk[/URL] how this is possible | |
i wrote a code to implement some basics of priority queue , but apparantly its not giving desired output. the code is implemented using binary heap as its data structure. i tried tinkering here and there , nut no luck... i want to display a given number of max or … | |
Hi to all, I'm making one application for video control in firm...what's the best way to make application which have to access to webcam? There should be option for watching videos from more cams in real time...I read something on google and I found that Swing framework has some options … | |
hi i try to create a new dynamic web project in eclipse indigo, tomcat 7 i am getting these types of errors: Errors occurred during the build. Errors running builder 'Faceted Project Validation Builder' on project 'mysql'. java.lang.ExceptionInInitializerError i have deleted the project and created new one and again i … ![]() | |
**registerBean.java** public void onEdit(RowEditEvent event) { Connection con = null; PreparedStatement stat = null; ResultSet rs = null; try { Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost:3306/db", "root", ""); stat = con.prepareStatement("update regtbl set fname=? where rno=?") ; stat.setString(1, fname); stat.setInt(2, rno); stat.executeUpdate(); con.close(); } catch (Exception e) { e.printStackTrace(); } } ** … ![]() | |
##TASK Step One The DNA molecule is a double-helix. You can think of this double helix as two parallel sequences of DNA with nucleotides or bases (A,C,G,Ts) on one strand matched with their associated nucleotide on the other strand according to the following rules: A matched with T C matched … | |
**Problem:** I am currently using Jquery Autocomplete UI and it works perfectly but I would like to add more to the codes, but I have no clue where to place the codes. **What I would like to add:** I would like to add the Keyword Hightlights, HREF LINK (window.location.href), and … ![]() | |
Hi i'm having a trouble with this i got 3 textbox and i format it to Textbox1.Text = Format(Textbox1.Text, "Standard") Textbox2.Text = Format(Textbox2.Text, "Standard") Textbox3.Text = Format(Textbox3.Text, "Standard") which give something like this 1,230.00 2,500.00 1,245.00 and when i add it `Textbox4.text = Val(Textbox1.Text) + Val(Textbox2.Text) + Val(Textbox3.Text)` the result … | |
les say i have a map: //my map is biiger but this is just a ex. int map[][] = {{1, 1, 1 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}}; int camera_pos_x = 0; int camera_pos_y = 0; int camera_speed = … | |
So I have been working on something that will check if a user is online or offline. I have the login page set up adn when you loggin, it will take you to the datase that shows all the users. I have a row called "UserOnline" and I want it … | |
I'm working on an assignment in which we aren't allowed to use arrays or functions. So i need to use loops to split words from a text file. I got most of the code working but i get an error at this part where the loop doesn't exit when i … | |
So the "substr" command is used for extracting certain characters, i have a problem in which if the character is a space, the previous value is used for filling the variable The code: #include "stdafx.h" #include<cmath> #include<string> #include<iostream> #include<sstream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string line="Introductory … | |
i'm writing a cashier like program and i need help with the setfill code. i wrote "cout << "Item Cost: " << setw(8) << cost << setw(10) << setfill('=') << endl;" and the result is "Change Due: ======5" I want the equal sign to be on the next line all … | |
Hi, My project requires me to read in multiple ascii files and process them. So I am going to go through the data and using conditional statements store the result in lists. After this, I need to store this data and plot some of it using matlab and display the … | |
Hi! I recently started teaching Java to myself yesterday via TheNewBoston on youtube. I began working on a few programs from the programmingbydoing website but I'm stuck on this problem:http://programmingbydoing.com/a/gender-game.html It's a problem focusing on nested if statements. Here's my code!: import java.util.Scanner ; public class MainClass { public static … | |
Group, I see there are multiple "validation" type events to choose from in the "Declarations" drop-down box. I want to understand these choices better to see if one would work for what I want to do. I've got several textboxes that need to have either a number entered into them … | |
Hey guys, I am having a problem where i want to print a image and a simple string. i would want that when i print i get this on paper : [Click Here For Image](http://img339.imageshack.us/img339/9308/wiw.png) I looked up printDocument, printDialog and printPreviewControl from MSDN and got a few examples but … | |
Hello, I have been learning how to use the MS WinAPI, but their documentations is extremely vague in a lot of places, without information on the proper use of functions (PHP.NET manages this just fine!). But anyhoo. When I handle the WM_DRAWITEM message, it SHOULD display an image on the … | |
Hi everyone I want some help in my paint application, I am using pictuerbox to draw on it but in the last day my requirement is change that the user want to open an image and do all the functionality on it.. I try to open an image but when … | |
Hi I am doing a Tizag tutorial.I have created this table products with phpMyAdm in and started to populate the field.When it comes to price if I insert 13.99 the amount is rounded up to 14.I have tried everything changing to decimal, float, double but nothing seems to work,it keeps … | |
hello, ive recently created a login in and register page for a website im working on and when using the register.php page to sign up, then entering the details into the login.php page all the login page seems to be doing is refreshing and removing the entered information and not … | |
i need help to implement genetic algo on C#...the idea is take 10 number inputs from user then generate a chromosomes according to input kindly help me as soon as possible plz reply soon | |
Hello I have a jQuery Thickbox window and I want to make it stick as far as possible to the top of the browser window, so the top is visible. If the bottom is not visible, this (for now) is not a problem. How can I do it? | |
As part of my Uni course i have been given code to edit to create a MineFinder (mine sweeper) game. I have 3 seperate classes to create this game. But for now, my problem lies with this "MineFinderModel class... the tasks i am struggling to complete is as follows: > … | |
Hello, I have build my application and now that I am trying to run the jar file by double clicking on it nothing happens. I tried to access it from my terminal(mac OS) using this line: java -jar "C:\Users\Me\NetBeansProjects\BS1\dist\BS1.jar" But get the following error: Unable to access jarfile Can anyone … | |
Hey guys, I have a quick question. I normally only do Front-End but I have just started working more with PHP. So I have a question regarding conditionals. Here is my code: //I actually get this from when a user posts, this is for demo $videoURL = "http://www.youtube.com/watch?v=-XjwL9kCmgc"; $parsedURL = … | |
Iam a newer in php Programming . How can I Improve myself in here. I colud not get a complete project. just Give me a project because I wanna learn basic something in php. i know basic programming but i could not complete any project . Give me a project … ![]() | |
HI, I have a text message in a C# class file that i want to display in a web page in asp.net. from the C# class file how do i access the web page or how do i display the value in the web page. Appreciate a reply thanks | |
Hi, I have jpeg image of JFIF type, i want to read jpeg image, decode it and finally i want to display this image in a screen. Could anyone explain me the parsing of jpeg binary data for decoding and encoding? Thanks in advance |
The End.