Not able to delete record from datagrid

H

hrishikesh musale

hi friends, i simply want to delete record by using asp.net datagrid
control for that i need to pass one cell value to
my function which will delete record physically
my column is string type
Dim txtConsultID As TextBox = e.Item.Cells(1).Controls(0)
is giving me error like "Specified cast is not valid. "
can u tell me how to get particular cell value of my grid
Please Let me know
Thanks and Regards
Hrishikesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top