4,588 Topics

Member Avatar for
Member Avatar for tony75

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 …

Member Avatar for tony75
0
196
Member Avatar for sr.senthilnathan

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 …

Member Avatar for tinstaafl
0
389
Member Avatar for bilal.saim

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 …

Member Avatar for JorgeM
0
406
Member Avatar for rotten69

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 …

Member Avatar for ddanbe
0
218
Member Avatar for glad024

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 …

Member Avatar for ChrisHunter
0
391
Member Avatar for SQLpower

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 …

Member Avatar for SQLpower
0
546
Member Avatar for ChrisHunter

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 ? …

Member Avatar for Kru
0
218
Member Avatar for evansment
Member Avatar for Chase.Dangerfield

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 …

Member Avatar for happyHacker
0
787
Member Avatar for Faisal_ali

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 …

Member Avatar for rotten69
0
220
Member Avatar for siralv1

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?

Member Avatar for james6754
0
270
Member Avatar for plbo

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 …

Member Avatar for james6754
0
819
Member Avatar for efe.ozyer

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 = …

Member Avatar for efe.ozyer
0
405
Member Avatar for rajesh1158

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) …

Member Avatar for tinstaafl
0
229
Member Avatar for PickledPeppers6

**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() …

Member Avatar for ddanbe
0
213
Member Avatar for Woodenhousen

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 …

Member Avatar for sohaiby
0
1K
Member Avatar for clusterworks

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 …

Member Avatar for AleMonteiro
0
286
Member Avatar for peevey

# 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?

0
82
Member Avatar for efe.ozyer

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

Member Avatar for tinstaafl
0
474
Member Avatar for arjun.walmiki.1

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; …

Member Avatar for efe.ozyer
0
468
Member Avatar for RT00220489

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 …

Member Avatar for tinstaafl
0
703
Member Avatar for Drekh

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() …

Member Avatar for arjun.walmiki.1
0
14K
Member Avatar for opel123
Member Avatar for shahai.ali

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 …

Member Avatar for shahai.ali
0
186
Member Avatar for shahai.ali

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 …

Member Avatar for Philippe.Lahaie
0
214
Member Avatar for ComputerFirstAde

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 …

Member Avatar for ComputerFirstAde
0
165
Member Avatar for thechampp

How can I use class from different solution in other class in other solution?

Member Avatar for pritaeas
0
67
Member Avatar for richjohn.bulante

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!

Member Avatar for sandeepmittal11
0
3K
Member Avatar for Dan301978

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 …

Member Avatar for BhuvanRam
0
71
Member Avatar for Beginerman

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 …

Member Avatar for Beginerman
0
319

The End.