199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nitin Daphale

In my project, I have a page which having, Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> . When I set control values(textboxes,labels) on that page, I am not able to refresh the page even through web browser(retype url). All values persist on the controls. Anybody can talk about problem and solution? Thanks in advance.

Member Avatar for Nitin Daphale
0
185
Member Avatar for coroll

Hi! im getting this error. I dont know why. PLZ can anyone help me. this is my code [CODE] public void getLastMemID() { String concString = "Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=new;Integrated Security=SSPI"; // int ID=0; try { CN = new SqlConnection(concString); CN.Open(); SqlCommand com = new SqlCommand("SELECT MAX(ImageId) FROM ImagesStore", CN); SqlDataReader …

Member Avatar for Mitja Bonca
0
106
Member Avatar for navi17

Hello friends, Well i just realized onmouseover on select options not working in IE/Chrome/safari. i think bec. IE/chorme doesnot support onmouseover. Can any one tell me the alternative of onmouseover? Thanks

Member Avatar for sharga
0
2K
Member Avatar for naru vaishnaw

upload profile image but upload only ram user pic .other user not able to upload there image .how to define every user has upload there prof. image . anyone help me for this problem [CODE] // Upload Form <?php include("connect.php"); $_SESSION['username']= 'ram'; $username=$_SESSION['username']; if(isset($_POST['submit'])) { //get file attributes $name=$_FILES['myfile']['name']; $tmp_name=$_FILES['myfile']['tmp_name']; …

Member Avatar for ko ko
0
102
Member Avatar for ofir0803

Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] …

Member Avatar for twiss
0
1K
Member Avatar for niggz

Hello. I have a problem writing to a file using for loop. here is the code: [CODE=cpp] /* the code should save numbers in a file something like this 1 5 2 8 3 7 4 6 */ //instead it gives just the last numbers it catches /* 4 6 …

Member Avatar for niggz
0
159
Member Avatar for jacob21

Hi, I am using this drop down list.Loop started from 1920 to 2012.I am trying to put 1st value --select-- not 1920. Need suggestion [CODE]<select name="year" id="year" style="height: 22px"> <?php for($y=1920; $y<=2012; $y++) { ?> <option value="<?php echo $y; ?>" <?php if($y==$_POST["year"]) echo "selected"; ?> > <?php echo $y; ?> …

Member Avatar for ko ko
0
59
Member Avatar for serdas

Hello all! I'm pretty much clueless as to how to write code. I saw the following script from [url]http://thinkdiff.net/facebook/users-demographic-data-from-facebook/[/url] so I decided to play around with it but I just can't get it to work. I created the table shown and also a file bd.php where it has the info …

Member Avatar for twiss
0
124
Member Avatar for abhi10kumar
Member Avatar for ko ko
0
64
Member Avatar for vedro-compota

hi all) Does anybody know a good example to add a smart tag to custom component?

Member Avatar for vedro-compota
0
115
Member Avatar for dawsonz

Hello I have an XML file that uses <Document Element> I was wondering if it is possible to sort my XML file by sortOrder? Here is an example of my code: [code] <?xml version="1.0" standalone="yes"?> <DocumentElement> <Item DataField="A03" Header="RDAW TEST" UseDefaults="Yes" SortOrder="1"/> <Item DataField="A01" Header="Eg: Assignment 1" UseDefaults="Yes" SortOrder="2" /> …

Member Avatar for pritaeas
0
161
Member Avatar for vaishnu

Hi all, I am assigned with a task of creating a custom control in c# .The control should be similar to a button with on and off states.Can yo people help me out with coding ???Pls . I donno how the control to be drawn with graphics and how to …

Member Avatar for vaishnu
0
140
Member Avatar for CeeGee

[TEX]Create a class named Pizza. Data fields include a string for toppings (such as pepperoni), an integer for diameter in inches (such as 12), and a double for price (such as 13.99). Include properties to get and set values for each of these fields. Create a class named TestPizza that …

Member Avatar for stbuchok
0
517
Member Avatar for muralibobby2015

hello, few days back i attended one interview. he asked write a query for get the results from these tables. there are two tables. one is for 'USER' and another is 'Properties'. in the user table there is 3 feilds user_id,name and subscription_id. in properties page property_id and user_id. here …

Member Avatar for urtrivedi
0
112
Member Avatar for bhagawatshinde

Hi, I am develop an windows application of OMR in c#. I just want to add rediobutton instead of check box. how i can do this. Anybody help me..... Thanks in advance

Member Avatar for bhagawatshinde
0
2K
Member Avatar for umeshMCA

hi, i have a xml file and i would like to read and write data in XML file. thanks regards umesh chand daiya

Member Avatar for thomas6188
0
238
Member Avatar for haimz

Hello, im in this domain: [url]www.mydomain.com[/url] i want from this domain to get the referer of the [url]www.myotherdomain.com[/url] there is some way do that? without write abit code in myotherdomain.com

Member Avatar for haimz
0
92
Member Avatar for cheenu02

hi, the following program is not running and gives CANNOT CONVERT INT TO INT* IN MAIN FUNCTION error [CODE]#include<stdio.h> void main() { int *p; p=0x2000; ++p; printf("%d",p); }[/CODE] how to solve this

Member Avatar for bajishareef
0
2K
Member Avatar for dawsonz

Hello I'm trying to sort my gridview by a particular colum. My gridview has a column which is 'Sort Order' and they are numbered 1,2,3 etc. Now I want to be able to default sort that column in ascending order. Would anyone possibly be able to help? Here is my …

Member Avatar for dawsonz
0
208
Member Avatar for jineesh

The datetime picker control 'focused' property is not set to true even though I have changed the date value. Please anyone help me Regards, Jineesh

Member Avatar for jineesh
0
100
Member Avatar for kipslem

Hello, Could someone help me with this question that I need to complete within 4 days? I have a problem with the insert statment on the code below. This code is working fine by inserting the ststement, but the problem is that the DATE is not being inserted into the …

Member Avatar for Pgmer
0
331
Member Avatar for kumarmpk4u

Hi All, In my application i am using a document to display data present in the database. First I try to run a query in the database and when i try to display the contents of the result it is failing to display the contents. But when I try to …

Member Avatar for kumarmpk4u
0
106
Member Avatar for CeeGee

Create a class named Pizza. Data fields include a string for toppings (such as pepperoni), an integer for diameter in inches (such as 12), and a double for price (such as 13.99). Include properties to get and set values for each of these fields. Create a class named TestPizza that …

Member Avatar for samueal
0
2K
Member Avatar for clickspiker23

I am currently going through a c++ book trying to do the problems at the end of the chapters. They dont provide solutions so im kind of stuck. My problem is: Write a program that uses a loop to display the characters for each ASCII code 32 through 127. Display …

Member Avatar for Greywolf333
0
251
Member Avatar for subhra44

Can anyone tell me the diff between the following two statements [CODE] var username=document.forms['myForm']['username'].value; var username=document.myForms.username.value; [/CODE]

Member Avatar for urtrivedi
0
210
Member Avatar for syeda amna

Hi is it possible to use static variables with servlet. I want to access static variable from servlet but it gives null value. Why??

Member Avatar for syeda amna
0
79
Member Avatar for ritesh2190

i need to count the no of instances of a word in a string using vb.net i can do the usual way as my problem is a little different for eg i need to count the no of occurrences of -> in tree_ptr->sub.another->valu=3;

Member Avatar for codeorder
0
141
Member Avatar for packluv12

I am working on an assignment and I am suppose to use vectors to find the sum and winner but I do not understand c++ so this is confusing. The program runs but it is giving me the wrong winner, it displays the winner as who ever is entered first. …

Member Avatar for packluv12
0
97
Member Avatar for ShadowBorn

I have this assignment due and its a bit tricky, i was wondering how is it possible to incoporate both C-string and a [I]string[/I] object at the same time. Any help would be very very appreciated. thank you all in advance. Here is the actual problem from the book. [B]Write …

Member Avatar for NathanOliver
0
147
Member Avatar for hawkmcdowell85

Hello, I have some limited background in C++ and Java, though I haven't programmed in years. I'm wanting to begin programming through learning C#. I have a project plan in sight to help me learn along the way using Windows Forms and C#. I was looking for guidance here in …

Member Avatar for hawkmcdowell85
0
199
Member Avatar for MaggieLynn

Getting errors stating that 'Assignment3.Converter' does not contain a definition for 'breakdown'...cannot get this to work...I know there is a problem with the breakdown and dollarAmount, but I can't seem to figure out the solution. [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Assignment3 { class Converter { …

Member Avatar for MaggieLynn
0
145
Member Avatar for warrior4321

I'm wondering how to remove the stuff at the end of the console, where it says the execution time, press any key to continue, and what the process returned. I am using Codeblocks. As well, I am wondering when I type in a letter, (for example, the letter h), it …

Member Avatar for WaltP
0
123
Member Avatar for jackmaverick1

Hey! I sorta, kinda want to make a REALLY simple OS that would be made in c/c++ (c++ hopefully). I realize that it would take a lot of effort, and I would need a lot of time. But I am willing to put forth the required effort and time, so, …

Member Avatar for rubberman
0
202
Member Avatar for bangor_boy

I have been doing a few exercises for an exam, they dont come with answers so just looking clarification, it asks to find the errors in the table and to explain each error which 2PL principles it violates. [ATTACH]21427[/ATTACH] I have came up with T4 at Step 14 cannot work …

Member Avatar for rubberman
0
188
Member Avatar for winecoding

I opened the .bashrc file on a system, which includes [CODE]export JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun.x86.64[/CODE] After typing [CODE]whereis java[/CODE], the system prints out [CODE]java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz [/CODE] It seems to me that none of the above path matches the JAVA_HOME set up in bashrc file. Can you let me know …

Member Avatar for stultuske
0
251
Member Avatar for ViRiPuFF

Hi Can someone please direct me to a tutorial relating to downloading files from an aspx Page. Thanks ViRiPuFF

Member Avatar for ViRiPuFF
0
85
Member Avatar for amithlaxman

Hi, I have four tables tab1,tab2,tab3 & tab4 [CODE] #contents of tab1: Id dataname 222 perl [/CODE] [CODE] #contents of tab2: Id data_desc 222 perl is a scripting language [/CODE] [CODE] #contents of tab1: Id other_desc 222 Regular expression [/CODE] [CODE] #contents of tab1: Id date 222 22-33-1964 [/CODE] I …

Member Avatar for hfx642
0
401
Member Avatar for Slyvr

I'm creating a game with XNA, and having issues with Vector2 arrays. The code below will loop through each square on the grid for the game 40x40pixels. The first for loop getting the X coordinate and the second getting the Y coordinate. I'm getting the proper width and height (if …

Member Avatar for Sodabread
0
142
Member Avatar for tom543

please help me! Fullfill 10 philosophers eating and thinking transaction at least 5 times and make them to be full.(with java) My Best Regards...

Member Avatar for tom543
0
194
Member Avatar for mchin131

I have a program where it reads 2 files, one of them containing a file with customer number (int), customer name (string) and balance (double). There are 7 lines, but my program would only read the first line 7 times. This program is confusing me as to why they won't …

Member Avatar for NathanOliver
0
156
Member Avatar for Start4me

Hello everyone! I'm just a beginner in vb.net. I need to make a save button. The user will work in main form. User also has Settings in the MenuStrip, when the user clicks Settings a new form will open. There user has ability to make changes that will affect the …

Member Avatar for adam_k
0
314
Member Avatar for KushMishra

Hi guys, I've recently developed a gridview with edit,delete and update panel..... All is working fine except the Update button.....the error shown is...... [CODE] [B]Object reference not set to an instance of an object.[/B] Source Error: Line 48: GridView1.EditIndex = -1; Line 49: conn.Open(); Line 50: SqlCommand cmd = new …

Member Avatar for showet
0
232
Member Avatar for vextorspace

I have an JOGL based opengl program that uses textures on flat surfaces. After a texture is put on a surface, it will eventually crash. If the textures are small, it takes a while. I managed to reproduce it with a simple program: [CODE] package org.yourorghere; import com.sun.opengl.util.Animator; import com.sun.opengl.util.texture.Texture; …

Member Avatar for vextorspace
0
198
Member Avatar for sadsdw

Hi everyone, I have a std::map of structures . I'm reading the data from a file named "auxIdSorted.txt" and I need to do a while() using the variable auxID. The idea is read the map many times until all values of auxID become different of zero (while(auxID == 0). I …

Member Avatar for sadsdw
0
146
Member Avatar for niggz

Hi masters! I have a problem with my while loop. I realised that my code does not work the way I want. It has to check if sum of def, mid and att variables is different from 10 or if style variable is different from multiple strings. So if any …

Member Avatar for niggz
0
166
Member Avatar for eagl09

Keep getting reached end of file while parsing error I have been told this error is from extra or missing closing brace in code..CANNOT find where it is at. any help?? [code] import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextField; public class BasicCalculator { private static …

Member Avatar for rubberman
0
334
Member Avatar for richa_talwar08

Hi All, I need to write a code in C or C++ where some text in text_file_1 needs to be replaced with some other text which is in text_file_2. both the text files are stored at some location Text_file_1 has text: user,pass jojo, beans where jojo and beans need to …

Member Avatar for Adak
0
448
Member Avatar for Majestics

I want combo box in jtable visible from start not when i click the cell... any idea?

Member Avatar for Ezzaral
0
145
Member Avatar for st_infamous

i've got a problem with x86 assembly instructions.. I'm trying to compile an ASM file using Borland TASM 5.0 using command [code]tasm32 /z /m /ml MyFile.asm[/code] However, there is an instruction in that ASM file - SUB ECX, FFFFFF88 which the assembler declares as - Undefined Symbol : FFFFFF88 It …

Member Avatar for coffeeuncle
0
329
Member Avatar for Yaseen16

Assalam o Alaikum to all. Dear friends I want to know what are the thread control instructions in multitasking of assembly? Can anyone please help me? Thanks in advance

Member Avatar for coffeeuncle
0
315

The End.