199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yun

I m surprised and wanna know that how the compiler understand the sequence of how data was entered. as i didnt use any space any tab not a new line, how it can point to the original value from a single line..????????? find.txt contain the following line with out spaces …

Member Avatar for Ancient Dragon
0
178
Member Avatar for pen2satya

I have a Gridview having 3 columns in which i took checkbox,label and label as item templates for columns select,code,name respectively. ecode column is not editable.Button edit and update are present outside of gridview. i can edit multiple rows like this... when i select checkbox in 1st row of gridview …

Member Avatar for dnanetwork
0
116
Member Avatar for mshravs

here is the problem, i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the …

Member Avatar for dnanetwork
0
473
Member Avatar for speranza

[U]users table[/U] userid PK + autoincrement name surname i wrote a procedure [ICODE]ALTER PROCEDURE insertUser @userid int, @name varchar(50), @surname varchar(50), AS SET NOCOUNT ON insert into users (userid,name,surname) values (@userid,@name,@surname,)[/ICODE] in aspx file i write [ICODE] cmd.Parameters.AddWithValue("@userid", ????????); cmd.Parameters.AddWithValue("@name", TextBox2.Text); cmd.Parameters.AddWithValue("@surname", TextBox3.Text);[/ICODE] what can i assign for userid column …

Member Avatar for dnanetwork
0
94
Member Avatar for seetha.sundar

hi everybody, i should hav atleat 1 numerical character and 1 special character with alphabets can anybody please help me for this thanx regards, seetha.

Member Avatar for dnanetwork
0
89
Member Avatar for speranza

i have multiple checkboxes on my form.i am trying to add them with stored procedure but it gives me [I]Procedure or function konut_ekle has too many arguments specified [/I] [CODE] protected void Button1_Click1(object sender, EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString); SqlCommand cmd; con.Open(); string cmdstr = "konut_ekle"; cmd …

Member Avatar for dnanetwork
0
146
Member Avatar for cVz

Hi everyone, I would like to set a label's text when a dropdownlist item is selected I want the label to display the value of the item, not the text. Is there any way i can do so without refreshing the page i found the update panel loads far too …

Member Avatar for dnanetwork
0
2K
Member Avatar for thewebhostingdi

Hello All, I am upgrading my VBUlletin and I am receiving this Error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8835301 bytes) in /home/user/public_html/includes/adminfunctions.php on line 3209 I edited the php.ini file and tried allocating memory_limit upto 1400M, but no luck(yes, I tried upto this!!!). …

Member Avatar for cwarn23
0
162
Member Avatar for VinayRok

when i click on the treeview the page gets refresh and the control wont go to roottree_SelectedNodeChanged Plz anyone help me...... [code]/* Document */ private void GenerateMarksTree(StudentManagement.Student stud) { TreeView roottree = new TreeView(); roottree.ForeColor = Color.Black; roottree.ShowLines = true; TreeNode root = new TreeNode(); root.Text = stud.Branch.ToString(); root.Value = …

Member Avatar for dnanetwork
0
112
Member Avatar for Ennio

Hi, I have a question, I would like to know how can I add pictures to my datagrid? On my DB I have all images path ex.(/images/image001.jpg), is there a way that I can display that picture in the datagrid. Thank You Ennio Bozzetti

Member Avatar for dnanetwork
0
536
Member Avatar for jlasker

Hi there, I have a fairly simple question. I have a registration form on my site and I want to send the new user a confirmation email so that I can confirm they agree to my terms etc. I am using mail() and for the most part it works just …

Member Avatar for cwarn23
0
82
Member Avatar for rupeshpradhan

I know that it is possible to launch a file browser from PHP script (when selecting the file to upload), but is it possible to Is it possbile to launch a 'Browse for Folder' dialog box from PHP script? Since I did not find any functionality in the PHP, I …

Member Avatar for somedude3488
0
117
Member Avatar for sharao

presently iam running my application using the following url [url]http://127.0.0.1:8080/project[/url] without giving the above ip address & port number, can any one suggest alternate way like [url]http://daniweb/project[/url] thnx rajesh

Member Avatar for sharao
0
2K
Member Avatar for sreeram01

hi, i have an exception nullreference was unhandled.herewith i have enclosed the code and what message i haved while executing. Imports System.IO Imports System.Net Imports System.Text Public Class Form1 Public Sub submitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submitButton.Click Dim Str As System.IO.Stream Dim srRead As System.IO.StreamReader Dim …

Member Avatar for sreeram01
0
770
Member Avatar for thecodingbee

[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" …

Member Avatar for emarshah
0
103
Member Avatar for MxDev

hi, I've a bug in the following code, i don't know where it is?? is it in the design itself, or the code needs threading especially in the "Swing". The following code is a part of simple word game that display a word with it's correct meaning among wrong ones, …

Member Avatar for MxDev
0
123
Member Avatar for lmr8889

I am extremely new to python (programming in general too). I am the rooms director for a large hotel. The reason I am attempting to learn python is to create simple programs to help streamline some of the easy, but lengthy processes done by both my front office and housekeeping …

Member Avatar for michellelondon8
0
126
Member Avatar for jcanaway

alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …

Member Avatar for sysel
0
6K
Member Avatar for me8042

Hi everybody, I want to compare 2 tables contents. My tables are: Table1 ------------------ ID || Value ------------------ 1 || forum_list1 2 || Message_list1 3 || Search1 4 || Search5 5 || Search11 6 || Log_out 7 || LOG Table2 -------------------------------------------- ID || Value1 || Value2 --------------------------------------------- 1 || rd_forum_list1_no …

Member Avatar for msvinaykumar
0
156
Member Avatar for palavi

Hi all, I have a core java application, I am getting the below exception when ever i run this application. I have a java file named Oracpt.java which takes all variables like username password and url from setttings file which from config file. becoase of this below exception im not …

Member Avatar for kvprajapati
0
363
Member Avatar for ayesha789

Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; …

Member Avatar for emarshah
0
155
Member Avatar for cutedipti

Which JDBC driner is used to connect a java client application to a database over aTCP/IP connection?

Member Avatar for peter_budo
0
83
Member Avatar for leoman

have written a shell script in which I use fastmail to send emails from the shell script. It sends email to my company account with no problem. But I wan to send the same email to a pager number so that the pager goes off when the particular condition occurs. …

Member Avatar for KlementHonza
0
2K
Member Avatar for techza

Hello, I have XML , I am trying to create a xslt on these xml. <Qxml> <Qxml> <Net> <Property Name="DOCTOR" SName="DOC" LongDesc="YYY DOC" Code="666" STC="1"/> <Property Name="ENGINEER" SName="ENG" LongDesc="XXX ENG" Code="777" STC="2"/> <Property Name="TEACHER" SName="TEA" LongDesc="ZZZ TEA" Code="888" STC="3"/> <Property Name="CLERK" SName="CLE" LongDesc="TTT CLE" Code="999" STC="4"/> </Net> </Qxml> </Qxml> I …

Member Avatar for xml_looser
0
110
Member Avatar for rrlogu

Hi All, I am new to PHP and MYSQL. I installed Apache2.2, MySQL Server 7.0 and PHP 5.2.10. I created database and table in MYSQL - its working fine. PHPINFO() - its working fine. When i tried to connect to my MYSQL using PHP with the following code, i am …

Member Avatar for rrlogu
0
105
Member Avatar for dotNetDummi

Hi experts, I've been researching about convert an aspx to pdf but nothing seems to help me. I found crystal reports but my layout is not just gridview only. In my aspx, it includes textboxes, labels, tables, gridview. I need to print them to a pdf format automatically. Due to …

Member Avatar for DuoDimension
0
107
Member Avatar for elamigosam

I am getting this message and I have checked my code and it seems to be all OK but I ther another reason that this message is showing up, that I maigt not know. PLESE HELP.... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in file.php on …

Member Avatar for elamigosam
0
142
Member Avatar for nlvraghavendra

Hi fellas I'm having problem in querying ArrayList with Linq. I'm using VS2005. I installed Linq Preview (May 2006) setup to enable Linq in VS-2005. I created a Linq ASP.NET WebSite Template and wrote the following code. [CODE]using System; using System.Data; using System.Data.DLinq; using System.Configuration; using System.Collections; using System.Collections.Generic; using …

Member Avatar for nlvraghavendra
0
111
Member Avatar for malugirl4

I have to create a maze in which a robot has to follow the set of directions given and I'm so stuck on how to make the robot go through the maze. I have most all of it done but I'm still getting errors. The maze includes 1.safe place 2.chasm …

Member Avatar for VernonDozier
0
101
Member Avatar for pmankow

Hello, I am looking to make a program that will generate prime numbers. The program has to start at a specific number, ex: 3698741 and then end at another specific number, ex: 9874123. The numbers may never have duplicate digits, ex: 9874122. There will be a set of rules as …

Member Avatar for WaltP
0
106
Member Avatar for kspriya01

Hi, I want datagridview in windows application(C#.net), type in "this is the first line allows the 50 char", if you press "letter" and type "this is the second line", the current cell and go to the cell right below it. What I want is, when I press "letter" and type …

Member Avatar for kvprajapati
0
145
Member Avatar for niketan

Hello, How can I define fixed size of structure in c#.. e.g. [code] struct xyz{ char localc[12]; short localshort; }; I had made a c# structure like this [StructLayout(LayoutKind.Sequential, Pack = 2,CharSet=CharSet.Ansi, Size = 14)] struct xyz{ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 12)] public char[] localc; short localshort; } xyz abc = …

Member Avatar for kvprajapati
0
305
Member Avatar for learneveryday

Hi, I am trying to read data from csv and process the data using c# code and send the data to database. I read csv file using Oledb jet engine connection. It works in my local machine. But does not work in the server, same code, same settings and the …

Member Avatar for kvprajapati
0
132
Member Avatar for dombit

ok, i am just learnig c++ and i was wondering if it is possible for a feature in a program to be actavated by a certain sound. for example i run this program below on one computer and another program exacutes a function when the sound at 1000hz is herd …

Member Avatar for MosaicFuneral
0
144
Member Avatar for PinoyDev

Good day.! How to get the last day of the current month and store it in a variable.? Thank you for giving time.?

Member Avatar for PinoyDev
0
300
Member Avatar for bwinfrey

I hope my post is not redundant. Many of the titles used make it difficult to determine their content. I am looking for a good tutorial on cookies - I think. I'm new to this stateless kind of development. Briefly, I would like to store ID key in a cookie …

Member Avatar for bwinfrey
0
109
Member Avatar for sravan953

Hey guys, I want some of your help.... How do I make a keylogging application in Python [I]without [/I]using pyHook? Any other module for that? I heard that learning about [I]threading [/I]will help...is it true? Thanks guys...

Member Avatar for scru
0
493
Member Avatar for ckaiser813

i'm suppose to write a program with two classes, the first class takes two numbers and adds them together. the second class has no methods but has an object called add2. this is what i got class Adder1 (object): number1 = int(input("Give me a number:")) number2 = int(input("Give me another …

Member Avatar for jlm699
0
126
Member Avatar for Jintu

[code=python] total = 0 max_score = -1 min_score = 100000000 total_numbers = 0 x = 0 y = 0 print("Enter a list of numbers, (Enter -1 to stop) ") print ("Press the enter key after entering each number") print ("End the list by entering -1") print () number = int(input("")) …

Member Avatar for vegaseat
0
141
Member Avatar for MK12

Hi. Before I start I'll just let you know that this isn't for school, I'm just doing python as a hobby which I have pretty much taught my self. I'm working on a project, it is the "cheat!" card game written in python, currently CLI but when it is bug-free …

Member Avatar for scru
0
2K
Member Avatar for dude93

Hey, I'm not new to python but I wouldn't say I'm use to python either, I am very limited to what I can do, but I was wondering if anyone could give me some ideas for some simple programs that will teach me usefull things to learn. Thank you very …

Member Avatar for vegaseat
0
114
Member Avatar for darkphotn

Is computer programming worth it? It seems like you have to spend a LOT of time learning a new language (employers in California are now asking for 4 years of professional experience), use it for a time, then watch it come obsolete and take a lower paying job so as …

Member Avatar for jbennet
0
260
Member Avatar for tomtetlaw

Is there a different version if IDLE for Python 3.0(Python 300, Py3k)?? If there is, how do I download it?

Member Avatar for vegaseat
0
159
Member Avatar for sravan953

Can anybody gimme a link to a good msvcrt tutorial, because I want to learn getch() badly!

Member Avatar for vegaseat
0
131
Member Avatar for winmic

Hey all, I just recently got into wxpython for my job and I ran into a snag. When print previewing (using the demo code) there seems to be an insane amount of pages, yet only a few of them are viewable. So my questions are: 1) Why is there an …

Member Avatar for vegaseat
0
105
Member Avatar for sravan953

I wanted to make a Python prog just for fun, to get a pattern like: [CODE] * ** *** **** ***** ****** ******* ******** ********* **********[/CODE] So, basically, I started off by making a script to simply print [CODE] *****[/CODE] using a loop. Here's the code I used: [CODE]import time …

Member Avatar for vegaseat
0
96
Member Avatar for tomtetlaw

How do you specify a certain path for the import thing to import? such as [icode]import "E:\Tom's Personal Project\engine\shared.py"[/icode] Any help would be appreciated :)

Member Avatar for vegaseat
0
158
Member Avatar for poeticinsanity

I'm running a portion of code in a loop. It accesses a global variable only to print it, and that variable is never changed after it is set in the __init__. However, the first print statement occasionally will fail, but the second one does not. Any ideas as to why …

Member Avatar for vegaseat
0
106
Member Avatar for hughesadam_87

Hey guys, When using the glob import, I want it to scan all of the files in a directory, but not scan other directories in that directory. For example, say I am in a directory with the following files: [CODE]file, file1, file2, DIRECTORY1, DIRECTORY2[/CODE] When I use the glob command: …

Member Avatar for vegaseat
0
154
Member Avatar for C++ Obliviator

I just started with the class vector, but it didn't go so well. :( I tried this: [CODE]void Initialize() { int amount_of_char = 62; vector<char> char_table; for (int i = 97; i < 122+1; i++) // 97 -> 'a', 122 -> 'z' char_table[i] = char(i); for (int i = 65; …

Member Avatar for C++ Obliviator
0
82

The End.