I need a table for my Winform app and my question is what is the best control to use for it. In my table i need to:
I serached the web for some kind of tamplates for tables or any other examples of designed controls with no luck, i know java and c++ have many of that kinds. If you can recommand me of such sites...
Thanks.
This article will write the table programs using loops (for, do-while, and while loop) and functions (user-defined and recursion function) in the C programming language. A table (or multiplication table) of numbers is generated by multiplying a constant number with an iterative number from 1 to 10 to get the table.
In C programming language, %d and %i are format specifiers as where %d specifies the type of variable as decimal and %i specifies the type as integer. In usage terms, there is no difference in printf() function output while printing a number using %d or %i but using scanf the difference occurs.
Algorithm. Step 1: Enter a number to print table at runtime. Step 2: Read that number from keyboard. Step 3: Using for loop print number*I 10 times. // for(i=1; i<=10; i++) Step 4: Print num*I 10 times where i=0 to 10.
DataGridView should be enough. There's plenty of examples and tutorials, starting with MSDN one through some tips related to the control and finally more complex examples (not necessarily for DGV only) with data binding.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With