199,114 Archived Topics
Remove Filter ![]() | |
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 17: public partial class home : System.Web.UI.Page Line 18: { Line 19: SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString.ToString()); Line 20: protected void Page_Load(object sender, EventArgs e) Line 21: { Source File: e:\0\2\17\38\2669038\user\2930392\htdocs\home.aspx.cs Line: 19 Stack … | |
Guys this thread is basically for the beginners who want to learn ASP.NET from the very beginning.. Plz give your valuable suggestions and kindly provide appropriate answers for the queries... | |
Why should a person learn win32 api? What things I can do when i have learnt it? Some people tell "There is no need to learn win32 api because literaly you will only design Window(box, messagebox etc), which you can easily do by MS Visual studio tools!". Is this true? … | |
How i can create infinite url such as my data hierarchy.(Using url routing but without MVC)For instance: -Electronic -- Television -- Sound Systems -- Computer --- Scaner --- Mouse ----Wireless Mouse --- Keyboard [url]http://www.domain.com/products/electronic/computer/mouse/wireless-mouse/related-product.aspx[/url] | |
I would be considered an absolute novice at IT problems, yet there is a fault happening on my work computer that the IT experts here are not able to solve. I would appreciate any help you could offer for me to forward on to the IT Crowd...thanks. DES v4.23.3 - … | |
Hello, I have been told to design website in JSP. Firstly it contains login page.i hv designed login.jsp but it contains all HTML tags. For the database(Sybase) connection i m planing to write java file login.java which will be invoked in login.jsp action method.... ... ..is this a right way … | |
hiya i stuck on this can anyone help please Result1 = (Val1*Val2)/Val3; Result2 = (Val1+Val2)-Val3; write a sperate method to print the result of the above calculation and then write a main app class to create an operator object set it up with some test data to calculate the values … | |
"Inheritance increases the functionality of a base class by adding additional features to its derived class." This is a direct statement from my text book's true/false question section. This is given as false and I know this is false but still I don't understand fully why. Any explanations would be … | |
I REALLY need help. ThIs program works - except I have one fatal error that I can't seem to figure out how to fix. The players can play where other players have already played. I tried to use the switch statement at the bottom in method checkMove where if result … | |
Hello, I created a C# project using Teletik Winforms trial, the project contains about 30 forms and 10 reports using Telrik reporting trial. I decided to uninstall Telerik and go back to basic visual studio components and styles. Can i convert my project from telerik components and references to Visual … | |
Please explain all these four pages- Open the images in paint. Only then will you be able to view it. Thanks in advance. | |
I have a form with a recordset which is filtered on some controls on the form. In the code behind page I want to loop through the records as filtered on the form. I can set up another SqlDataSource and refilter it on the same controls, but I'm wondering if … | |
Hi All, I have many DateTimePicker (DTP) in a windows form (Say atleast 15 DTP) I need to do following things in the form 1)A Dataset is field with values from database (MS SQL) which contains the DateTime data and now i want to assign it to DTP and Doing … | |
Hi, I am trying to develop a autocad like software in C/C++. Can any one suggest me how to start it with ? Subrata | |
hello :) tell me The name of Best C# tutorials book available online......... | |
How can i Check a static method result using If else statement? for eg: IsPostponed is a static method and it returns a bool value. because of a static method we can call the method without an object. then how can i check it? | |
Hello all , I just need to create a folder in an other machine using ssh or samba ; for example i execute : [CODE]os.mkdir( rachid@rachid:/home/rachid/Bureau/new, 0777 ); [/CODE] but It shows the next error : [QUOTE]OSError: [Errno 2] No such file or directory: 'rachid@rachid:/home/rachid/Bureau/new'[/QUOTE] Thank you for answering . | |
i am trying to use google maps in my application but its giving me an error in the xml file as "error: No resource identifier found for attribute 'apikey' in package 'android'" can i know how to solve this error thanks in advance | |
Hi everyone, I need syntax for pageloadevent function,javascript or php | |
[B]Hi I really really really need your help since I have no idea about this.[/B] [B]How can I insert the Javascript Confirmation Alert into the del.php file?[/B] [U]I have this del.php file[/U] [CODE]<?php require ("include/config.php"); $id=$_REQUEST['id']; $strSQL = "DELETE FROM change WHERE id = '".$id."' "; $objQuery = odbc_exec($conn,$strSQL); if($objQuery) … | |
I want to retrieve information from the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\27F43CBD97D1DB04CA142624E98D6717\features But the values of this registry key are encrypted.. any one know how to decrypt them? example : value = F_FTP_COMMON value data = ZC]++I3{!@.!lfp,?=DHHvyyfa8fj@(6d@fnEE32eWl_`4R(h@AZId-+a?DW | |
Hello [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class WholeNumbersFor { private int numOfInPut; private int sum; public void start(); WriteProgramInfo(); ReadInPut(); SumNumbers(); ShowResults(); } private void ReadInPut() { Console.Write ("Number of Values to sum?"); NumOfInPut = int.Parse(console.Readkey()); console.Writeline(); } private void WriteProgramInfo() { console.Writeline("\n\n ++++++ … | |
I display the progress bar for downloading attachments and it works fine … but when I am downloading some attachments I get the exception message: [QUOTE] Exception in thread "main" com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most … | |
I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and replace into another image in the same listview using drag and drop. How could I do this? sample code would be helpful. Thanks in advance. | |
Let's say I have the letters... A,D, and G And O (It's special) How can PHP make all possible combinations with these words by using all or as little amount of letters as possible? (But special letters must be included in each scramble) For example PHP would go through those … | |
Hello, I have created project in c# and i want to use connection string stored in app.config file in all my form. I have wrote that connectionManager code but it gives different output (not proper output) and sometimes it gives exception what to do? | |
How can i update my Jpanel with the labels from another class in certain intervals? | |
Can someone tell me what's wrong here: [CODE] Dim sql As String = "SELECT * FROM courses" Dim con As New MySqlConnection Dim dt As New DataTable(sql) Dim cmd As New MySqlCommand(sql, con) con.Open() ComboBox1.Items.Add(dt)[/CODE] It doesn't show the courses. | |
hi, how to call a button click event programmatically in web application C#. Thanks, Sindhuja.K | |
I am trying to convert a 2d image to 3d one in python. please introduse me some good source or if there is an open source program. Thanks alot. | |
[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class While { private double sum; public void Star() { WriteProgramInfo(); ReadInPutAndSumNumbers(); ShowResults(); } private void ReadInPutAndSumNumbers() { double num = 0.0; bool done = false; while (!done) { { } } } private void WriteProgramInfo() { Console.WriteLine("\n\n ++++++ … | |
Hi, I want to change color of a <div> element after some delay: For. e.g: Initially div is in Orange Color. Then onClick it will become White then after half second delay, it will become Black. But it is not working. It becomes black on the first click & White … | |
I want to delete the strings file1 and file2 after its merged to a single pdf merge12. Please suggest your valuable ideas.. Thanks in advance package com; import java.io.FileOutputStream; import java.util.ArrayList; import com.itextpdf.text.Document; import com.itextpdf.text.pdf.PdfCopy; import com.itextpdf.text.pdf.PdfImportedPage; import com.itextpdf.text.pdf.PdfReader; /* * author * @282532 */ public class PdfMerger { public … | |
Hello all! I'm having some confusions about what to use as the "Home Page" in my web app. Should I use Servlet?([url]www.foo.com/index[/url]) or JSP?([url]www.foo.com/index.jsp[/url]) I dont know what would be their entry point in my site. I mean, let say, they visit [url]www.foo.com/index.jsp[/url], and they click login, the page then … | |
I Have Listview with All transaction with column InvoiceNo Date Customer Total Now I want to filter only month transation only month with combobox selection and one textbox year Me.cboMonth.Items.Add("1") Me.cboMonth.Items.Add("2") Me.cboMonth.Items.Add("3") ........... Me.cboDate.Items.Add("12") Me.cboDate.SelectedText = 1 my column date display mm/dd/yyyy How can I selection cboMonth to filter only … | |
Hi All, Here i want to disable right click on textbox. Please help me to do this. Best Regards Neji | |
I have an application that assigns room numbers to student when they are registered. If one person is using the software to register students it works perfectly but when multiple people are using the software through peer to peer network it sometimes give problems by assigning the same room number … | |
I used to have a major problem on my old hosting package where emails from my website to yahoo/bt just disappeared into the ether. I have since changed hosts and re-formated my mail scripts to use phpmailer SMTP and all generally appears to be working much better. However I seem … | |
Hi! I want to execute the sql query based on the question. For Example, In Textbox If i enter the question like "What are the department in allahabaduniversity" means following query will be executed "select department from allahabaduniversity;" , Here department is a filed and allahabaduniversity is table, Please Help … | |
I'm completely new to javascript, but in my eyes this should work. But then again, i'm quite an idiot myself and it's usually a very very simple problem that someone will see in 5 seconds. I want the header (supposed to be in variable 'itemname') to be put into variable … | |
I am opening windows calculator in my MDI windows application and it gets open through a child form which is a part of mdi form.I am not able to close the windows calc even when my form gets closed. code: [CODE]System.Diagnostics.Process p = null; public bool calcinstance() { if (p … | |
Hello! What I'm trying to do is allow a user to create a database and tables by supplying the database and table names through text fields. It is pretty generic unsecure at this point but I'm just trying to learn it currently and I am the only one that is … | |
This is the code and there is something wrong with the check column function. I am unsure and need help. #include <iostream> using namespace std; int sudoku_solution[9][9]; const int array_size = 9; inline int random() { return rand() % array_size + 1; } bool check_column(int value, int row, int column) … | |
Hi, I have a program that needs to create a downloadable excel template with the following headers on the first row named, name, age, gender. And I also want the template to only have 1 sheet on it. how can I create a sample template using vb.net code? Thanks | |
Hi, I have this program that would upload files from the client to the server, Now I want to validate the filesize before uploading it into the server.. How can I create this kind of validation? Thanks. | |
I want to stretch an image in picturebox. Is there any property to do it? In VB.NET there is is a property called "size mode". we can change that property to "stretch image". still i couldn't find VB6 property to do it. Please tell me the property or if there … | |
Here is my HTTP cookie request which auto loads browser after doing the cookie stuff. But it does not login and i dont know why =/ [CODE] Dim logincookie As CookieContainer Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim postData As String = "referer=http%3A%2F%2Fforum.ea.com%2Fuk%2Fcategories%2Flist.page&selectprofile=true&remoteurl=http%3A%2F%2Fforum.ea.com%2Fuk%2FgusUser%2Flogin.page&action=Login®istrationSource=&authenticationSource=EA-JForums&HIDE_GUS=&username=" & … | |
Guys, I can't still figure out how to show to a user the file info of a file programamtically. Can I just use the Properties window that Windows use to show all the detals of a file (e.g. name, type, size, path, date created ect.) I am using the IO … | |
Hey everyone! I am trying to writing a program that will play hangman. I have an understanding, on paper, of how to write the program... but I just cant fully convert it into java. I have started the program but I've gotten to a point where I'm stumped. Any help … | |
Hello all, zoidmaster here. I have a question regarding Visual Basic and deleting lines of text from files. I'm trying to make a piece of software to manage customers who walk into a store. I got most of it written already but the problem I'm running into is deleting some … |
The End.