|
Christian Graus wrote: You're very wrong. The worst it could do is show a lot of text. A 1 or a 0 is in fact only going to be shown if the ASCII code for 1 or 0 is present in a text string.
A binary write is the right way to feed binary data through a browser, but only if the MIME type is also set, to tell the browser what it's trying to display
Thank you for the correction (like I said I'm not familier with this)
Christian Graus wrote: if this is not an ASP.NET question
I hadn't noticed this.
If so you're way is indeed the way to go
Christian Graus wrote: I don't believe that's true in any meaningful way, unless the data table turns out to have extra columns than what you'd anticipate.
I have noticed performance differences in my projects but they do only occure when my tabel has more columns then I need in that particular sql statement (like you said). But not using * in sql gives you the option to add columns to the table later without changing the performance of the programme.
Christian Graus wrote: I'd suggest the real issue here is that SQL should not be dynamically generated from strings like this, it should exist in a data layer.
Also very true
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
s it is an ASP.NET and Thanks TDDragon and christian for taking up this issue .
But is there any possiblity or not to store the image in DB and to retrive?
sathimailin
|
|
|
|
|
Dim img1 As Image
img1 = myDataReader.Item("PersonImage")
this is the variable i have used but how to Assign an Image from DB to this control i am not getting it Clear .
sathimailin
|
|
|
|
|
If this is an ASP.NET project: ignore my post and look at christian's
If not: then you will have a windows form on wich you can add a imagebox (from the toolbox) wich has a property image (or somthing like this) to wich you assign a variable of the type image
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
s it is an ASP.NET and Thanks TDDragon and christian for taking up this issue .
But is there any possiblity or not to store the image in DB and to retrive?
sathimailin
|
|
|
|
|
sathimailin1 wrote: But is there any possiblity or not to store the image in DB and to retrive?
not shure what you mean by this but if you mean you don't want to store the image in the db but still want to be able to show the image this is how you can do it:
you can make a map (lets call it images) on the place where you host you're site. then instead of saving the image in the db you just save it's name in the db (where you save the image now) and you move or copy the image to the map 'images'. That way all you have to do is retrieve the name of the image from the db and you can display it any way you want. (I'm far from a ASP specialist so for more detail on this you'll need to ask christian or someone else in the ASP.NET forum)
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
OK Thanks let i ll Wait for Christian's answer for this
Thanks TDDragon
|
|
|
|
|
You might want to repost you'r question in reply to christians post so that he get's a notification otherwise I doubt that he'll find you'r question
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
Create a project named "calculator",consist a form named"calc".The project is provided with a calculator which can also be used for rough currency conversions.
1.Making a calculation
It can calculate with the following operator:
+ to add
- to substract
* to multiply
/ to provide
= to execute(equal)
2.Making a currency conversion
This option can set exchange rate for multiple currencies.
exchange from US dollars to KH Riels.]
Note:$ 1=4,000 Riels
|
|
|
|
|
Yeah, I tell beginners that a calculator is an awesome first project. Good luck with it. I'm not sure why you've posted your homework question here, is it meant to be some sort of heads up so that when you ask real questions, after working on this yourself, we'll have a heads up ? Anyone here would find this project trivial, but of course, you wouldn't want us to do it for you, because you wouldn't learn anything that way, right ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I hope you fail your course for this pathetic attempt at getting someone to do your homework for you.
This is a trivial application, you should be ashamed.
|
|
|
|
|
if this is his first application its a good one to get started with.
but by posting this here he tells us he is to lazy to learn and wants others to do his work for him.
To bad for him that will not work here.
also this application is given to students all over the worlk as one of there first 'real' projects so I'm pretty shure he's trying to make us do his homework.
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|
|
True. Calculator is an application that is given for beginners starting with VB.
|
|
|
|
|
No one here to do your project. So Try to do your self. when ever you face any problem Then put it into forum. Every one will help you, but you have to try it first.
Good luck.
And Make one habit, while post your question Do Say like
Nut Sophanny wrote: Subject:Re: Hi All!
Just put your rquirment as qustion, other wise no one will look into this
Again Good luck...
|
|
|
|
|
Salve a Tutti ho questa Form su una pagina web
Volevo chiedere se qualcuno mi dice come inviare la stringa di connessione
o meglio in che sequenza inviare i dati della Form
Hello All I have this form over a webpage
I wanted to ask if someone tells me how to send the string connection
Or rather what sequence send data Form
Grazie in anticipo
Aspetta... "input name="20fe1c1e41ca88c835526f191845aaec" value="zWvO2KSlm8any6uVmJdrxQ==" type="hidden">input name="2a62d1ddd25c3c3fa8bacd3e1b25bc09" value="zGmjp5pyMnUlq1klpZqkg==" type="hidden">"
Mrfulvio
|
|
|
|
|
Wrong Language And Wrong Forum
Go here and ask this Question
http://www.codeproject.com/script/comments/forums.asp?forumid=12076[^]
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
|
bjk88 wrote: Any ideas as to the formula that would do this?
You can probably find it in the front or back of any good diary - They usually have things like that.
Alternatively, type in "1 mile as kilometers" into google and it'll do the conversion for you - You can then see what the factor is.
By the way, a wee tip: Convert the miles, feet and inches into one single value first. It means you only have to do one simple conversion. Similarly with the kilometers, metres and centimetres.
|
|
|
|
|
Oh No, I guess you'll never find a solution for such a difficult problem!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: Oh No, I guess you'll never find a solution for such a difficult problem!
I guess that's why students all over the world is faced with this assignment. The teachers hope that someone might finally solve it.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Just because someone makes fun of you doesn't mean you should delete your posts (I use the plural because you replied to my response with a follow up then deleted it before I realised it was there)
I was going to answer your follow up, but since it is gone it seems rather pointless to continue to try to help.
|
|
|
|
|
Hi
Now i can get the properties and all the things ,storing in an xml file .
I would like to thank to Mr.Dave.K for sharing useful information regarding form designers link .
dvs
|
|
|
|
|
Hi the follwoing code i used for my user control tab events...,
See in that code,i have said the tabs and its subtabs and its url refer sites...,
Now my quest is...,
I like to view the tabs based on the user entry...,
It means i have 2 tables in one table i have said the userid,pagenum..,
Another table i said pagenumber,pagename & pageurl...,
Now using the following code how to display the tabs,sub tabs and its url instead of display static how to dispaly dynamic(based on userid)??????,...
Plz help me,
My static code follows here :
'Adding here main tabs
Dim _Text As ArrayList = New ArrayList
_Text.Add("Admin")
_Text.Add("Guest")
Dim ts As JQD.TabStrip = CType(Me.FindControl("TabStrip1"), JQD.TabStrip)
ts.TabText = _Text
Dim _SubTabText As Hashtable = New Hashtable
'Adding here Sub tabs for that Admin (main) tab
_Text = New ArrayList
_Text.Add("Admin User Login")
_Text.Add("Admin Default Page")
_SubTabText.Add(0, _Text)
'Adding here Sub tabs for that Guest (main) tab
_Text = New ArrayList
_Text.Add("microsoft")
_Text.Add("oracle")
_SubTabText.Add(1, _Text)
ts.SubTabTextCol = _SubTabText
AddHandler ts.SelectionChanged, AddressOf Me.ts_SelectionChanged
Private Sub ts_SelectionChanged(ByVal sender As Object, ByVal e As JQD.TabStrip.SelectionChangedEventArgs)
'Assigning links for that sub tabs
Dim TabPos As Integer = e.TabPosition
Dim SubPos As Integer = e.SubTabPosition
Select Case (TabPos)
Case 0
If (SubPos = 0) Then
src = "Admin1.aspx"
End If
If (SubPos = 1) Then
src = "Admin2.aspx"
End If
Case 1
If (SubPos = 0) Then
src = "Guest1.aspx"
End If
If (SubPos = 1) Then
src = "Guest2.aspx"
End If
End Select
Session("src") = src
End Sub
Regards,
Magi
|
|
|
|
|
If I'm getting this right only 1 of you're 2 tabs should be shown depending on wich user it is.
If that is the case:
you'll have to detirmen wich user is logged in (admin/guest) and act accordantly
it it is admin user only exacute the code for the admin user if its guest only the code for guest
a simple If select would be enough to do this provided that you know wich user is logged on
If my help was helpfull let me know, if not let me know why.
The only way we learn is by making mistakes.
|
|
|
|