473,748 Members | 2,670 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,390
thread by: GigaKatowice | last post Feb 8 '13 by: Joseph Martell
Hi. I need to create a GlobalConfig class. But I want to derive from it in another class. Here's an example: public class BaseConfig { public string GlobalPath {get; set;} }
1
1,779
thread by: shouryavsengar | last post Feb 8 '13 by: Joseph Martell
Hello, i make a software which is working very fine.. i can Operate this software with any PC which is connected with same LAN. for that i make a .EXE File and run with system then its works fine. But problem is this when i make any change in this software then i have to change all .EXE File from every PC in the company and it took too much...
4
3,739
thread by: Benniit | last post Feb 7 '13 by: VanessaMeacham
Please I want to learn a new programming language. Either Java or C#. Please advise me which one I should opt for. Let me know their advantages and disadvantages, platform dependecies or operating system support. Thank you.
2
1,402
thread by: srinu sanaka | last post Feb 7 '13 by: Joseph Martell
what is static method? why we can use static method inc#?
2
1,897
thread by: hussey | last post Feb 7 '13 by: Joseph Martell
Please tell me can we create a property setting Name and its type during the running time application C#???? a lot of thanks in advance
0
1,026
thread by: kiriti451 | last post Feb 6 '13 by: kiriti451
I have a SaveButton through which I am trying to add a new row, edit the row and save the changes. I am able to edit the existing row in the GridView. The problem is when I try to add a new row the existing row is getting modified. If I use `dt.Rows.Add(dr)` then new row is getting added after editing the existing row and saving. Below is my...
9
2,979
thread by: michaeldebruin | last post Feb 5 '13 by: michaeldebruin
Hello everyone, Can you guys please help me with the following problem. The first time my application opens up, it should get the local date out of the System and store this in a registry key. But the second time it should get the date stored in that registryKey and compare it to the date right now. And there is where I am stuck, I just don't...
1
1,518
thread by: jayzone | last post Feb 5 '13 by: PsychoCoder
Please help me to display the record that match for the duplicate items in a Listview. I use C# with linq queries.
2
1,900
thread by: rahulwagh | last post Feb 4 '13 by: Mikkeee
Hi, Below is the response XML my programmer is getting from business service - <Data> <Maintain> <AssetList> <AssetDetails> <AssetDescriptor> <ns1:ParentProductCat category="ABC">ABC</ns1:ParentProductCat </AssetDescriptor>
3
5,548
thread by: ankush kaushal | last post Feb 2 '13 by: michaeldebruin
how to show only current date not time in webforms in visual studio as for date and time code is Label1.Text = DateTime.Now.ToString(); what for only date not time
13
3,753
JustRun
thread by: JustRun | last post Feb 1 '13 by: murathankocan
Hi, the below code drawing a custom Oval button, The problem is: I want after the click event to change its color many times but it stops at the red color and repaint again, so it always achieve just the first condition: using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using...
3
18,195
thread by: potupaul | last post Feb 1 '13 by: murathankocan
hii... plz help me out ,how to create rounded or oval buttons using c# in VS 2005.
3
1,549
thread by: Chintan Shah | last post Jan 31 '13 by: Chintan Shah
I have an application which inserts large amount of data in Access database. So to speed up the things i have set Indexed property to No. So at the end of insertion i need to set the index to the column of the one of the table to Indexed (Duplicates OK) through C#. Help would be really appreciated. Thanks
1
2,039
thread by: hrushikeshd | last post Jan 31 '13 by: Rabbit
I want to display my data in rich-text box in the tree like structure,i fetch the data from the data base MSACCESS & i want to print it on my rich-textbox, what can i do ? exampale is :-A | |__A1 | |_A1_1 | |_A1_2 |__A2 |__A3 ...
0
1,132
thread by: Saumitra Kumar Paul | last post Jan 31 '13 by: Saumitra Kumar Paul
I save a "SalesReturn" object in my library which has few objects as property. namespace BusinessObjects { public class SalesReturn : ObjectBase { private Int32 pSalesReturnId; private SalesPerson pSalesPersonDetails=new SalesPerson();
0
1,042
thread by: madankarmukta | last post Jan 28 '13 by: madankarmukta
Hi, Can anyone provide me the link/URL that provides insights on creating a PDF report in c#.Net. It is required to highlight the "Reasoncode" with Markup tools in PDF Report."ReasonCode" is one of the field/column of the table from where the PDF Report is getting pull. Please provide your valuable inputs.
2
14,543
PsychoCoder
thread by: PsychoCoder | last post Jan 25 '13 by: michaeldebruin
NOTE: Posted this on my blog this morning but also felt the bytes community could benefit from it. I've seen this question asked many times on different forums and thought I'd develop a solution for retrieving your Windows product key. It's actually a little mnore indepth than I initially thought due to the fact that the key is encoded as a...
0
1,216
thread by: Sotona | last post Jan 24 '13 by: Sotona
I need to create WinForms application that reads spooled text file and prints reports (invoice) in PDF or on paper.I was thinking to use reportviewer control and .rdlc report.My biggest problem is that i don't know what is the best way to get strings from spooled file to report.Strings in the spooled file are in the fixed positions except the...
3
1,527
thread by: vinothsou | last post Jan 24 '13 by: Rabbit
hai i am student working on a project in c# to maintain the datas from a solar battery monitoring.i already imported the datas from the battery monnitoring and saved them in mysql database and retrived the data in c#. i have problem in retriving the data in accordance with the date and time range selection. what i am trying to...
1
1,923
thread by: immanuvel | last post Jan 23 '13 by: Rabbit
I am making an application that runs on Machine1 and the purpose of the application is to copy the files from Machine1 to Machine2. It works fine but i have to share the folder of the Machine2 where i copy the files. Is it possible without sharing. please do reply.
3
1,328
thread by: Dane2020 | last post Jan 23 '13 by: Rabbit
What is the command prompt 2009 command used to compile and execute a command. I am trying to compile a .cs file in C# and it is not been possible to use the csc command to make it come through so i am wondering if there is any special code for the 2009 version or if there is something I am doing wrong. Can someone please tell if there is any way...
1
1,430
thread by: jaxbdog | last post Jan 23 '13 by: Eliaspirante
I have three forms: Form1, Form2, and Form3. Form1 has two buttons. The first button shows Form2, and the second button shows Form3. On Form2 I have a label, button, and a ColorDialog. On Form3 I just have a label. I am trying to find out how to change the backColor of the label on Form3 by using the the ColorDialog in Form2.
6
10,865
thread by: Syed Hadi | last post Jan 23 '13 by: Syed Hadi
//user list view da = new SqlDataAdapter("SELECT * FROM ", con); DataTable t = new DataTable(); ds = new DataSet(); da.Fill(ds); t = ds.Tables; listView1.View = View.Details; for (int i = 0; i < t.Rows.Count; i++) ...
1
10,968
thread by: parth0072 | last post Jan 22 '13 by: Frinavale
I am experiencing an error "Object reference not set to an instance of an object." Here is my code: using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security;
1
1,564
thread by: TPTlKolongo | last post Jan 20 '13 by: PsychoCoder
the codes is not working the task manager is still activate how can i disable it??

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.