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

Recommended Answers

All 3 Replies

just add values to a tmp table and call it to populalte the grid. Every time you press ADD just call the REQUERY function. for details search datagrid threads

plz post the sample code. or upload the project in ZIP format.


Regards
Shaik Akthar

plz post the sample code or upload the project in ZIP format for me too

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.