4,588 Topics
| |
Hi there guys thanks for you help. Basically I have created a c# form based rot13 encryption program. The problem I am having is implementing these into a class with methods which can be accessed from the from. In the main from I have a textbox called message textbox I … | |
Hello to every one, I am writing a simple web browser on c# 2008 express edition using WPF. It is working fine with www websites and display all content correctly. But if I want to open some local webpage - for instance "file://C:1/1.htm", it is save the webpage instead of … | |
hi, can anybody send me the code for retrieving drug information and price list using access database and C# code with just two tables. thanks | |
Hiiiii!! Can any one help me, how to retrieve information of employee in text boxes if i enter employee number in c# using data adapter and also why we use data adapter? plzzzzzzz.... Thanking You!!! | |
please quick reply! i have a problem that when a record is in the database table then it returns the [B]monthlyBalance[/B] float value otherwise return 0.0 float value. I am using stored proc for this.please help [B]C# Code[/B] [code] conn.Open(); SqlCommand cmd = new SqlCommand("monthlyFees", conn); cmd.CommandType = CommandType.StoredProcedure; //cmd.CommandText … | |
I would like to retrieve the value of whats stored in a currenlty selected row in my datagrid and store it in a string. 1. Is this possible? 2. If so how might I go about doing it myDataGrid.Rows.Cell[0].etc.etc doesn't seem to work and it is all I could find … | |
Hey guys im having a little problem with this project im working on basically im making a desktop image uploader for this site [url]http://www.noelshack.com/api.php[/url] i have tried hacking around with some example code but cant get anything working i cant even check if the images are uploaded correctly because when … | |
i am having great difficulty on one of my assignments. AM I NOT ASKING FOR THE CODE, I AM JUST ASKING FOR SOMEONE TO POINT ME IN THE RIGHT DIRECTION SO I CAN DO SOME RESEARCH AND DO IT MYSELF. The specifiaction says " Different locations will be respresented by … | |
I need to generate nested classes using CodeDom. But I could not find any option to add a class( CodeTypeDeclaration) to another class as member. | |
I dont understand what im doing wrong! [CODE]public partial class Delete : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnSubmit_Click(object sender, ImageClickEventArgs e) { SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand comm = new SqlCommand("Delete into [Staff] (Staff_Number, Login_Password, Phone_Num) VALUES (@Staff_Number, @Login_Password, @Phone_Num)", conn); comm.Parameters.Remove("@Staff_Number", … | |
im trying to do the most basic c# program to show my college class and for some reason a couple of simple if statements are messing up my whole small program [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { … | |
Hi, I'm trying to read an excel worksheet that has cells with decimal numbers with exponents of 2 or more. When I read a cell that has a value of say 1002.00 in the cell, I'm getting 1002 when the code is reading the cell. In the formula bar in … | |
i need to create a reply for a msg file i saved on localdrive. I tried doing this and itworks.but the problem is that the .msg file contains images and so when reply is done this images are not got...below is the code i tried for creating the reply fot … | |
HI Guys. I'm trying to make my own lite program that can highlight specified chosen words (Syntax highlighting in short). I have a working method using Regex, but it is TOO SLOW. Here is what is currently: My Regex Statements: [CODE] public Regex SettingsAndComments = new Regex("--settings|-|", RegexOptions.IgnoreCase); public Regex … | |
[b]Split from - [url]http://www.daniweb.com/forums/thread37592.html[/url] [/b] Hi, I want to do following two steps. I am already done with first step. But I can't do the second step. Could anyone give me any idea how to do it? Step 1: After serialization, I load XML file's data in a datagrid in … | |
hello group members, can you suggest me how to structure C# web application I know that by default files are organized in much better way, but I need to know how a professional web-application is created. how can I do "separation" of code in much better way ? thanks | |
hello i need to learn C#. I am beginner and using Visual Studio 2005 first time. i am in my 8th semester of bachelors and i chose Network Monitoring System to develop kindly help me how to work on it... how step wise step i can lead to the final … | |
Hi All, Is it possible to take Backup of SQL Server Compact database (i.e. *.sdf) and Restore the same. Regards. | |
how to search the file using the C#.net windows application ? | |
Hi, unsurprisingly this is my first post :) I want to learn C# mainly to support work in Excel and I was wondering what development tools I need. There are so many variations from MSDN to Visual Studio Standard and others. I am a competant programmer in other (some odd) … | |
I created a c# graph. But, first time it is loaded, it is not show in the correct format(Pic1). For second ,third ,fourth etc time, it is shown in correct format(Pic2). | |
After getting substitutionGroup name i want to search that name in that file... my xsd file contains the following code... [code] <xs:element name="shape"/> <xs:complaexType name="shapeInfo"> <xs:sequence> <xs:element name="linecolor" type="xs:string"/> <xs:element name="thickness" type="xs:int"/> </xs:sequence> </xs:complexType> <xs:complexType name="triangle1"> <xs:complexContent> <xs:extension base="shapeInfo"> <xs:sequence> <xs:element name="sides" type="xs:int"/> </xs:sequence> </xs:complexContent> [/code] i want to search … | |
sir i want to get first 10 links of google search page by c# how can i copy top 10 URL of google search in text file using c# | |
Hi Experts, I use Visual Studio 2005. I want to retreive data into textboxes providing inputs at runtime. I used the following code.It works when if i provide input at design time but while providing the input at run time the following error message gets displayed. "Syntax error converting the … | |
Hello Can someone help me understand the difference? Human h = new Human(); or Man m = new Man(); vs. Human h2 = new Man(); recently I have seen an object instantiated like this - where it references this other object (after the "new" keyword ) I am trying to … | |
I am trying to integrate a matlab figure into a "Visual C#" application. So far I am able to exchange numeric values between matlab and c# and to plot figures. The problem is that the figure is not integrated in the overall application (a new window is opened). Is there … | |
I need help with the errors in my code. Here is my pseudocode along with my program code following: [B][U]This is my pseudocode:[/U][/B] Start Declare Variable int length int width int area Print (“Enter length of room in ft.: “), Input length Print (“Enter width of room in ft.: ”), … | |
I'M reading the book that's in the title. Let me show you what's going on. I'M given the following code, an example of Inheritance. [CODE]using System; namespace CritClone { class CritViewer { static void Main(string[] args) { CritViewer cv = new CritViewer(); }// end main public CritViewer() { Clone myClone … | |
I'm trying to create a program in C# that allows for arithmetic of Complex Numbers. Just adding, subtracting, multiplying and dividing. Anyone got any suggestions? | |
I have a datagridview with 10 columns. Every month the user will update new info in the grid. I would like to have a datetimepicker next to the binding navigator. The purpose of the datetimepicker is to scroll forward or backward month by month. If scrolling forward the datagridview creates … |
The End.