|
Yes, the other way is to write a page handler for a custom extension, which returns the byte data and can be used to embedd the images in a page. The best way IMO, is just to store the images in the file system, and their paths in the database.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very muchc for ur valuable reply...
But i didnt Understand it...[ ]
|
|
|
|
|
hi ! all
i have put div in datagrid control and i want to find div in itemboud event of datagrid.
harun
|
|
|
|
|
Your best bet is to add a literal, find it in the event and stuff your div in there. Although, I believe you can just use runat="server" and then search for it by id.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How to dynamically resize the image from database?
|
|
|
|
|
you can use this code for changing dynamically image size :
<br />
frmMain.picReceiver.Image = new System.Drawing.Bitmap(Image.FromFile(@"d:\test.jpg"), 71, 78);<br />
Human knowlege belongs to the world
|
|
|
|
|
The problem is, once you create a new image, how do you send it to the client ? How do you send it to the client now ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Maybe he thinks of some client-side stuff. But he must detail a little bit more.
SkyWalker
|
|
|
|
|
Hi,
I need to create a WebSite in Sharepoint 2007 by programatically using Web Services. After creating a WebSite I need to Create a Document Library. I need to upload files to this Document Library too. All these I need to do using Web Services (using Sharepoint Web Services only). Can you please help me ?
Expecting your early reply
regards
Mohamed Nazeem
Software Engineer
Bangalore
|
|
|
|
|
You want me to code for you? Will you pay for me?
Ask any specific problem. Where you stuck?
|
|
|
|
|
sql query to get a fixed length or number of charater
|
|
|
|
|
|
I rerieve the data from databse and displayed the image in formview,the image detail in table control.But i want to display the image in table control and increase the particular column width and height
|
|
|
|
|
Well, resizing one columns width resizes them all, and it has nothing to do with your database. Are you displaying an image, or text ? Do you have the image data in your DB or just an image path ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
please tell me either code or little bit help
about grid view style.
I want to show data in grid view with attractive looking by
writing code explicitely.
I need this one for going on live project in my company.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
use CSS styles... background color, font, border..
|
|
|
|
|
How Memebership.ResetPassword() Works in c#.Give me some code to solve the pbm.I code it but an exception of string or binary truncted occurs in sql database aspnet_membership table.What is the problem.Please help me by sending code.
|
|
|
|
|
May be u tried to insert data to database more than the field width.
|
|
|
|
|
how to customize the datatable from database?
|
|
|
|
|
The best way to change the data that comes out of hte database, is in the database. How do you want to change it ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Basheer,
If you want to customize datatable, you can get table by following code :
ds.Tables[0] //ds is dataset
When you get table in dataset, you can do anything with that table
Hoping this will help you ^^
|
|
|
|
|
hi
can anyone help me in generating auto emails after checking the credentials of the user.i am using .net2.0/vb.net/oracle
thank you
|
|
|
|
|
Please don't cross post.
Sending emails via VB.NET is very easy and widely documented. What do you want the auto emails to say, and what credentials are you talking about ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi chandra_77,
For sending mail in ASP.Net 2.0 ( C# ), you can use the following code
using System.Web.Mail;<br />
<br />
MailMessage mail = new MailMessage();<br />
mail.To = "<receiver's mail=";<br mode=" hold=" /">mail.From = "sender's mail";<br />
mail.Subject = "<subject>";<br />
mail.Body = "<mail's content="">";<br />
SmtpMail.SmtpServer = "<your mail="" server="">";<br />
SmtpMail.Send(mail); </your></mail's></subject></receiver's>
Hoping this will help you ^^
|
|
|
|
|
Hi,
I have created a small project which uses a SQL Server DB. I have a stored procedure whcih takes certain parameters.
In my website project I SQLDataSource defined which uses uses the stored procedure.
If I do not specify any of the parameters int he SelectQuery of the datasource the program hits the DB (can see in the SQL profiler) and gets the data, while if I specify the parameters and the program doesn't hit the DB (There is no entry in the SQL profiler). I just can't understand why it is happening as it doesn't give any errors.
Thanks for your time and help in advance.
|
|
|
|