hi all!

In Vb i have used Data Grid viewer.It is used to display the textbox content in form, whenever <ADD> button is clicked.

When i click the <ADD> button I'st time, the text box content is displaying correctly.
When i click the <ADD> button II'nd time, the text box content is added in the second row but it is replacing the Content of the first row also.

Always the text box value is added in both I'st and Last row. I could'nt able to Debug the error.

Can Anyone help to resolve the problem.

Thanks in advance.
Elanch

Please post your code to try anyone to solve.

my view is that create a tmp table for your values and populate the grid. see my references for data grid in other post. if not clear then please post ur code and i will look into it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.