What is the easiest way to accomplish this:
Image ^^
I've made this picture with Excel :P
I have a Database of tasks and I would need to make a preview of them like an calendar.
Like you see on the picture some tasks need 2-3 days to complete so I would need to draw rectangle or something that would represent that task and over it task ID/Name should be written.
That rectangle...
Search Result
Collapse
57 results in 0.0070 seconds.
Keywords
Members
Tags
-
Calendar or something like that
-
dataGridView Selection?
Is it possible and how to disable selection of 1'st row in dataGridView.
I made it select some other row, but even so when u try to move with arrows on keyboard it'll select 2'nd row(cause 1'st row was selected initially and you can see it's selected on RowHeader-1'st/Left Column)
This is my code for selecting row:
...Code:dataGridView1.ClearSelection(); dataGridView1.Rows[BoPrI].Selected = true;
-
How can i change the forecolor of a row who has a column value of Failed to Attend
In appointment form, the user can add an appoinment in database and display it on a gridview. also, user can update this appointment by choosing among the value inside the combobox (named status) like "attended" and "failed to attend" .
If i will to edit certain appointment and update its status to "failed to attend", when i click btnSave the forecolor of the text inside that row must became red.
... -
How to make a decision on the colour of a datagridview cell
Hi All,
Does anyone know if it is possible to check the cell colour at runtime and make a decision on it ?
I have a DGV that if the time in each cell is past a specific time it will paint the cell a particular color.
This ticks through once a minute. It works perfect.
The problem lies when I have a cell that is over a certain time I want to write to the audit and fire an email off. This... -
prashant82 started a topic I want to access windows form control from another class of same project?in C SharpI want to access windows form control from another class of same project?
I have a rich textbox control on a windows form.
I want to update the log information in that control which
comes from another class in the same project.
Suggestions please?
Thanks
Prashant -
Looping in Datagridview
Mine is a windows app. containing forms named BOM nd BOMSelected..
There is datagridview in BOM which contains checkbox column.. When the user selects checkbox, the selected rows should be seen in the datagridview of other form, SelectedBom..
I have coded but don't get it working.. Some error..
Can you please help ??
Your Help is greatly appreciated..
Here is what i have done... -
Looping in Datagridview
I have a datagridview with checkbox column in form1.. When the user selects certain rows with checkbox, I wish those selected rows be visible in datagridview in form2..
Here is what i did..
First looped through rows with j, in the rows, counted columns available via i and then, tried to obtain the checked values..
...Code:For j As Integer = 0 To Form1.dgv1.RowCount - 1 -
Datagridview and database
Hey.. I have a form consisting of datagridview and two buttons of update and load all.. I have used fillby method to obtain data from database. The query seems to be working fine, except that the data is not shown in the gridview.
As in, for the qeury, if the returned rows are 2, it will show 3 rows in the gridview, but all empty.
Here is my code.. Please help me !!
Vb.net and Ms Access 2003
...Code: -
maheshwag started a topic Problem Of Custome DGV Not Allow Set Focus To Next Control On Enter Key Pressin C SharpProblem Of Custome DGV Not Allow Set Focus To Next Control On Enter Key Press
I have Following Custom DGV:
...Code:public class MyDataGridView : DataGridView { protected override bool ProcessDialogKey(Keys keyData) { Keys key = (keyData & Keys.KeyCode); if (key == Keys.Enter) { Tab(keyData); return true; } return base.ProcessDialogKey(keyData); -
Transfer Of DataBound Datagridview Row To Another Datagridview
I have a two datagridview as
datagridview1
datagridview2
datagridview1 has a checkbox columns which check the rowindex and transfer the same row to another datagridview2
datagridview1 is a databound control and having columns as below:
checkbox Column,Name and Amount
where as datagridview2 also having same column accept checkbox column.
I wants to transfer... -
KeyDown Event On DGV Combobox Editable Column
I have a databound combobox column on DGV I am trying to fire a keys on keydown eventhandller on DGV as below:
...Code:private void Form1_Load(object sender, EventArgs e) { string connstr = "server=.;initial catalog=maa;uid=mah;pwd=mah"; SqlConnection con = new SqlConnection(connstr); con.Open(); string sql = "select name from dummy"; -
Delete Uncommitted New Row Of DGV
The new rows of datagridview is cannot deleted as it is committed for add new rows in controls. I have search many forums for the same but finally it is remain unsorted.
The DGV does not allow to delete new rows and throw error like "Uncommitte d new row cannot deleted."
If I wants to delete the new rows of DGV by programmaticall y than is there any way?.
The above question is for... -
Change ellipses (...) to custom chars in DataGridView when cell content is truncated
I am developing a project in VB.Net and I am using Gujarati fonts (non-Unicode).
I have placed a DaraGridView (DGV) and displaying the data stored in database in DGV.
In DGV, if the contents of the cell is truncated, the DGV shows ellipses (three dots) (...); but as the font is set to a Gujarati font, it displays a Gujarati alphabet "ઈઈઈ" instead of "..." because the Gujarati character...Last edited by Nikunj Bhatt; Dec 15 '10, 10:31 PM. Reason: Linked the URL, previously it was just as an unformatted text instead of a hyperlink. -
Add Row To Bound DGV By Textbox
I have demonstrate the DGV as per following way.
bound DGV:-
I am trying to add input of textbox into DGV as below.
...Code:private void Form1_Load(object sender, EventArgs e) { string connstr = "server=.;initial catalog=maa;uid=mah;pwd=mah"; SqlConnection con = new SqlConnection(connstr); con.Open(); DataSet mydatasett; -
DataGridView CellBeginEdit question
I'm having problems with DGV's in .NET when it comes to saving information from the view. If the user has been entering information into the record (i.e. CellBeginEdit has been raised, but not CellEndEdit yet) and then saves the record, the changes made to the row will not be saved, because they haven't clicked off the row.
Short of creating a global variable and updating it, is there a property I can check to see if the user is currently...