Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: ontheline89 [x]
Question 12 Mar 2013   license: CPOL
Hello, I want to start Blinking the Label if the Last ROW in the Datagridview has entry Critical. I really dont know, how to check whether that last row contains word Critical or not. Thanks.
Question 12 Mar 2013   license: CPOL
Hello, Below code highlight the entire row, but i need to highlight only specific CELL. private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { int colIndex = e.ColumnIndex; int rowIndex =...
Question 11 Mar 2013   license: CPOL
Hello,I am trying to change the cell color. The code run successfully and the Back color changes but after sometime i get error which is Object reference not set to an instance of an object. at line if (theRow.Cells[colIndex].Value.ToString() == "Normal")private...
Question 8 Mar 2013   license: CPOL
Hello, I am trying to Change the Back color of a Cell in a Datagridview if the Column value >39. I am using below code , private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { // If the column is the Artist column, check...
Refreshing a Chart in C# by ontheline89
Question 7 Mar 2013   license: CPOL
Hello, I am drawing a Chart on Windows Form using C# and chart is using Database Table. Can anyone please tell me, what is the easiest way to refresh the chart as more data is inserted into a database ?
Strings Assignment in C# by ontheline89
Question 27 Feb 2013   license: CPOL
Hello, Can anyone please tell me what is the mistake in it. string Stat; if (fsensorvalue1 >= 05 && fsensorvalue1 = 30...
Question 26 Feb 2013   license: CPOL
Hello, I am storing values in SQL Database table as floating point. But i dont need a long floating number, just want to display it in two decimal places. Thanks
SQL Query and Displaying by ontheline89
Question 26 Feb 2013   license: CPOL
Hello, I am inserting data in a SQL Database Table with columns SensorID,SensorValue, DateTimeWhere SensorID is constant. I need to display database table in a datagridview in a Sorted form with respect to DateTime. Can anyone please tell me the SQL Query for that. Thankyou !
Question 13 Feb 2013   license: CPOL
Hello, I want to use this statement richTextBox1.Invoke(new EventHandler(delegatein Console Application. How can i avoid richTextBox1. Thanks
C#
Question 12 Feb 2013   license: CPOL
Hello, I have made a Window Service which is saving data from COM Port to a Database. I have made Windows Form with one Datagridview. My question is, how can i automatically update datagridview when there is any new data goes into a database. Thanks
Question 11 Feb 2013   license: CPOL
Hello, I am inserting Records in a Database. I need my records to be shown in a Datagridview, when a button is pressed. Datagridview should show records only with SensorValue is
Question 30 Jan 2013   license: CPOL
Hello, I am trying to insert value (X) to a database, but now i want to compare that, if X last value is not equal to X present value then INSERT to a database table. I really dont know what will be its syntax. Thanks
Question 25 Jan 2013   license: CPOL
I am adding hexvalue in Table_1 . But if the hexvalue is not AA (or any specified value) then, i need to insert that hexvalue to Table_2. How can i do it ? Thanks try{ SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=mon26;Integrated Security=True"); ...
Question 17 Jan 2013   license: CPOL
I have created table, but How can i display database table in Windows Form ?SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=friday;Integrated Security=True"); SqlDataAdapter sa = new SqlDataAdapter(); string...
Error in SQL Line in C# by ontheline89
Question 16 Jan 2013   license: CPOL
I am getting error in Invalid Expression Term "," in SqlConnection sqlconn = new SqlConnection("Data Source=ARSALAN-PC;Initial Catalog=latestsensordata;Integrated Security=True");SqlDataAdapter sa = new SqlDataAdapter(); string query = "insert into Table_1(SensorValue,Time) values("...
Question 16 Jan 2013   license: CPOL
I am saving values to a database but I am not able to save them with current Time. I have created a colume with name Time in database, but dont know how to save time. SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=latestsensordata;Integrated...
Question 16 Jan 2013   license: CPOL
I am taking substrings in HEXADECIMAL Format and converting them in Decimal Integer. For displaying, i need to convert intergers to strings. After getting some correct values I am getting error.Input String is not in a correct format. string substring = string.Empty; ...
Question 16 Jan 2013   license: CPOL
Actually i am getting substrings like 19 or sometimes 1A.I am taking substring and converting it to a Integer. For displaying in richtextbox i am converting it to a string. I get errors after getting some correct values. error : Input String is not a correct format. private...
Question 16 Jan 2013   license: CPOL
I am trying to insert Record into a Database, but i am getting following error. Incorrect Syntax error near ')'using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using...
Question 16 Jan 2013   license: CPOL
I am saving incoming data from COM Port to a String first and then displaying sub string from that string in a richTextBox1. I need to save substrings with TimeStamp to a SQL Server Database. What i need to do for it ? Thanks !In below code, i need to store substring with TimeStamp in...
Question 15 Jan 2013   license: CPOL
I am display data which is coming at COM Port. I am saving that incoming data to a String and then displaying sub string from that string. I need to save substrings with TimeStamp to a SQL Server Database. What i need to do for it ? private void DisplayData(MessageType type, string...
Question 30 Dec 2012   license: CPOL
Hello everyone, i am new to C#, i am getting Output : 7E 45 00 FF FF 00 01 0A 00 93 00 00 01 00 00 01 00 02 17 B5 70 20 7EI am using following below Code. I need to display only 17 B5 elements. what should i do ? Thank you !using System;using System.Collections.Generic;using...

Page 1 of 1


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid