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


Top 5 Contributors of the Month
Easy Web
Imran Ghani

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

i have one aspx page. Only one text box i have in that page. i have retived the records from the Database. now i want to assign the value to the text box with out writing the code in aspx.cs textbox.text = . But value has to be assigned to that text box. how to achieve this ?

Posted By :sadiq     Posted Date :December 02, 2010    Points :15   Category :ASP.Net 
how to achieve this ?

You can also find related Interview Question to i have one aspx page. Only one text box i have in that page. i have retived the records from the Database. now i want to assign the value to the text box with out writing the code in aspx.cs textbox.text = . But value has to be assigned to that text box. how to achieve this ?  below: 

Does VS.NET support line numbering in its text editor?

  
Yes, from the standard toolbar select Tools | Options.This will open the Options dialog; select the Text Editor folder, pick the language, and click on the check box for line numbering under the display section. (More...)

Is there a way to set the tab size in the text editor?

  
Yes, from the standard tool bar select Tools | Options.This will open the Options dialog; select the Text Editor folder, choose a language folder, select Tabs, and set them to your desired setting. (More...)

What's the advantage of using System.Text.StringBuilder over System.String?

  
StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it's being operated on, a new instance is created. (More...)

Which of the following is a fixed length DataType?
1)CHAR
2)VARCHAR
3)TEXT

  
1)CHAR
CHAR Data type is used when the column lenght is known (More...)

How many ways you can display text using Silverlight?

  
Silverlight supports displaying static pre formatted text that is comprised out of glyph elements and also dynamic text that uses TextBlock. With glyphs, one needs to position the characters individually while TextBlock supports simple layout. (More...)

Is it possible to share session information among ASP and ASPX page?

  
No,it is not possible as both of these are running under different processes. (More...)

How many ViewState objects can be created on an aspx page ?

  
There is no limit. You can have any number of ViewState object on single aspx page. However more Viewstate objects, more slowly it loads. (More...)

What are the Text and Image Functions?

  
PATINDEX,TEXTPTR,TEXTVALID are the Text and Image Functions (More...)

Which function is used to perform a full text search on a column?

  
FREETEXT function can perform a full text search on the specified column.

FREETEXT({column/*}, search-string)


It will return the rows with columns that match the search-string. It matches the meaning only not the exact value of the search-string. (More...)

What does the EnableViewStateMac setting in an aspx page do?

  
EnableViewStateMac setting is a security measure in ASP.Net. It ensures the view state for a page not to tamper. To to so " EnableViewStateMac=true "is used. ASP.net detects the change in the value of view state sent to the browser when Postback action takes place and raises an error - "Validation of view state MAC failed". (More...)

How will you prevent the user from viewing the text of the Stored Procedure?

  
We can use with Encryption in the Stored Procedure.

CREATE PROC MySample
WITH ENCRYPTION
AS
SELECT * FROM Employee
GO

EXEC sp_helptext MySample

Here is the result set:

The object's Comments have been encrypted.
(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