1
Answer

Creating a list from a datagrid?

Elliot

Elliot

16y
2.4k
1
I'm very new to Visual Basic. I have discovered that it is much easier to design the form than it is to make it work with code. I'm a college student. I'm trying to make an application that will help me keep track of my assignments.

I have three textboxes. They are assignment name, class name, and due date. I want to push the "Add Assignment" button and move all the text from the boxes into three columns in a datagrid. I've figured out how to code the datagrid to create a new row when the button is pushed, but I can not find out how to put the text into the row that is created. What sort of code would do this?
Answers (1)
0
johnny_yammine

johnny_yammine

NA 8 0 20y
Thank you a lot for your help and especially to abdallah, i search for the algorithm and i think i get e clear explanation about it and also an algorithm. thank you
0
abdullah

abdullah

NA 111 0 20y
first you have to choose a way (algorithm) for solving the equations...... then put this algorithm as a method that take 3 parameters>>>> maybe the 4 arrays or 4 vectors ....Representing the 3 Equations and the Constants.... Equations in the form of....x+y+z= a ; where a in the constant there is a nice algorithm called Gaussian Elimination with Scaled Partial Pivoting.... Search for it .....if you can't find it just reply to me i will try to get it for you........ Good luck......
0
Mykonine

Mykonine

NA 520 0 20y
Sorry for the double post. I need to clear up my last statement. Solving for a system of degree two or higher gets very messy, very quickly, especially when you're trying to program it. Your best options in that case would be a brute force solution via graphing or to simply do it by hand.
0
Mykonine

Mykonine

NA 520 0 20y
If you mean a three-variable three equation linear system, make an augmented matrix, and solve it via matrix determinants or the Gauss-Jordan method, one of the two. Hard to explain here. Look around online for "augmented matrix" and you should be able to find plenty of info. If you mean systems of three unknowns where the degree of the equations exceeds 1, then I'd give up for now.