i have a grid view in a web form and grid view have a label i need to find if label.text is null or not
Loading
i have a grid view in a web form and grid view have a label i need to find if label.text is null or not
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
tharanga sahabanduPosted Nov 16, 2022, 8:43 AM
Thanks bros...
vishal & amith
Vishal JoshiPosted Nov 16, 2022, 5:53 AM
Hello
You can try IsDBNull. please check below sample code
Thanks
Amit MohantyPosted Nov 16, 2022, 4:07 AM
You can check in OnRowDataBound event of the gridview control.