| Back to Questions Page |
| |
| Question |
CRETE A BACKUP FILE |
Rank |
Answer Posted By |
|
Question Submitted By :: Charm_nirmal1988 |
| This Interview Question Asked @ RRB |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Open a project which have one text box name as 'txtbackup' &
one command button name as 'cmdBackup'. After that, put the
following code for Back up the file which is present in that
current folder with the name sample.mdb
Dim obj As Object
Dim path As String
Dim j As Integer
Dim b As String
Dim a(100) As String
Dim i As Integer
If txtbackup <> "" Then
'******************************************
Dim c, c1 As String
i = 0
c = txtbackup.Text
For j = 1 To Len(c)
c1 = Mid(c, j, 1)
If c1 <> "\" Then
a(i) = a(i) & c1
Else
i = i + 1
End If
Next
'*******************************************
Set obj = CreateObject("Scripting.FileSystemObject")
path = txtbackup.Text
b = a(0)
'**** Folder Creation ****
Dim fso As New FileSystemObject
For j = 1 To i
b = b & "\" & a(j)
If Not fso.FolderExists(b) Then
obj.CreateFolder (b)
End If
Next
'**** File Creation ****
If Not fso.FileExists(path & "\sample_" & Format$(Date,
"dd_mm_yy") & ".mdb") Then
obj.CopyFile "" & App.path & "\sample.mdb", "" & path &
"\sample_" & Format$(Date, "dd_mm_yy") & ".mdb"
MsgBox "Data Base Successfuly Back Up in Loction :" & path
& " ", vbInformation, "Back Up"
Else
If MsgBox("Data Base is already exists. Do u want to
replace it?", vbQuestion + vbYesNo, "Confirmation") = vbYes Then
obj.CopyFile "" & App.path & "\sample.mdb", "" & path &
"\sample_" & Format$(Date, "dd_mm_yy") & ".mdb"
MsgBox "Data Base Successfuly Back Up in Loction :" & path
& " ", vbInformation, "Back Up"
End If
End If
Else
MsgBox "Enter the Destination Path.....", vbExclamation
End If
txtbackup.Text = ""
txtbackup.SetFocus
End Sub
 |
| Haiipl25 |
| |
| |
| Question |
How can we read a columnised text data in ASP.Net C#?
Columnised means my data is stored in a text file and I
have numeric data or string data in this file. For ex. If I
am searching for the data of gender and I know that gender
data is stored at column 32 in text file. How can I get
this data in ASP.Net page. Thanks for help in advance. |
Rank |
Answer Posted By |
|
Question Submitted By :: Abhinavsaxena24 |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | we need that text file convert into integer for example
cint(Textbox1.text)..  |
| Sandeep Kumar Shaw |
| |
| |
| Answer | string OpenPath, contents;
int tabSize = 4;
string[] arInfo;
string line;
DataTable table = CreateTable();
DataRow row;
try
{
OpenPath = Server.MapPath(".") + @"\My
File.log";
string FILENAME = OpenPath;
//Get a StreamReader class that can be used
to read the file
StreamReader objStreamReader;
objStreamReader = File.OpenText(FILENAME);
while ((line = objStreamReader.ReadLine())
!= null)
{
contents =
line.Replace(("").PadRight(tabSize, ' '), "\t");
// define which character is seperating
fields
char[] textdelimiter = { ']' };
arInfo = contents.Split(textdelimiter);
for (int i = 0; i <= arInfo.Length; i++)
{
row = table.NewRow();
if (i < arInfo.Length)
row["Type"] =
arInfo[i].ToString().Replace("[", " ");
if (i + 1 < arInfo.Length)
row["Source"] = arInfo[i +
1].ToString().Replace("[", " ");
if (i + 2 < arInfo.Length)
row["Time"] = arInfo[i +
2].ToString().Substring(1);
if (i + 3 < arInfo.Length)
{
row["Description"] = arInfo[i +
3].ToString().Replace("[", " ");
table.Rows.Add(row);
}
i = i + 2;
}
}  |
| Praveen Kumar [CoreMind] |
| |
| |
|
|
| |
| Question |
Tel me a bit about Site replication in the AD? what is th e
meaning of the cost in the AD site replication. |
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
| This Interview Question Asked @ Wipro |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Site replication is nothing but AD replication between two
DCs which are located in two different AD sites.
Cost is one the parameter for deciding the path for site
replication. The path with lower cost will take the precedence.  |
| A Sriram |
| |
| |
| Question |
Tel me the Features of the Exchange Server 2007? |
Rank |
Answer Posted By |
|
Question Submitted By :: Prashanthkumar.dv |
| This Interview Question Asked @ Wipro |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | • Management tool is Exchange Management console
• Compatible on 64 bit OS
• RE-written OWA with browsable GAL
• Restore database to any server
• Message routing based on AD Site
• Storage capacity in STD-5stores Each is 75GB +
ENT-50stores unlimited database
• Unified messaging
• Transport rules
• No in place upgradation  |
| Nishat |
| |
| |
| Answer | Anti spam connection filtering.transport rules.  |
| Hemraj [Wipro] |
| |
| |
| Answer | Exchange Server 2007 is much more advanced with lots of facilities which were laking in Earlier Versions. Click the below given link and read its full product information.
http://docs.docstoc.com/orig/652202/bd2e05e7-f0d7-4b73-a4a7-da43ed817a5b.pdf  |
| Dhanraj [Wipro] |
| |
| |
| Answer | Auto Discover feature inbuild in Exchange 2007 but its
work only with office 2007  |
| Alok Srivastava [Wipro] |
| |
| |
| Answer | Version Features
Standard Edition
The Standard Edition has:
• Up to 5 storage groups
• Up to 5 databases
• 16 TB per database
The Standard Edition supports
Local Continuous Replication.
Enterprise Edition
The Enterprise Edition has:
• Up to 50 storage groups
• Up to 50 databases
• 16 TB per database
The Enterprise Edition supports:
• Local Continuous Replication
• Single Copy Clusters
• Cluster Continuous Replication  |
| Giri [Wipro] |
| |
| |
| Question |
What is ITIL? What is the use of ITIL and how it works? |
Rank |
Answer Posted By |
|
Question Submitted By :: Santosh252551 |
| This Interview Question Asked @ IBM |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | ITIL-IT INFRASTRUCTURE LIBRARY
It has globally accepted IT Busineess Solution Rules.
It Has Couple of Category
1)Service Supporting Desk
under this we have 5 managements
1)problem mgmt etc...
2)Delivery Supporting Desk  |
| Govind |
| |
| |
| Question |
Hi i need fast track course maximum to complete within a month....courses are
Asp.net,c3,vb.net n sql server........at hyderbad location ..best institute n cost |
Rank |
Answer Posted By |
|
Question Submitted By :: Prysujatha |
| This Interview Question Asked @ Chevron |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | hii dear, u going to waste ur money if u get any institute
that promised u to teach .NET(ASP.NET, c#, vb.net, n sql
server)only in 1 month, becoz .NET is not a fast track 1
month game. To become a .NET professional whole carrier
sometimes becomes less. so i personally suggest u to join at
least 6 month course of .NET even after u being experienced.
thnx n regard  |
| Ashish Chaturvedi |
| |
| |
| Question |
any body help me. Is it possible to convert text in gif
images into word document with the same text? thanks in
advance. |
Rank |
Answer Posted By |
|
Question Submitted By :: Priya |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Yes.It's possible to convert text in gif images into word
document with the same text.  |
| S. Nageswararao |
| |
| |
| Answer | yes, it is possible by writing a new http module with the
file extension.  |
| Venki |
| |
| |
| Question |
What is Assert Method ? |
Rank |
Answer Posted By |
|
Question Submitted By :: Anil |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | In debug compilation, assert takes in a Boolean condition as
a parameter, and shows the error dialog if the condition is
false. The program proceeds without any interruption if the
condition is true.  |
| Anandkbs |
| |
| |
| Answer | Assert is a method that can be called on code access
permission classes and on the PermissionSet class. You can
use Assert to enable your code (and downstream callers) to
perform actions that your code has permission to do but its
callers might not have permission to do. A security
assertion changes the normal process that the runtime
performs during a security check. When you assert a
permission, it tells the security system not to check the
callers of your code for the asserted permission.  |
| Vathsala |
| |
| |
| Question |
describe about the ado.net object model
|
Rank |
Answer Posted By |
|
Question Submitted By :: Guest |
| This Interview Question Asked @ TCS , Aaa |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | ADO object model includes five components.
They are:
SqlConnection Object,SqlCommand Object,SqlDataReader
object,Dataset object,SqlDataAdapter object.  |
| Priya |
| |
| |
| Answer | Not Sql ADO Object Model Only.But ADO.Net has the following
methods also
1.OLEDBProvider
2.SQLProvider
3.ODBCProvider
the above all has the Connection,Command,Data Reader, Data
Set, Data Adapter Also.So Finally List Only Common Object
Models , They are
1. Connection Objects
2. Command Objects
3. DataReader Object
4. DataSet Object
5. DataAdapter Object  |
| Prakash |
| |
| |
| Answer | The main object model of an ADO.Net architecture is "Data
Provider". It provides data access to SQl server ,Oracle,
Access in order to retreive,update and insert data in the
datastore.
the main objects of ADO.Net object model are....
1.connection object : used to establish connection to
database.
2.command object: it is used to execute commands and stored
procedures.
3.dataAdapter object: used to establish connection between
datastore and dataset.
4.dataReader object: used to read data from dataset in
forward only.  |
| Sandyni |
| |
| |
| Question |
what are the advantages and diadvantages of active reports
over crystal reports ? |
Rank |
Answer Posted By |
|
Question Submitted By :: Pnvreddy |
| This Interview Question Asked @ IBM , Kotak |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | active reports has a better performance over crystal
reports.
because AR or even telerik controls use ajax support not
like crystal report
and also you can modify the schema file easily at run time.
better security.
AR is a latest version  |
| Vishy |
| |
| |
| Question |
One more interview question
If I have the data where some columns have multiple values
in a given row of data returned from the database. The
stored procedure returns data as it is that is blanks
values and non blank values.
However, I need to suppress the blank values not by showing
0 values but by shifting the cells up. Is there a way
using a formula to shift the blank cell one row up based on
a selection critieria?
In the example below, I want to get rid of the blank values
under Exposure column without replacing with 0.
example:
Company Margin Exposure
AB 500 3
10
7
8
ABC 200 4
2
5
10
Thanks
Anita
|
Rank |
Answer Posted By |
|
Question Submitted By :: Novice123 |
| This Interview Question Asked @ Barclays |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | This answer is for suppressing the Columns with Condition at
runtime
Just right click on the Columns that you want to suppress
and write the function for suppressing the columns if
parameter value is 0 then True(i.e Suppress)  |
| Pankaj |
| |
| |
| Answer | right click on the detail - from the menu select the
section export check the "suppress blank Section".  |
| Mk |
| |
| |
| Question |
which is the new version of IIS SERVER |
Rank |
Answer Posted By |
|
Question Submitted By :: Pooja |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | IIS 7.5 is the latest update to the IIS server. This release
comes with Windows Server 2008 R2 and Windows 7.  |
| Anandkbs |
| |
| |
|
| |
|
Back to Questions Page |