Category Archives: Interview Questions

Finding which Control has caused PostBack in C# asp.net

Hi friends today iam going to post a Demo Code which demonstrates. which control have requested the post back generally while using Ajax mostly we get postback with out getting into page life cycle and some times we need to … Continue reading

Posted in Articles, Coding, Interview Questions, Programming, Uncategorized | Tagged , , , , , | Leave a comment

Making DropDownlist Selected Automatically on giving value

s if there eexists one Drop downlist and  if it have values from dataset say Ds and that dataset ds is having a table named Ab with 2 columns a)TextData  b) ValueData so we will set our data set like … Continue reading

Posted in Articles, Interview Questions, Programming | Tagged , , | Leave a comment

Maximum file upload size using File Upload

we can upload only 4 Mb File using File upload control by default and if we want to extend this file length we should change maxRequestLength=”4096″ which is by default 4 mb to some thing else   for example  i will … Continue reading

Posted in Articles, Coding, Interview Questions | Leave a comment

alternative method for entering path in DOTNET

hi friends you may came across the situation to enter any path of drive or folder with extra slash if there exists a file in c drive and  if its original path is ” c:\folder1\file1.doc” then we will write the same path … Continue reading

Posted in Articles, Interview Questions | Tagged , , | Leave a comment

How to Add Colors to Alternative rows in GridView

We can add colors to alternative rows by doing like this suppose there exists 10 rows in a grid view  so we can do it in c# like this for (int i = 0; i <= 9; i++) { ActGridView.Rows(i).BackColor … Continue reading

Posted in Database, Interview Questions, Uncategorized | Tagged , , , | Leave a comment