Hi Every one
Im trying to pick a date from date and time picker, as a result the date will be inserted into a datagrid cell or column. I was able to do it with a textbox but I have no idea how to do it with a datagrid.
Please help.
Or set a couple of member variables to make sure that the user
actually selected a cell. You can do this in the DataGrid1_CurrentCellChanged event.
Code:
m_nSelectedCell = Datagrid1.CurrentCell.ColumnNumber
m_nRowNumber = Datagrid1.CurrentCell.RowNumber
so you would check the value of these variables prior to
assigning any values to them (so they dont crap-out)
Eric, did you even try? Please open a new thread if you have a specific question as this one is a few months old and JAM has not been on for over a month.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.