i have a db for saving an image into it with datatype image.I want to convert the uploaded image into byte and only save the image into the db.How is it possible.I tried it but i cant get it.Plz help me by sending some code to me.
I think that the code will be depended on the EMail Server that you used. For example, if you are using Microsoft Exchange Server, you can find the code about how to manipulate the MS Exchange server.
To create a website like yahoo or gmail or any large website, it's not that easy. I suggest you to start with small application and read more about ASP.NET and the different kind of Exchange Servers. Once you got the solid idea, you can develop those kinda site..
I m newbie to asp.net n its my first site which i m trying to develop (asp.net(vb)) but i m facing the tab index problem to navigate cursor to the next text box.
In my login page first focus in on user name but when i press tab again n again first it goes to the controls of top.ascx which is used in every page of my site n then goes to the addressbar n then come back to the password textbox. i fixed the TabIndex property 0(username) n 1(password)
In vb.net i use TabStop property to restrict the focus on control but i don't know how to do it in asp.net
Any help would be appreciated
I m looking forward to your suggestion
I have a database with some fields,along with this fields an image field with datatype image is tehre.But after saving all details into the db.the saved data will be displayed on a grid.But whn i tried to retrieve the data by selecting into a grid row the text fields are coming properly.But the image will be displayed only the first photo that i uploded.Only one image will be displayed for all the rows.What is the reason I attach the image retreival code in the rowcommand of the grid.
Hey you hav to use for loop for this..
DataTable dt = new DataTable();
dt = insunit.GetUnit(id);
for(int i=0; i< dt.row.count; i++)
Img_Logo.ImageUrl = d.Rows[i]["UnitLogoPath"].ToString();
Function Thumbnail(ByVal img_name As String)<br />
If img_name <> "" Then<br />
Dim urlThumbNail As String = "thumbnails.aspx?iname=" & img_name<br />
Return urlThumbNail<br />
End If<br />
thumbnail.aspx is the name of the page where thumbnail of the image is
created.You can easily get the code for thumbnail if u havn't got
the reply me.
People Laugh on me Because i am Different but i Laugh on them Because they all are same.