199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for imaan fatima
Member Avatar for TalhaSayed

I am making a page which allows the user to edit a specific row based on the querystring value. What is the best way to load data into the textboxes and to reflect the changes back to the database. **Example:** Request -> example.com/editpage.aspx?id=123 The page should display data from row …

Member Avatar for geniusvishal
0
91
Member Avatar for semicolon

Is ther a fastest way to retrieve data from sql server like the sqlbulkcopy the fastest way to insert large data.?

Member Avatar for Mike Askew
0
77
Member Avatar for Dendei

hey just wondering if you can make an method that you input a string and convert it in the method and return a int? something like public string[] ConvertString(string[] Cards) { int[] intCards = new int[52]; for (int a = 0; a <= 51; a++) { int.TryParse(Cards[a], out intCards[a]); } …

Member Avatar for Dendei
0
228
Member Avatar for duneflyingyfz

Hi All!!! im currently at a roadblock in my knowledge of using mysql and php date/time functions. the program i am trying to write, needs to incoporate the current date in the mysql query to pull the correct information to display in real-time.. currently the server is on east coast …

Member Avatar for duneflyingyfz
0
200
Member Avatar for heshanm

Hi All, I want to generate time table reports. A form includes labels to enter grade, class and stream. After selecting data user should click on "Generate" button and relevant time table details. The data is submitted for the following page and there was an empty set of data shown …

Member Avatar for smantscheff
0
224
Member Avatar for nitigya

How to write a method in Java to compute the 'Letter Grade' given a percentage number grade. Method signature: public String checkRange(int grade)

Member Avatar for JamesCherrill
0
48
Member Avatar for daniel36

How many pages of pdf can view as images by imagick.i need it in my project to view all pdf file as images.Is it possible by imagick.

Member Avatar for pritaeas
0
112
Member Avatar for DelphiGuy

Basically I have a Delphi application which downloads some data on run time, it basically executes Form.OnCreate; and then ENABLES a TTimer component to do the downloading. This has been working fine for me as at least the user sees the interface whilst it's loading but now I have a …

Member Avatar for pritaeas
0
504
Member Avatar for deepthought

Hi All, I have a list of hex values that originated from a text string that was downloaded having now created a list of thes values approx 804 of them, when i run the list items through a loop to conert hex into dec had an error looking at this …

Member Avatar for deepthought
0
404
Member Avatar for sundog1

Hi Guys - newbie here.. I have been working with OLEDB connection for the past few weeks and now have this connection in ADO and i'm not sure how to proceed. **The Connection information is the following:** private ADODB.Connection adoConn = new ADODB.Connection(); private ADODB.Recordset adoRS = new ADODB.Recordset(); and …

Member Avatar for sundog1
0
157
Member Avatar for deriweb

Hi everyone just wanted to ask: 1) How to transmit captured data through the internet from point a(sender), then get it to point b(receiver) in steady but fast format? "probably simmilar to Http or voip and close to ATA voice adapter without to much coding and hardware involved" I think …

Member Avatar for np complete
0
163
Member Avatar for Tomi1988

I have a class (Point2D), and an instance variable (double tav) in this class. I would like to compare different Point2D objects (based on variable "tav") by the relational operators (<,>). (a < b) means that (a.tav < b.tav). Is there any way to solve this problem? public class Point2D …

Member Avatar for JamesCherrill
0
142
Member Avatar for sai.ayilavarapu

Hi Guys, While i managed to add rows and save them in the grid. I want to know the syntax for Update the data in the grid directly. Thanks Sai private void btnUpdate_Click(object sender, EventArgs e) { string col2 = dg[1, dg.CurrentCell.RowIndex].Selected.ToString(); string col3 = dg[2, dg.CurrentCell.RowIndex].Value.ToString(); string col4 = …

Member Avatar for Mike Askew
0
103
Member Avatar for rahul.ch

Is it mandatory to handle an exception that is thrown using the `throw` keyword? If so is there a separate rule for Checked and Unchecked Exception, as in who should be mandatorily caught? public void met() { throw new ArithmeticException

Member Avatar for stultuske
0
183
Member Avatar for ShEeRMiLiTaNt

Hello, I need to write a function that would take a string and break it up into tokens (ie words, numbers, and punctuation). First it needs to break up the string and store them into an array called Token[]. Obviously a for loop needs to written however should I just …

Member Avatar for ShEeRMiLiTaNt
0
129
Member Avatar for kshahnazari

HI , everyone can you please write a program for me , I have a set with 5 things in it thats line a={1,2,3,4,5} but it could be everything possible and there are subsets like b={1} c{1,2} d{1,2,4,5} but I cant write the progam so if you can write a …

Member Avatar for np complete
0
124
Member Avatar for sai.ayilavarapu

Hi need help i setting up both Adding and Updating datagrid cells in the Save_Click event. Right i used seperate click events for Add_Click and Updating_Click but i want to both of them in the Save_Click event rather than seperately. Thanks in advance Here is my code using System; using …

Member Avatar for Rogachev
0
193
Member Avatar for phorce

Hey, I might be having a blonde moment but here goes.. I'm trying to split a massive 1D vector into blocks at different places (If that makes sense), it should basically go like this: 0 201 401 601 801 .. .. .., 57201 2 202 402 602 .. .. .. …

Member Avatar for L7Sqr
0
2K
Member Avatar for JanraeMendoza

//==============================================================================// // RPS (Rock Paper Scissors) // Author: SoulPour777 / Janrae Mendoza // A Simple C++ Game // =============================================================================// #include <iostream> #include <cstdlib> #include <ctime> using namespace std; string player; string player2; int wins; int loses; int roll; int draws; void error(); void gamePlay(); void Scene_Result_Display () { cout << …

Member Avatar for rubberman
0
523
Member Avatar for brylle

how can i trap my textbox that allows numbers and letters only, no space no special characters e.g (,./;'[]-=\`<>?:"{}_+|~!@#$%^&*())

Member Avatar for TnTinMN
0
103
Member Avatar for umarmaqsood

Hi i got a script from some website, it is an alternative for marquee so its cross browser. i put an iframe for it to scroll endlessly but after it scrolls the iframe, it keeps scrolling until it disappears off the screen, leaving behind a transparency until it starts anew. …

Member Avatar for umarmaqsood
0
203
Member Avatar for sasdap

How to run shell commands from python. eg. How to use 'echo $a' commands? where a is any variable.

Member Avatar for Jimleeeel
0
159
Member Avatar for sateal8

Im trying to get my program to look like the following Welcome to the 64th Primetime Emmy Awards! ============================================================================== The nominees for Outstanding Comedy Series are: [1] Write In [2] The Big Bang Theory, CBS [3] Curb Your Enthusiasm, HBO [4] Girls, HBO [5] 30 Rock, NBC [6] Veep, HBO …

Member Avatar for 2teez
0
124
Member Avatar for mmcdonald

Hi all, I have an issue with a loop as it contains communication between my server and a remote one. If the remote server has an issue then it takes forever to complete the loop and the execution times out. What it currently is: $servers = mysql_query("SELECT * FROM server_tab;e …

Member Avatar for brandonrunyon
0
218
Member Avatar for Krokcy

Hey! So i have started learning c, quite refreshing when i normally code in Java :) I have this task where i need to store three int values in an unsinged int via bitwise operators. Its for a RGB picture where the colour is limited to 256. I have done …

Member Avatar for WaltP
0
203
Member Avatar for Faiza akmal
Member Avatar for sruthi atluri
Member Avatar for equation

Hi everyone. My question is how to copy values of 2 arrays from one function into 2 new arrays into another function? Copy data from arraay1[i] into arraay3[8] and from arraay2[i] into arraay4[8] ? int onefunction(int araay[]){ ....... ....... arraay1[i]; arraay2[i]; } int twofunction(int araay[]){ arraay3[8] = {0}; arraay4[8] = …

Member Avatar for nitin1
0
174
Member Avatar for testname123

Can someone please tell me how to control a windows form from another form? I have one form (form2) which has a button. When this button is clicked, I need my other form (Form1) to hide a button. I know all the code except for how to make form2 access …

Member Avatar for testname123
0
1K
Member Avatar for rmbrown09

Hello, I am trying to create a program that will allow me to find a certain phrase, (always between brackets and always with a "'0" in it) and replace it. Basically I have something like [ k '0 ir e ] and what I need to do is use regular …

Member Avatar for TrustyTony
0
242
Member Avatar for bghh

Hi. Does anyone know how I can create a new printer port in C#? At the moment I've got this, which uses WMI (System.Management): [code=C#] ManagementClass portClass = new ManagementClass("Win32_TCPIPPrinterPort"); ManagementObject portObject = portClass.CreateInstance(); portObject["Name"] = portName; portObject["HostAddress"] = "174.30.164.15"; portObject["PortNumber"] = portNumber; portObject["Protocol"] = 1; portObject["SNMPCommunity"] = "public"; portObject["SNMPEnabled"] …

Member Avatar for yitbarek
0
3K
Member Avatar for martin11ph

I have a website that runs fully on PHP. The footer is contained in footer.php. Is there a way to make the footer customizable via Wordpress?

Member Avatar for ckchaudhary
0
138
Member Avatar for cumadhu

Hi All, I would like to know the differences between Sessions and Viewstates. And best uses of Sessions and Viewstates. Thanks and with regards, Madhusudhan

Member Avatar for Patel Roopal
0
225
Member Avatar for sss93

Hey so for a couple of months now Ive been facinated with c++ and have been going through various tutorials and examples of creating console based applications dealing with arrays,pointers, classes, etc.So I really want to get into the GUI side of it. But from word of mouth I hear …

Member Avatar for mike_2000_17
0
386
Member Avatar for bobejoe

can anyone give me a cool c++ program using alloc and free you can use c also

Member Avatar for bobejoe
0
109
Member Avatar for newbie14

I have a dropdown list on each cell of table row. Now what I need is dynamically add more dropdownlist on a particular cells with pressing the add button. Any code snippet to help on this? Thank you.

Member Avatar for newbie14
0
7K
Member Avatar for ainosilva

Hello all! My problem is: I have 2 web php pages, in a online server. 1 is listing database content, the other is to "download" the 1º but in html... I'm doing this by getting the content of 1º page, in a link like http:\\mysite.com\page.php, to make the page run …

Member Avatar for ainosilva
0
598
Member Avatar for ANKUR1806

i want to display hindi text in label but there is no option of hindi font in the font property of label ?

Member Avatar for nmaillet
0
436
Member Avatar for davy_yg

Hello, Cek this web: [Click Here](http://www.jsutama.com/)] It's not me who created it. I must modify it. How to make the animation speed goes slower. <html> <head> <title>::: PT JS Utama :::</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="shortcut icon" href="favicon.ico"> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> <script type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var …

Member Avatar for brandonrunyon
0
138
Member Avatar for Yorkiebar14

Hello, I have a made a forum like page where a user can submit a thread and the information gets stored in a database. However, when I try to output the data it outputs it without any line breaks in it, example: The user inputs: Hello, This a paragraph It …

Member Avatar for Yorkiebar14
0
202
Member Avatar for daniel36

I need in my project to view pdf files such that no one can save the pdf file.Is it Possible.IF it is please tell me the way.

Member Avatar for brandonrunyon
0
152
Member Avatar for RickCJ7

I am rewriting an internal Coldfusion app that stores passwords in the database using Encrypt and Decrypt into C#. My Coldfusion code is using two parameters like this: `<cfset strDecrypted = decrypt(ToString(toBinary(strBase64Value)),"keycode") />` Where strDecrypted is the decrypted string returned, strBase64Value is the encrypted string in the database and "keycode" …

Member Avatar for arrgh
0
507
Member Avatar for kkasp

I am creating the Simple Blog from PHP for absolute beginners book. I have worked through the book and my only error now occurs when I am logged in as the admin and try to Post a Blog. The errors I get are: Warning: array_push() expects parameter 1 to be …

Member Avatar for safety1g
0
396
Member Avatar for ringo_tech

Hi I just completed my database hospital application and now i'm ready to export it into a JAR file. I palced the DB in the classes subfolder and played with ClassLoader but got nothing! I used the following code String driver = "sun.jdbc.odbc.JdbcOdbcDriver"; String url="jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=f:hospitalDb.mdb;}"; any idea …

Member Avatar for ringo_tech
0
298
Member Avatar for ctclements

int wordpercent = ((count/totalwords)*100); JOptionPane.showMessageDialog(null, "Count: " + count); JOptionPane.showMessageDialog(null, "Words: " + totalwords); JOptionPane.showMessageDialog(null, "Character Count: " + length); JOptionPane.showMessageDialog(null, previousletter); JOptionPane.showMessageDialog(null, nextletter ); JOptionPane.showMessageDialog(null, "Your word makes up " + wordpercent + "% of the document"); This is the final part of my program code. The program lets …

Member Avatar for ctclements
0
207
Member Avatar for complete

Why is 'BusyIndicator' not found? I am using Silverlight 5 toolkit and I am references that version of Silverlight.Windows.Controls.Toolkit in my silverlight demo. But I get this error and I do not know what to do Error 16 The tag 'BusyIndicator' does not exist in XML namespace 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit'. C:\Users\Bobbi\Documents\Visual Studio …

Member Avatar for nmaillet
0
287
Member Avatar for complete

How To Modify An Element in the Dictionary Class? ======================================= C# has this cool Dictionary class that you can use like a Hash Table. Is there a way of changing the value of an indexed element without resorting to removing it like this? int value = runningcount[city]; runningcount.Remove(city); runningcount.Add(city, ++value);

Member Avatar for complete
0
104
Member Avatar for rajat.sethi93

#include<stdio.h> #include<conio.h> void main() { float a[5][5],x[3];float t,s; int i,j,k; printf("enter a matrix of order 3*4"); for(i=0;i<3;i++) { for(j=0;j<4;j++) { scanf("%f",&a[i][j]); } } for(i=0;i<3;i++) { for(j=0;j<4;j++) printf("%f ",a[i][j]); printf("\n"); } for(i=0;i<=1;i++) { for(j=i+1;j<=2;j++) { t=a[j][i]/a[i][i]; for(k=i;k<=3;k++) a[j][k]=a[j][k]-t*a[i][k]; } } printf("The upper triangular matrix is as\n"); for(i=0;i<3;i++) { for(j=0;j<4;j++) printf(" %f",a[i][j]); …

Member Avatar for rajat.sethi93
0
208
Member Avatar for dadon1991

Hello everyone first time posting here, I have spent hours trying to figure out how to write this program that our instructor has given to us as an assignment. http://en.m.wikipedia.org/wiki/Bogosort#section_3Instructions are bellow Frequently, the temperatures on the news are given in Centigrade rather than Fahrenheit. The formula for conversion is …

Member Avatar for dadon1991
0
245

The End.