I have a webform in asp.net.In that webform there is 2
division class(DIV).in one of the div class there is a text
box for enter the id & a button for to check id with
database value.My doubt is that how can i appear the 2nd
Div contents only when the id is true with database
value.if wrong do not display the div . i Want code in c#.

Answer Posted / sam

We have give Property runat="server" for th division in aspx page

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of asp.net mvc framework? : asp.net mvc

533


How ASP and ASP.NET page works? Explain about asp.net page life cycle?

577


Can you explain one critical mapping? Performance issue which one is better?

462


What is active web pages?

496


How Can assign alias name for ASP.NET Web API Action?

931






What is xaml? Are xaml file compiled or built on runtime?

518


how to elimainte the similar data from the different tables

1701


What is round trip in asp.net?

509


What are the ways of preserving data on a Web Form in ASP.NET?

613


If we remove web.config or machine.config from the application then, is this application will works?

589


What is the request flow used for asp.net mvc framework? : asp.net mvc

526


How to bind all the binding controls in a page at once in ASP.NET?

520


What is microsoft windows sharepoint services?

538


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

488


List the advantages and disadvantages of user control an custom control?

527