:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Microsoft Related >> ASP.NET


 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1444)
 VB.NET interview questions  VB.NET Interview Questions (150)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (33)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
How do you use css in
 Question Submitted By :: ASP.NET
I also faced this Question!!     Answer Posted By  
# 1
1 . First u create a css file
2 . write below line between <head></head>
<link href="style.css" rel="stylesheet" type="text/css" />
that will aplay to partuclar page level
Is This Answer Correct ?    92 Yes 15 No
# 2
Its Cascading Style Sheet. Allows to set different styles
for the controls that we are using in
Is This Answer Correct ?    84 Yes 12 No
# 3
I think css code will have to write in HTML tag code. And
then this is not allow to write in code using C# or VB.
Is This Answer Correct ?    72 Yes 42 No
# 4
Firstly, we create CSS file in ASP.Net. And then write CSS
code. And then we can call CSS file from html page. the

<%@ Language C# style"xxx.css">
Is This Answer Correct ?    48 Yes 27 No
# 5
* Follow Belowe steps
1) Create CSS File
2) Add App_Theme Folder in Solution Explorer
3) Create New Folder named Theme in App_Theme folder
4) Put Css into Theme Folder
5) in Page Directive of any pages of .net put beolwe line
<%Page Theme="Theme" %>
Is This Answer Correct ?    30 Yes 9 No
Amit Patel
# 6
1. You can create stylesheet in solution explorer
2. write the css code
3. write and include this code in tag page
<link rel="stylesheet" type="text/css"
href="....\...\Sample.CSS" />
Is This Answer Correct ?    18 Yes 9 No
# 7
1. note down the css code on notepad & add in the project. go to on project web page's source code then write in
<head> tag
<link rel="stylesheet" type="text.css" href="file.css"/>
3. Run the project and see css will be display
Is This Answer Correct ?    5 Yes 6 No
Pradeep Goyal
# 8
first including css file in head"text/css" then
using <style> tag.then within style tag defining class u
want to .style1{font:red}
then including this class in particular tag..
<h1 class=style1>This is css</h1>
Is This Answer Correct ?    15 Yes 21 No

Other ASP.NET Interview Questions
  Question Asked @ Answers
What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ? eXensys 3
can we call webservice in Html form? Microsoft 1
What r the remotable objects. and how u make an application remotable   1
What is dataset ? Infosys 18
You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner. Syntax-Softtech 1
Details on web.config and global.asax - just explain what are the sections will be there. Syntel 1
What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed. Syntax-Softtech 2
Difference between connected architecture and Dissconnected architecture?   2
difference between gridview,data list and repeater control Olive-Tech 6
Difference between ByVal and ByRef? Microsoft 2
How many view state can be hold by a aspx page ? Intellevate 3
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?   1
For more ASP.NET Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::