tag:blogger.com,1999:blog-7805972021499203804.post202484974717609568..comments2023-10-30T06:24:14.411-07:00Comments on ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview: how to insert images into database and how to retrieve and bind images to gridview using asp.net (or) save and retrieve images from database using asp.netSuresh Dasarihttp://www.blogger.com/profile/01337689983379917267noreply@blogger.comBlogger224125tag:blogger.com,1999:blog-7805972021499203804.post-82812651169449010222017-08-08T19:10:27.857-07:002017-08-08T19:10:27.857-07:00niceniceKhasiat Walatra G-Seahttp://obatherbalterpercaya.com/khasiat-walatra-g-sea/noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-14484278498261663742017-03-14T09:25:32.954-07:002017-03-14T09:25:32.954-07:00Hi Suresh, I have been reading your articles from ...Hi Suresh, I have been reading your articles from many days, I have some question can you answer it. Actually I have a database in mysql storing image data in blob format using jsp but it too heavy for browser to browse, it take much time than expectation. Do you have any idea what to do... Thanks in advance....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-20038366761983347752016-10-13T04:53:26.640-07:002016-10-13T04:53:26.640-07:00Dear suresh
I'm using query string send id on...Dear suresh <br />I'm using query string send id one page to another page. Now I want to bind image from data base behalf of ID..<br />can you tell me how to?Anonymoushttps://www.blogger.com/profile/17682300871301321096noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-70868658313736981732016-06-30T02:14:48.591-07:002016-06-30T02:14:48.591-07:00Thank you Mr.SureshThank you Mr.SureshAnonymoushttps://www.blogger.com/profile/16270718106220727925noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-13550190212530832872016-06-15T23:34:13.608-07:002016-06-15T23:34:13.608-07:00thanksthanksPraveenkumarnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-81404879133115375512016-04-22T21:51:25.481-07:002016-04-22T21:51:25.481-07:00Hello, I am getting an error in the ashx file on l...Hello, I am getting an error in the ashx file on line 10 saying that the NullReferenceException was unhandled by user code. It mentions that i can either try to allow nulls for the image id column or i can create a "new" keyword to create an object instance. Any help?Silashttps://www.blogger.com/profile/01056100235384591121noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-65515517996452808032016-03-25T01:31:19.201-07:002016-03-25T01:31:19.201-07:00Hi Sir,
I have tried so many times but not gettin...Hi Sir,<br /><br />I have tried so many times but not getting image showing green symbol.<br />is we have to save the image at server also.totally confused if we are saving at server then when the user increases then the application will be having load.please reply thanks in advance.Anonymoushttps://www.blogger.com/profile/18327493364905582218noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-67940998386433063822015-04-22T22:35:34.406-07:002015-04-22T22:35:34.406-07:00Please Write nit and clean code. your concept is g...Please Write nit and clean code. your concept is good but code is unreadable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-283451974619123662015-04-14T00:39:31.044-07:002015-04-14T00:39:31.044-07:00this article worked perfectly fine ,gr8
thanks.this article worked perfectly fine ,gr8<br />thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-12659115054106060852015-04-07T20:28:51.444-07:002015-04-07T20:28:51.444-07:00Hiii Suesh
This codes is perfectly work on local ...Hiii Suesh <br />This codes is perfectly work on local but when m upload on server the same code its give a error give me a suggestion if you have <br />Error is : Server Error in '/' Application.<br />Access to the path 'G:\PleskVhosts\friendsanddevelopers.in\Nitin\1 (7).jpg' is denied.<br /><br />Please help meAnonymoushttps://www.blogger.com/profile/06246415338520655427noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-251494103042404652015-01-13T23:20:56.859-08:002015-01-13T23:20:56.859-08:00When i try to insert image into database, i tried ...When i try to insert image into database, i tried this method. But on this particular line<br />byte[] imgbyte = new byte[length]; (It shows error like String or Binary Data truncated!! <br />How to solve this??so it also show error in<br /> Insert statement:<br /> if (FileUpload1.HasFile)<br />{<br />//getting length of uploaded file<br />int length = FileUpload1.PostedFile.ContentLength;<br /Anonymoushttps://www.blogger.com/profile/04106946849874784559noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-61539967600661956912014-11-05T21:45:16.747-08:002014-11-05T21:45:16.747-08:00Hi Suresh,
How can i save the images concatenatio...Hi Suresh,<br /><br />How can i save the images concatenation with Id In to folder Maheshnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-66948879848713661032014-11-04T02:00:09.724-08:002014-11-04T02:00:09.724-08:00I use this code to display image, but it only disp...I use this code to display image, but it only display ".jpg" images. Other images i have uploaded in DB but its not showing. Need your help, Thanx in advance.<br /> <br />string imageid = imgid;<br /> SqlConnection connection = new SqlConnection(strcon);<br /> connection.Open();<br /> SqlCommand command = new SqlCommand("Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-46990692735965840142014-08-14T02:41:09.222-07:002014-08-14T02:41:09.222-07:00Hi sir your blog is a great help for me, i have do...Hi sir your blog is a great help for me, i have doubt, that i have a dropdown list values come from sqlserver column, and based on this selection in dropdown value, the popup grid will be displayed. i tried a lot but can't able to fire a different gridview . Can U Pls Help Me to Solve this Problem.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-81009621868564406102014-08-07T04:53:38.004-07:002014-08-07T04:53:38.004-07:00hi
sirhi <br />sirsunilhttps://www.blogger.com/profile/14325933196608657681noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-76641667210501459942014-07-11T03:59:53.221-07:002014-07-11T03:59:53.221-07:00hi suresh sir..
i should save the image through ha...hi suresh sir..<br />i should save the image through handler like the following path..<br />".//productimage//id"...that id should vary dynamically...for eg,2.jpg should be saved in ".//productimage//23"...then 4.jpg should be saved in ".//productimage//24"....that id is nothing but table's last inserted row id..productimage is the main folder...23,24 are sub Anonymoushttps://www.blogger.com/profile/08543767857769302766noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-19896398382354238802014-06-13T05:26:04.044-07:002014-06-13T05:26:04.044-07:00hiii sir
plz send me a medical bill form in mul...hiii sir <br />plz send me a medical bill form in multiple medicine..<br />patelsachin30@gmail.com<br />09753533046Pooja Patehttps://www.blogger.com/profile/04464548011795947663noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-54468926224851213272014-05-20T00:28:02.678-07:002014-05-20T00:28:02.678-07:00I am not getting the images in gridview even thoug...I am not getting the images in gridview even though i kept ashx code....................<br />can any one give me the solutions<br />thank uAnonymoushttps://www.blogger.com/profile/05630233967811815975noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-31858521697662272952014-05-09T06:35:08.882-07:002014-05-09T06:35:08.882-07:00i am not getting the images plz helpi am not getting the images plz helpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-31692762121668521772014-04-12T03:29:33.393-07:002014-04-12T03:29:33.393-07:00nice post.nice post.Bvenkat Jeeweshhttps://www.blogger.com/profile/09533234136133808985noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-36117591762600485852014-04-12T03:27:16.276-07:002014-04-12T03:27:16.276-07:00nice post;-)
nice post;-)<br />Bvenkat Jeeweshhttps://www.blogger.com/profile/09533234136133808985noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-17454598474856705352014-04-09T11:02:57.285-07:002014-04-09T11:02:57.285-07:00nice. for java example, visit http://java2novice.c...nice. for java example, visit http://java2novice.com sitejava2novicehttp://java2novice.comnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-83402800315071758752014-03-25T04:28:13.284-07:002014-03-25T04:28:13.284-07:00sir i found error ,, plz guide me how to remove th...sir i found error ,, plz guide me how to remove this ........ <br /><br />Exception Details: System.InvalidOperationException: Instance failure<br /><br />Line 61: daimages.Fill(dt); Anonymoushttps://www.blogger.com/profile/18368642159755169817noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-3737091303002826972014-03-17T06:55:39.974-07:002014-03-17T06:55:39.974-07:00Is this possible/available in VB? Is this possible/available in VB? VtBearhttps://www.blogger.com/profile/14612006775452641867noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-90898948961580108812014-03-06T22:56:54.036-08:002014-03-06T22:56:54.036-08:00I came to know many things about .net only from yo...I came to know many things about .net only from your posts suresh. Thanks a lot . . . . U R doing a good jobAnonymoushttps://www.blogger.com/profile/12504868782475171317noreply@blogger.com