Hi,
I have one more issue..

tht after searching part number in datagrid, it will display the searched item in same datagrid. After tht i want to refresh the datagrid with completely.

can you please help me on this.

Sushma.s

Recommended Answers

Have you tried the refresh() function?

this.datagridname.Refresh()
DoEvents
Jump to Post

All 2 Replies

Have you tried the refresh() function?

this.datagridname.Refresh()
DoEvents

You may try DataGrid1.Clear
Then
Reload the Data to the Grid with the new call

Be a part of the DaniWeb community

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