| Back to Questions Page |
| |
| Question |
Where would you use Abstract class and Interface? |
Rank |
Answer Posted By |
|
Question Submitted By :: Kaushal |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | You can offer the best of both worlds, an interface and an
abstract class. Implementors can ignore your abstract class
if they choose. The only drawback of doing that is calling
methods via their interface name is slightly slower than
calling them via their abstract class name.  |
| Vijay |
| |
| |
| Question |
hello
dear friends my problem is that i want to save images that
is pictures in SQL server using vb.net can any body help me
to do so please
|
Rank |
Answer Posted By |
|
Question Submitted By :: Ijaz_sh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | step1) place one fileUpload control from tool box
step2) in it's Button click event
If FileUpload1.PostedFile Is Nothing Then
Response.Write("no file posted")
Else
Here Convert that image as byte and pass it
to function.
Dim con As SqlConnection
Dim cmd As SqlCommand
Dim ds As New DataSet
con = New
SqlConnection(ConfigurationManager.AppSettings("connectionString"))
cmd = New SqlCommand("insert into tablename
values(@image_in), con)
Dim imageByte(FileUpload1.PostedFile.InputStream.Length) As
Byte
FileUpload1.PostedFile.InputStream.Read(imageByte, 0,
imageByte.Length)
cmd.Parameters.AddWithValue("@image_in",
imageByte)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Response.Write("file is inserted")
End If  |
| Govind |
| |
| |
| Question |
what are the difference between An input box and Message box
..? |
Rank |
Answer Posted By |
|
Question Submitted By :: Arindam |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | By using Inputbox we can input the data for the textbox
By using msgbox we can show only the message.  |
| Srinivasreddy |
| |
| |
|
|
| |
| Answer | hi my dear input box is to enter the values to the
problem.and message box is nothing but to identify the
values output  |
| Karthi |
| |
| |
| Answer | Input box means using the input box we can puting data and
massage box means we can get massage through massage box.  |
| Sk Mazharuddin |
| |
| |
| Question |
hello!
I am developing software in vb6 and vb.net separately
which i need to generate barcodes e.g i have a
string "182346-u",so the problem is that how to generate
barcode from this type of string
can any body help me please thanks
regard !
|
Rank |
Answer Posted By |
|
Question Submitted By :: Ijaz_sh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | The string will be rendered correctly if you use the right
font, there is nothing special about barcodes. Google and
download the Free3Of9 font and use that.  |
| Paul |
| |
| |
| Answer | Yes ur Rt  |
| Raj [IT Infra] |
| |
| |
| Question |
hi dear !
thank u for replying to my question regarding adding
third party software in vb.net .My next question is that i
haven created Data base in SQL server 2000 for Library and
has connected that with VB and VB.net separately but it
only works on single computer and when i takes my software
to another computer on same Network it does not work .
Can any body help me what i do to solve.
Regards!
|
Rank |
Answer Posted By |
|
Question Submitted By :: Ijaz_sh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | check the database path. u might have mentioned the drive
path which works for single computer.But for multiple
computers u hav to give application path which should be
globally declared and should write in congig file.then u can
acess it.
 |
| Vamshi5kvn |
| |
| |
|
| |
|
Back to Questions Page |