Why i'm getting this problem? 'ArgumentOutOfRangeException' was unhandled' in line #5.
- An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
- Additional information: Index was out of range. Must be non-negative and less than the size of the collection...
So i have a datagridview that has a button named "generate" to generate a random combination number next to the button column, My problem now is to pass the random number generated by the button to the column Assignment Key. The sample image below shows my wanted output.
Good day!
I'm creating a function for incremented ID generation
I'm getting an error: {"Input string was not in a correct format."} under line Convert.ToIns32(maxId). I also tried Int32.TryParse with the same error. The Output would be something ICTS2021002
string maxId =...
I would like to know the workaround to get the datarow from the selected control (combobox) in a group of controls(combobox) from the flowlayoutpanel and pass the value to a variable
Here is the code for the adding of controls based from the database. I tried using via messagebox to test the...
I have a combobox control, and it contains items:
123 abc
12 ab
abc 123
def
ghm 123
I want when i write "123" into combobox, then dropdown list will show:
123 abc
abc 123
ghm 123
I already have a code but I'm getting this error message:
An unhandled exception of type...
I have a databind datagridview with 4 columns, except for the first column which is an added column in the control for a symbol/color row. The first column will be filter flag to indicate an active or inactive users(Doctors). The 2nd column is a databinded column from database which has the...
Good Day! I have this code to highlight a duplicated row in datagridview, but cannot make the highlighting work. My datagridview is set to AutoGenerateColumns = true and getting my column name headers from my sql query.
public void _HIGHLYTSAME(DataGridView dgtable_dmgrphic)
{
for (int...
Hello sir, i have a datagridview which displays a patient list according to diagnosis code. The following code must display a patient list according to diagnosis code "A97.0 and A97.1" respectively
i have this code:
else if (miancmbdiag.SelectedIndex == 4)
{
string[] dengue_icd = {...
Good Day!
Need help on SQL query for my rdlc reporting file in visual studio. I have a BAR chart which displays the total patient collections but my chart displays all the data in specific dates and not according to group dates or any relevant term to say. The screenshot below tells the problem...
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.