Which two properties are on every validation control?

Answer Posted / aadesh kumar

We have two common properties for every validation controls
1. Control to Validate,
2. Error Message.
What tags do you need to add within the asp:datagrid tags to bind columns manually ?
< asp:DataGrid id="dgCart" AutoGenerateColumns="False" CellPadding="4" Width="448px" runat="server" >
< Columns >
< asp:ButtonColumn HeaderText="SELECT" Text="SELECT" CommandName="select" >< /asp:ButtonColumn >
< asp:BoundColumn DataField="ProductId" HeaderText="Product ID" >< /asp:BoundColumn >
< asp:BoundColumn DataField="ProductName" HeaderText="Product Name" >< /asp:BoundColumn >
< asp:BoundColumn DataField="UnitPrice" HeaderText="UnitPrice" >< /asp:BoundColumn >
< /Columns >
< /asp:DataGrid >

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the Managed Execution Process

1655


Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?

1623


Explain the top .net class that everything is derived from?

559


Explain what is the difference between encrypting a password and applying a hashing?

563


Explain can the validation be done in the server side? Or this can be done only in the client side?

512






Is .net core stable?

498


What are the differences between com architecture and.net architecture?

565


What's the .net collection class that allows an element to be accessed using a unique key?

570


  • Accomm
  • i have this code.now on server side i want to compare this id(Accommodation) value and want id i.e.Accommodation.visible=true;

    1388


    What is interface and abstract class in .net?

    557


    How does cas works?

    579


    Do you know what is lambda expressions in c#?

    553


    Which namespace does it belong to by default?

    573


    What is strong-typing versus weak-typing? Which is preferred?

    553


    Can a try block have nested try blocks?

    605