4,588 Topics
| |
Hi I try to write this program but how I think math? A general store has the following offer. If you shop for a minimum of 200 $ will receive a 5% discount on the full amount. If you shop for at least 400 $, you get 10% off the … | |
How to write C# Code to Send and receive message through HSDPA Dongle? Currently i am working on a library management project, on this project i need to send overdue details of books to the user via a sms message using HS-DPA Dongle ( HUAWEI 1750). Please someone help me … | |
main.aspx ----------- <body> <form> id="form1" method="post" runat="server"> <asp:TextBox ID="TKullanici" runat="server" Height="27px" style="text-align: left" BorderColor="Silver" BorderStyle="Solid" Font-Size="Medium" ForeColor="#999999" BorderWidth="1px"></asp:TextBox> <asp:TextBox ID="TSifre" runat="server" TextMode="password" Height="27px" style="text-align: left" BorderColor="Silver" BorderStyle="Solid" Font-Size="Medium" ForeColor="Gray" BorderWidth="1px"> <asp:Button ID="BGiris" runat="server" cssclass="SBGiris" Text="Giriş" onclick="BGiris_Click" xmlns:asp="#unknown" /> </form> </body> main.aspx.cs ------------ protected void BGiris_Click(object sender, EventArgs e) { string … | |
Hi everyone, I'm learning C# at the moment and really enjoying it. I'm wondering though how I can develop my own algorithms. do I need to read on data structures and algorithms? Is there a book for all programming languages so you can apply the knowledge to basically any programming … | |
hey guys just need some help here..i don't know how program it in C#.. i need a class file in C# using Microsoft Visual Studio 2008 that will save inputted data to the MySQL database..and also a class file that will transfer data from a table to another table in … | |
Hello, I have a datagridview, connected to my database using Nhibernate and my question is how can I exit the Select Mode after I update? Cause at the moment after I click update and it updates, the edit mode is still on, I would wanna turn it off when I … | |
I'm reading through a C# coding standards document and come across a section that reads as follows: * Try to prefix Boolean variables and properties with "Can", "Is" and "Has". Can anyone give me an example of hows it's done or maybe a useful link on the subject please ? … | |
Hey I was trying to create an Managed Dll so i could call it from C# Im using i tried using pragma comment (lib, "user32.lib") I'm Continually getting linker error with the project, even though I have linked the header file and the lib to the project. Another Clue I … | |
Hello, I'm new to C# development. I've been working on a C# project (management system). Depending on the requirements i may have to build further versions of software. I want to know how to build the database such that even when i install next version of software, it would load … | |
i am trying to put train stations on the combo box in order for when the system is run using c# i will be able to pick which train station i want..can anybody help? | |
Hi,I'm trying to do a parental control software project in C#. I made blocking and unblocking specific websites by using hosts file but the other part of my project is blocking the internet access. When I click a button, the internet access will be blocked and when another button is … | |
Hi every body, i want to get a data from List<T> so; class Npc : IDisposable { public short id; public float fX; public float fZ; public float fY; } internal List<Npc> m_arNpcArray = new List<Npc>(); I want to get data like this; m_arNpcArray.GetData(int id); GetData() { for(int i = … | |
I found a C# script to copy any irregular portion from an image (using free hand drawing) and put it on another image. I have never worked with C#. All I want is to copy the irregular part and save it as a new image with transparent background (png format) … | |
**In some need of some serious help in converting this pseudo code into C#:** start Declarations num deptNum num salary num hrsWorked num SIZE = 7 num totalGross[SIZE] = 0 string DEPTS[SIZE] = “Personnel”, “Marketing”, “Manufacturing”, “Computer Services”, “Sales”, “Accounting”, “Shipping” getReady() while not eof detailLoop() endwhile finishUp() stop getReady() … | |
I am completely new to the C# development world and I am working on a small application which will allow a user to add basic employee details to a employee table. I can get the code to add a row to the table but the question I asked myself is … | |
Hi everyone! I have trouble putting together a chart with the contents of a data table that is basically as sex, marital status, age, and DATE . Im working with a bar chart or column chart, but I can't make it work like I want. What im looking for is … | |
# Template Matching(Aforge) # Hi all, I'm having difficulties on how to use the codes for template matching because i dont know how to create a template in order to match them,is there any tutorials that can guide me? | |
BYTE GetByte(char* sBuf, int& index) { int t_index = index; index++; return (BYTE)(*(sBuf+t_index)); } int GetShort(char* sBuf, int& index) { index += 2; return *(short*)(sBuf+index-2); } and i cannot convert this | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Ports; using System.IO; using System.Runtime.InteropServices; namespace PortDataReceived { class Program { static void Main(string[] args) { SerialPort mySerialPort = new SerialPort("COM1"); if (mySerialPort.IsOpen == true) mySerialPort.Close(); mySerialPort.BaudRate = 2400; mySerialPort.Parity = Parity.None; mySerialPort.StopBits = StopBits.One; mySerialPort.DataBits = 8; mySerialPort.Handshake = Handshake.None; … | |
Hi.. I am trying to create a simple desgin in windows applcation using C#.NET, where I have dived my page into 2 panels using split control. The first panel has images lined up vertically, one after another. I would want that when I point a mouse on any image, the … | |
Hello I have made a little program in C#. I am writting it in notepad and compiling via command prompt. But when i start that program there is console window and I dont know how to hide it. Here is the code: [CODE]using System.Diagnostics; class Program { static void Main() … | |
how to include c++ dll in a windows application created in c#? | |
hi i have following code in c# on button_click ReportDocument cryRpt = new ReportDocument(); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos(); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo(); ConnectionInfo crConnectionInfo = new ConnectionInfo(); Tables CrTables ; cryRpt.Load(@"c:\users\shahaiali\documents\visual studio 2010\Projects\CrystalReportTesting\CrystalReport1.rpt"); crConnectionInfo.ServerName = "ShaHaiAli-PC"; crConnectionInfo.DatabaseName = "StudentInfo"; crConnectionInfo.UserID = "user"; crConnectionInfo.Password = "pass"; CrTables = cryRpt.Database.Tables … | |
hi i have a dropdown which is connected with a database and containing some sort of items, and a gridview. i want to show only those values into the gridview which is select from the dropdown. for example if i have the following values in to the database: value item … | |
Hi Guys, i am currently creating a database in c#, this i can do, the problem i am having is trying to network it to my wifes pc, after i build (release version) i transfer to my wifes pc, but it doesnt work, says that the database is read-only? and … | |
How can I use class from different solution in other class in other solution? | |
i have a problem on how to code for automatic generate an employee id whenever i registered an account in my system. i used asp.net as my front end and Sql Server Database 2005 as my back end.. thnx a lot! | |
Hi guys, I haven't been able to get a definite answer on this. I've been very kindly put on to resources regarding ViewState but they only talk about saving the state of controls - not C# objects. I've also had a thorough look through my ASP.NET book & no joy … | |
I need a little help with the below code. I am basically reading text from a .txt file and need to be able to convert the text into an array(fam6) that i can then search for a value that is typed into a text box. If said text box search … |
The End.