473,543 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,645
thread by: abelgebray | last post Mar 1 '16 by: PsychoCoder
I want the sql dependancy on gridview to be changed displaying all data rows help please my code is public void SendNotifications() { string message = string.Empty; string conStr = ConfigurationManager.ConnectionStrings.ConnectionString; using (SqlConnection connection = new SqlConnection(conStr)) { string query = "SELECT FROM .";
1
1,839
thread by: Tetemke Gebre | last post Mar 1 '16 by: PsychoCoder
I am working with C# graphics .I am drawing with elips. and I have timer that updates the cordinate of scanning line in every 27 milli second.when I start the timer the line starts sweeping the cirlce but at the same time the panal is also vibrating or flickering , which i don't want to do that. void t_Tick(object sender, EventArgs e) {...
4
9,629
thread by: oveshot16 | last post Feb 22 '16 by: nojiratz
When I am writing the degree symbol to a text document using the streamwriter it shows up with a Mysterious  in front of it. I know this has something to do with its encoding but I am new to encoding in general and Have no idea how to work it. here is my code StreamWriter sw2; sw2 = File.CreateText("DB\\ioSys.FIL"); string DegreeC =...
1
1,857
thread by: jayashreep | last post Feb 6 '16 by: Luuk
Hi, I am doing parsing an excel file but when i parsed the integer column it shows System.Double as Column Data type. Please help me to get out of this. I tried in excel to make customized column Data type, but still i get the double value.
1
1,488
thread by: pbturner | last post Feb 4 '16 by: pbturner
I have a TreeView (System.Windows.Forms.TreeView) control on a custom control (similar to the Output window in visual studio 2013). that control is placed at the bottom of a main form (like the visual studio ide). when i populate this TreeView control with data, it fills correctly, but, if the containing control is close to the bottom, the...
0
1,161
thread by: abcd987 | last post Jan 20 '16 by: abcd987
i am not able add checkbox property to my list view. unable to see even in property window of listview
1
1,335
thread by: showmetheway | last post Jan 18 '16 by: showmetheway
The database schema is as follows Database Table : Employee EmployeeID(int, pk) FirstName(nvarchar) LastName(nvarchar) Email(nvarchar) EmployeeType(int) Salary(decimal)
1
1,576
thread by: hloQt | last post Jan 9 '16 by: zmbd
""An unhandled exception of type 'System.NullReferenceException' occurred in WindowsFormsApplication2.exe Additional information: Object reference not set to an instance of an object." I am new at programming and I don't really get the explanation that I saw on the sites. When I am going to use a Button.performclick operation, I do get this...
0
1,755
thread by: 21n0 | last post Jan 8 '16 by: 21n0
Hi So I set up Mono for my Raspberry Pi that I can use C#. I'm converting a analog signal to a digital signal with a MCP3008. Now I want to use this signal in Unity3D to scale an Object. This is my script actually: using System; using System.Collections.Generic; using System.Text;
1
2,948
thread by: StarTrekCafe | last post Jan 1 '16 by: Luuk
hi. a blind it student using the jaws for windows screen reader from http://www.freedomscientific.com and doing certificate iv programming from http://www.upskilled.edu.au. doing a simple calculator. and have run into a stack over flow. have tried looking on the net, googled, and did read about recursive functions, and also stack over flow, but...
2
1,868
thread by: WaseemDeveloper | last post Dec 26 '15 by: adriancs
Hello Plz Guide me i have C# project and i want to attact data base with application then install on customer machine..
1
1,777
thread by: raviram | last post Dec 23 '15 by: adriancs
hi all below is the code in aspx page which has a tablewith id=rav so what i want is i have a texbox and button control if i enter some value in textbox( ie users choice) and click on button the value how much ihave entered that much tables should be displayed so any body give me any examples or give me any idea
3
1,850
thread by: shalata08 | last post Dec 23 '15 by: adriancs
I want to make a button when i click on it more than one button show.
1
2,095
Ammarhassan48
thread by: Ammarhassan48 | last post Dec 23 '15 by: adriancs
I'm working on a C# project.I'm using different types of controls in project.There is a confusion to name the control "numeric updown", what is the best naming convention for it ? I want expert opinion . Thanks.
2
1,601
thread by: PalashSachan | last post Dec 23 '15 by: adriancs
how can i check weather the last position of a string is integer or not?? For Example:- String str = "Hello123"; Now how can i check the last digit "3" is integer or string?? please help
2
1,959
thread by: mrijet | last post Dec 23 '15 by: adriancs
Hi, can anyone help me to guide on how to update using datetimepicker? Here is my sql syntax :- UPDATE table set Date='" + datetimepicker1.Text + "' WHERE ID='" + ID.Text + "'; After I run the message prompat said Syntax Missing.. ASAP me if got solution
1
2,307
thread by: Neptuno67 | last post Dec 23 '15 by: adriancs
I open a .txt file and read numbers separated by enters or spaces into an array list. http://i.stack.imgur.com/hZaE2.png Now what I want to do is to search (for 1 2 9 ) and send to the console. I have tried a lot of code but nothing seems to work :( This is my current code : using System; using System.Collections.Generic; using...
0
1,367
thread by: Denden | last post Dec 18 '15 by: Denden
I have this simple code on VB.NET that inserts data from Excel Spreed Sheet to SQL Server database, now i want the data to be inserted on my database automatically without manually calling the columnmapping.add. Basically, i will insert the data base on the header row on the excel spread sheet. Here is my code.. Using connection As New...
1
2,135
thread by: sandhya123 | last post Dec 18 '15 by: sandhya123
I am getting date from DB2 in CYYMMDD format 1234567,i have to convert this into normal asp.net date using C#.
0
1,311
thread by: nk pepcee | last post Dec 17 '15 by: nk pepcee
namespace Timed_Maths_Quiz { public partial class Form1 : Form { Random randomizer=new Random(); int addend1; int addend2; public void StartQuiz { addend1 = randomizer.Next(51);
2
1,642
thread by: shaliniraji | last post Dec 14 '15 by: shaliniraji
Hi Everyone, I would like to display application form as tabular format for that am using crystal report viewer..Here my issue is in my table I have bulk of data's but when i run my application it shows only 1st row of the table..I would like to display all the records which are present in table.. Here am using C#...
1
3,037
thread by: Luuk | last post Dec 5 '15 by: Luuk
Currently i have reponse like this: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header /> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FindByBarcodeResponse xmlns="http://www.pharmapartners.nl/services/locker/v1"> ...
0
1,156
thread by: rks2rk | last post Nov 19 '15 by: rks2rk
I am creating an Outlook AddIn, where clicking on AddIn button the mailBody of the particular mail will be stored in the control. Also i should be able to edit the contents of the control. I tried using following: https://yarte.codeplex.com/ or http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output But it...
0
1,134
thread by: michael1996 | last post Nov 17 '15 by: michael1996
Hello all , i have this part of code , and i don't know how to convert it to C# , can anybody explain me? Thanks for helping string stringify(double x) { ostringstream o; if (!(o << x)) return 0; return o.str(); }
0
1,105
thread by: Mazagangi2011 | last post Nov 11 '15 by: Mazagangi2011
Dears, I had long time developing windows applications using VB.NET and one of thing that I was always use is: Class (Test) and inside it there are some subs like the following: VB.NET Code. Friend Sub FLoadKeyLock(ByVal FRMNAME As Object) FRMNAME.Button1.Enabled = True

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.