crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Getting Error DataControlRowType does not found in dotnet GridView?
Question Posted on 21 Jan 2021Home >> DotNet >> ADO.NET >> Getting Error DataControlRowType does not found in dotnet GridView?

Getting Error DataControlRowType does not found in dotnet GridView?
Getting this error because Namespace is not define to access DataControlRowType Enum. So need to define System.Web.UI.WebControls Namespace. After that write below code

Using System.Web.UI.WebControls
Using System.Web.UI.HtmlControls
...........
...........
...........

protected void GrdTask_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
}
}
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Getting Error DataControlRowType does not found in dotnet GridView?

Connection and Disconnected Scenario in ADO.Net

Error illegal characters in path while reading xml from dataset

Code to apply distinct keyword record on dataset table

Define different execute methods of ADO.NET Command Object






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap