Click here to Skip to main content
15,913,773 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: scrollable div Pin
xxrono8-May-07 7:24
xxrono8-May-07 7:24 
GeneralRe: scrollable div Pin
RichardGrimmer8-May-07 21:45
RichardGrimmer8-May-07 21:45 
GeneralRe: scrollable div Pin
xxrono8-May-07 23:51
xxrono8-May-07 23:51 
GeneralRe: scrollable div Pin
RichardGrimmer9-May-07 5:22
RichardGrimmer9-May-07 5:22 
QuestionSAVING IMAGE TO MSSQL2000 IN ASP.NET Pin
hifiger20048-May-07 1:28
hifiger20048-May-07 1:28 
AnswerRe: SAVING IMAGE TO MSSQL2000 IN ASP.NET Pin
Tarakeshwar Reddy8-May-07 3:48
professionalTarakeshwar Reddy8-May-07 3:48 
GeneralRe: SAVING IMAGE TO MSSQL2000 IN ASP.NET Pin
hifiger20048-May-07 5:03
hifiger20048-May-07 5:03 
AnswerRe: SAVING IMAGE TO MSSQL2000 IN ASP.NET Pin
jayvaishnav828-May-07 20:57
jayvaishnav828-May-07 20:57 
if (FileUploadPicture3.PostedFile.ContentLength!=0)
{
//cmd==command
//Add picture3 in Database
Stream imgStream2 = FileUploadPicture3.PostedFile.InputStream;
int imgLen2 = FileUploadPicture3.PostedFile.ContentLength;
byte[] imgBinaryData2 = new byte[imgLen2];
int o = imgStream2.Read(imgBinaryData2, 0, imgLen2);
SqlParameter param5 = new SqlParameter("@Picture3", SqlDbType.Image);
param5.Value = imgBinaryData2;
cmd.Parameters.Add(param5);

//for retriev image:
try
{
byte[] barrImg3 = (byte[])rrd.GetValue(rrd.GetOrdinal("Picture3"));
string strfn3 = root + @"\iimage\" + rrd.GetValue(rrd.GetOrdinal("Picture3")).ToString() + "c3.gif";
FileStream fs3 = new FileStream(strfn3, FileMode.Create, FileAccess.Write);
fs3.Write(barrImg3, 0, barrImg3.Length);
fs3.Flush();
string strpath3 = "~/iimage/" + rrd.GetValue(rrd.GetOrdinal("Picture3")).ToString() + "c3.gif";
//thumbnail #3
if (fs3.Length != 0)
{
fs3.Close();
System.Drawing.Image img3 = System.Drawing.Image.FromFile(Server.MapPath(strpath3));
System.Drawing.Image thumbnailImage3 = img3.GetThumbnailImage(100, 100, new System.Drawing.Image.GetThumbnailImageAbort(ThumbnailCallBack), IntPtr.Zero);
MemoryStream imageStream3 = new MemoryStream();
thumbnailImage3.Save(Server.MapPath("~/image/thumbc3.gif"), System.Drawing.Imaging.ImageFormat.Gif);
byte[] imageContant3 = new byte[imageStream3.Length];
Response.Clear();
h3.ImageUrl = "~/image/thumbc3.gif";
h3.NavigateUrl = "show_picture.aspx?id=" + id + "&type=cp3&name=church&profile=adminupdate";
}
else
{
h3.Visible = false;
}
}
catch (Exception ex) { }
QuestionPlease Help Me to Cut down The URL Pin
kunal maity7-May-07 22:19
kunal maity7-May-07 22:19 
AnswerRe: Please Help Me to Cut down The URL Pin
Bradml7-May-07 23:32
Bradml7-May-07 23:32 
AnswerRe: Please Help Me to Cut down The URL Pin
Blumen8-May-07 0:11
Blumen8-May-07 0:11 
GeneralRe: Please Help Me to Cut down The URL Pin
kunal maity8-May-07 2:41
kunal maity8-May-07 2:41 
GeneralRe: Please Help Me to Cut down The URL Pin
kunal maity8-May-07 2:42
kunal maity8-May-07 2:42 
AnswerRe: Please Help Me to Cut down The URL Pin
steffw8-May-07 2:41
steffw8-May-07 2:41 
QuestionHTML Form Validation Pin
prashant pissey7-May-07 19:28
prashant pissey7-May-07 19:28 
AnswerRe: HTML Form Validation Pin
MatrixCoder7-May-07 19:38
MatrixCoder7-May-07 19:38 
AnswerRe: HTML Form Validation Pin
Sandeep Akhare7-May-07 20:19
Sandeep Akhare7-May-07 20:19 
QuestionPHP Size Paging Pin
Socheat.Net7-May-07 15:28
Socheat.Net7-May-07 15:28 
AnswerRe: PHP Size Paging Pin
MatrixCoder7-May-07 16:03
MatrixCoder7-May-07 16:03 
GeneralRe: PHP Size Paging Pin
Socheat.Net7-May-07 16:25
Socheat.Net7-May-07 16:25 
AnswerRe: PHP Size Paging Pin
Bradml8-May-07 2:17
Bradml8-May-07 2:17 
GeneralRe: PHP Size Paging Pin
Socheat.Net8-May-07 15:12
Socheat.Net8-May-07 15:12 
GeneralRe: PHP Size Paging Pin
Ashley van Gerven16-May-07 3:53
Ashley van Gerven16-May-07 3:53 
QuestionSimple CSS question Pin
xxrono7-May-07 8:16
xxrono7-May-07 8:16 
AnswerRe: Simple CSS question Pin
Guffa7-May-07 8:24
Guffa7-May-07 8:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.