.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> C# >> Post New Question Subscribe to Interview Questions

How to format a grid at runtime based on some condition

Posted By :nitu     Posted Date :March 22, 2011    Points :40   Category :C# 
i think we can do that by using
if(e.row.column[1].text>10)
{
e.row.backgroundColor="green"
}

wat say??

You can also find related Interview Question to How to format a grid at runtime based on some condition  below: 

What are the requirements to create a CLR based user-defined type?

  
CLR must be enabled for the instance and A class created with a CLR-compatible language. (More...)

What is the Common Language Runtime (CLR)?

  
The Common Language Runtime is the execution engine for .NET Framework applications.
It provides a number of services, including the following:
1. Code management (loading and execution)
2. Application memory isolation
3. Verification of type safety
4. Conversion of IL to native code
5. Access to metadata (enhanced type information)
6. Managing memory for managed objects
7. Enforcement of code access security
8. Exception handling, including cross-language exceptions
9. Interoperation between managed code, COM objects, and pre-existing DLLs (unmanaged code and data)
10. Automation of object layout
11. Support for developer services (profiling, debugging, and so on) (More...)

Define precondition and post-condition to a member function.

  
Precondition:
A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation is not responsible for doing anything sensible if its precondition fails to hold.
For example, the interface invariants of stack class say nothing about pushing yet another element on a stack that is already full. We say that isful() is a precondition of the push operation.


Post-condition:
A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function. A class is implemented correctly if post-conditions are never false.
For example, after pushing an element on the stack, we know that isempty() must necessarily hold. This is a post-condition of the push operation. (More...)

What are the conditions that have to be met for a condition to be an invariant of the class?

  
1.The condition should hold at the end of every constructor.
2.The condition should hold at the end of every mutator (non-const) operation. (More...)

Forms-Based Authentication

  
Forms-based authentication is used to implement customized logic for authenticating users without having to worry about session management using cookie. It gives developer more access to specify which files on the site can be accessed and by whom, and allows identification of a login page [3,7].
This mechanism will automatically redirect the unauthenticated user to login page and ask them to provide proper credentials (e.g. username/password combination). If login is successful, ASP.NET then issues the cookie to the user and redirects them to specific resources that they originally requested. This cookie allows the user to revisit particular protected resources without having to repeatedly log in.

Shashi Ray (More...)

Explain about security of the Ajax based web applications?

  
The XMLHttpRequest object is subjected to the browsers security sandbox. Any resources requested by the XMLHttpRequest object must reside within the same domain from which the calling script originated from which the calling script requested. XMLHttpRequest cannot request services due to security restriction, outside the domain from which the script was originally served. (More...)

What is COMPOUND CONDITION Syntax?

  
SELECT "COLUMN_NAME" FROM "TABLE_NAME" WHERE "SIMPLE CONDITION" {[AND|OR] "SIMPLE CONDITION"};


Example:
SELECT EMPLOYEE FROM SALARY_TABLE WHERE SALARY > 23000
OR (SALARY < 6000 AND SALARY > 4000) (More...)

Grid View and Details View in ASP.NET 2.0.

  
Some of the new web controls featured in the .NET framework 2.0 beta include the GridView and DetailsView object. These controls offer more features than in the 1.1 version of the framework, featuring:

* Automatic paging and sorting with no coding needed
* Automatic Insert, Update, and Delete capabilities
* Complete command button functionality (such as the Edit, Update, and Cancel buttons) without any coding
* Minimal amount of coding involved than in previous versions of the framework (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend