8,298 Topics
![]() | |
I'm trying to put a dynamically-generated stackpanel into my ASP.NET webpage. (I must admit, I'm pretty new at this.) Here's my ASPX page in its entirety: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Loader.aspx.cs" Inherits="eFormsIndex.WebForm1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" … | |
![]() | I am currently a C# developer with about a year of experience. I am currently working on finishing my computer science degree with a minor in mathematics. I love the job that I am in, but I the things I really want to do are in C++ (i.e. game development, … |
Hi, I made setup file, i install it on windows 7, it install successfully , when i execute using shortcut key or .exe file it gives a message "application has stop working" and not open any form and close automatically. | |
Create a program that is a Point of Sales (POS) system for a restaurant. Your POS system should allow unlimited orders from any number of guest. Each guest should be able to order a drink, an appetizer, an entree, and a dessert. The program should present a total. In addition, … | |
In my application i have database connection but i dont know how to attach my database with application Front End : C#.Net Back End : SQL server 2005 I need to create a setup to run my application on another machine .... | |
I have a c++ program that uses the rand function and the srand function. It worked fine when I compiled it on my windows machine, but I got errors when trying to compile it on ubuntu linux. After I included cstdlib the program worked fine on the linux too. 1. … | |
If I want to make a file connect SQL by file C# which I don't use connect in web.config But I can't call 2 class because when file aspx and Cs they have call [CODE]public partial class _Default : System.Web.UI.Page[/CODE] Help me create file connect SQL in Cs use all … | |
Hi guys! I have a code: [CODE] String Lastlogon(string username, string domain) { try { { DirectoryContext context = new DirectoryContext(DirectoryContextType.Domain,domain); DateTime latestLogon = DateTime.MinValue; string servername = null; DomainControllerCollection dcc = DomainController.FindAll(context); foreach (DomainController dc in dcc) { DirectorySearcher ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds.Filter = … | |
Problem: How do you dynamically update a chart / graph in a single iteration loop in Visual Studio 2010 WinForms C# application? Scenario: I'm doing simulation-based computations where I have an array to represent values for my function along an interval. The function is time-dependant and so the values in … | |
![]() | Hello everyone! I have field in database table that is image type. I have to create model for this table (mvc3) and I don't know which data type to use. Any hints?? |
Hello i am trying to solve the second part of this question i am getting these errors Error 2 Only assignment, call, increment, decrement, and new object expressions can be used as a statement Error 1 Use of unassigned local variable 'i' [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … | |
I want to add a custom configuration section to my App.Config file in my C# 2010 project. I want the section to look like the following. [CODE]<DmModules> <Module Name="Module1"> <add key="DbType" value="..."> <add key="ConnType" value="..."> </Module> <Module Name="Module2"> <add key="DbType" value="..."> <add key="ConnType" value="..."> </Module> </DmModules>[/CODE] Of course there can … | |
Hello, I've been looking into implementing a simple networking option to a program I'm working on, and have looked around at what my options are. The program is made in Managed C++(.NET), and so far have worked great. Browsing my options, I've found that .NET is also capable of networking, … | |
Just when I think I understand this stuff some else crops up to bite me. This part was supposed to be the easy part of the overall project so this does not bode well... What am trying to do is create an array of 32 variables that will be filled … | |
hi, can any one tell me how to i print a page in c#.net. actually i need it to print receipt in my project. Help me. Thanx in advance | |
hi there, i want to develop a login in asp.net C#. please can someone give me a guide to develop a login web page using MVC pattern i am using visual studio 2008 please can some show how to create a login using MVC thanks | |
Hello, Can someone please explain to me because i do not understand the tutorials on pointers. anyways i have a struct: [CODE] struct driver { int id; char name[30]; int runs; } //I am reading a file which goes in order ID NAME RUNS as: 1 Super Man 5 //I … | |
![]() | Hi Guys, I'm trying to create a simple webpage which has a login form. When the user successfully logs in, I want a cookie to be stored with the name "MyCookie", and a value of "1". Then I want the login form to hide and instead display a textbox with … |
I want to develop a Desktop application using web browser control and google local search API . could you give some idea? In my form have text box ,cmd button and web browser control.. when i type a search string in txt box and click button,the web browser control should … | |
Any help would be appreciated with this program : I have a file with 5 lines....each line has name, id , phone ...etc... I have to read that intro an array of structures and display the results. This is what I have so far .. I doesn't not display anything … | |
I want to make a project, have 3 files: main.cpp header.h declerations.cpp where i have all the function declarations. But I'm not sure how to link them all together. When I make a header file, it automatically types the #ifndef header_h but I thoguht that should be in the declerations.cpp?? … | |
Does anybody know how to query all groups with provided user in managed by field? Thx in advance. | |
Hi all, I'm sure it's an error by me, but I'm having a problem with ifstream inside a loop. The reason for the loop is read in a piece of text from multiple files, and cases within the switch statement change the filename, path is previously declared. The first iteration … | |
m reading c++ primer 4th edition by Stanley Lipmann and I'm on page 92 about value initialisation. I just don't understand when about value initialisation. I browsed around and I know there are also default initialisation and zero-initialisation. Can anyone explain about value initialisation? Coming to this paragraph .. clause … | |
Can some one help me start this exercise in GUI how do i arrange it ? | |
i am trying to solve that assignment and this is what i have so far [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CarInsurance { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, … | |
Ok, so I want to port my code to windows mobile, and I'm looking for a tutorial. I would like compatibility with WM5, and WM6 is a must. So I'll use the embedded whatever. I've got Visual Studio 2k8 and the 3 addon required to do the job. I've also … | |
I am trying to write a small program to keep track of my movie collection but I can't seem to get the streamwriter(I think thats what its called to work). Right now I am working on writing to a text file. I had a couple of questions though, will I … | |
I use code to retrive data from accounts in AD: [CODE] public string getproperty(string userDn, string type) { try { if (userDn == null) { err = true; return null; } DirectoryEntry uEntry = new DirectoryEntry(userDn); if (uEntry.Properties[type].Value == null) { return "No record found"; } return uEntry.Properties[type].Value.ToString(); } catch … | |
![]() | Hi me again! =) if you didn't already know i am making a simple HTTP Server using TCP/IP sockets for a project. i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different … |
Hi, I have a few questions which I need answering please. I have a ListView and I need to get the text in the cell which is clicked. At the moment i have this but it only works for the first cell which is clicked and throws an ArgumentOutOfRangeException if … | |
Hello. Im trying to add 2 times in C# windows form app. I have a function where I am retrieving a time field from database and adding it to another time which is in a texbox. I am able to retrieve the time field but when I am adding and … | |
Hey C# people, Sorry for my topic title, I honestly didn't know what else to call it. I'm a Java developer and I'm looking into learning C#. I've read up a bit on it but I'm rather confuzed (as expected)... 1) Firstly, in java you can choose to use an … | |
Hi all, I wasn't sure where to post this, so I thought here might be best :D I have to develop a program that takes a webpage and extracts information from it, so I was wander how would be the best way to do this, without using an external library(like … | |
![]() | Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't … ![]() |
It's soon time for me to create some c++ program as a project for my class. But I have no idea what to do, any suggestions? | |
I'm having a lot of trouble with a project for school. The project calls for me to create a random guessing game with three different levels. Each level should consist of a random number between 1 and 30. I have set my code to show between 1 and 5 for … | |
Hi all, Im started to learn windows.h libary. I want to add example some buttons with messages with more stuff in it but where i need to put that code i didnt find any torial about it can somebody help me out. [CODE]#include <windows.h> #include <stdlib.h> #include <string.h> #include <tchar.h> … | |
I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program? | |
can any one please help me with this... I am trying to load a treeview and listview from sql database but did not work.... so if any one know how to do that please help me with it.... Thanks vince | |
I created an application in C# and then was told it had to be started from a button selection in a C++ exec program. How do I invoke my application from the C++ program? | |
I'm new at C coming from java but I'm learning it in one of my college classes and so far it's a nightmare anytime I write a program with it :'(. I'm writing a Reverse polish notation calculator and I'm using gcc as my compiler. I want to be able … | |
Hello, i am trying to solve that problem, it was already due for my class, an i am disappointed that i wasn't able to solve it can any body give a descent solution for that Q: The tiny tots tee-ball league has 12 players who have jersey numbers 0 through … | |
This is one part of my program, I need a loop that checks through the input(specifically the agent numbers) and then outputs the agent numbers that aren't in the input, from 1 to 20(because there should only be 20 agent). [CODE]void not_part() { ins.open(in_file); int i=0; int sum=0; cout<<"AGENTS WHO … | |
OK... I have a program that runs and sends output to a game window. It is a magic roleplaying game online. I am using getpixel to look for when my energy is down and then I send a double click to my healing potions. All is well and working. This … | |
Hi all, I have had a look around the forums but i could find anything, if someone could point me in the right direction for this. What is the best way to handle an sql connection, in my program I have to get data from the server on a button … | |
I need the code in console Applecation | |
Hi Guys, I am trying to make a connection with Oracle 11g which is installed on a server 2008 BUT have problems with the ConnectionString. Could you please let me know how I set a correct connection String while I have parameters like these: Database name: GISData Server Name : … |
The End.