fill datagridview without going through a button, but by a textbox
-
Good evening everyone, I would like to know if you can fill a datagridview from a textbox? If possible be sure to help me pls
-
Good evening everyone, I would like to know if you can fill a datagridview from a textbox? If possible be sure to help me pls
-
Possibly, but it will depend on how you pass the data from the textbox to the grid. Please edit your question and add some proper details of what you are trying to achieve.
Yes, I try to recover the value from my table, using the Textchanged event I managed to display the data but when I try to add the 2nd what was displayed disappears. Do you have any idea why this problem is happening?
-
Yes, I try to recover the value from my table, using the Textchanged event I managed to display the data but when I try to add the 2nd what was displayed disappears. Do you have any idea why this problem is happening?
-
Member 14192216 wrote:
Do you have any idea why this problem is happening?
Most likely because you are doing something wrong. But since we cannot see your code it is difficult to guess how you are transferring the information to the DataGridView.
I post the code I used here?
-
I post the code I used here?
Well we cannot read it otherwise. Please edit your original question and add the code*, and any other details. *When posting code, please ensure you use the correct <pre></pre> tags around it so it is readable, like this:
// some C# code
public class Foo
{
Foo(){}
void DoSomething()
{
Console.WriteLine("Doing something");
}
}Also in future please choose the appropriate language forum, rather than Visual Studio.