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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.