Read this.... http://aspalliance.com/das/insertimage.aspx http://aspalliance.com/das/readimage.aspx When you save an image, save with a friendly description, thus user can select ur image in dropdownlist, and retrieve the corresponding image from db.
Raymond Ooi
Posts
-
SHOWING iMAGE ON WEBPAGE -
Advertising ManagementI wonder is there any FREE advertising management system available around? i wish to do something on that, but hardly to find any reference... Thanks
-
AdRotator in ASP .NETI wish to implement advertisement in my web page. By using the AdRotator web control, i can simply display any banner randomly once the page is being refreshed or loaded. Can i do something that i no need refresh the page, but the banner will CONTINUOSLY ROTATING/CHANGING itself? My case is, I have few different .gif banner files. All the files n its links have been save into the database. When i load the page, i want the adrotator automatically/dynamically add the banners n links (something like dynamically create the .xml file). Possible it can be done? Any references? Millions Thanks...
-
Normal View of Code ProjectHow about i need do it in asp.net? is there any reference on tree view style? Thanks lot.. =)
-
Normal View of Code ProjectI wish to know how can i do something same as this code project forum in normal view? means the thread n reply are in tree view... any references? Millions thanks..
-
Add index in repeater/datalist/datagridThe ItemDataBound of the DataGrid occurs when data is bound to a item in a DataGrid control. The first step is to create an empty TemplateColumn in the DataGrid control as follows: ................. The next step is to specify an event handler for the DataGrid's ItemDataBound using the following event signature. void eventhandlername(object Sender, DataGridItemEventArgs e) { ......................... } This event handler should be mapped to the OnItemDataBound property of the DataGrid control as follows: The DataGridItemEventArgs has a property called Item which is of type DataGridItem and gets the referenced item in the DataGrid when the event happens. DataGridItem has a property called DataSetIndex which gives the index number of the DataGridItem. We will have to display this number within the empty template column as follows: e.Item.Cells[0].Text= e.Item.DataSetIndex + 1; Since the DataSetIndex starts with zero one is added to it for displaying the serial number. Also we will have to check the ItemType and display serial number only if the item type is not a Header or a Footer. if(e.Item.Itemtype != ListItemType.Header && e.Item.Itemtype != ListItemType.Footer) { e.Item.Cells[0].Text= e.Item.DataSetIndex + 1; }
-
How to get colour template?Thanks a lot.. where can i find the related references on this? :)
-
How to get colour template?What if i store the colour of each item in db, how can i call it out and bind it to the dropdownlist with each item in the list has different color background?? Apart from that, do you think is it possible make the same effect in a radiobuttonlist? Thanks again.. :)
-
How to get colour template?By the way, do you is it possible to make each item in dropdown list has its own different background colour?
-
How to get colour template?wow, it works great.. millions thanks =) Can i share with someone else in other forum? coz i saw that they are ppl looking for this help as well... =)
-
How to get colour template?Then how can i capture which colour the user has selected? I'm working on ASP.net with C# code, can u show me the simple code? Million thanks =)
-
How to use session state?If you prevent the browser from caching pages, the user can't retrieve the page via the Back button. Response.Cache.SetCacheability(HttpCacheability.NoCache);
-
LinkButton & HyperLinkCan we do the same effect with LinkButton like HyperLink, which once click on the LinkButton, open the content page in another frame? Apart from that, how to display the current page URL on the address bar in the browser? I'm using either hyperlink or linkbutton. In linkbutton, i use Response.Redirect to redirect my page to anothere page. I want the page to be refresh itself when user hit the refresh button in the browser....
-
How to get colour template?I want to do something similar in window based application, which can allow the user to pick the colour from the colour template, is there any references or anyone can help? By the way, i save some colour codes into the database, when i retrieve it by using dropdownlist, is there possible to make it each item in drop down list display each different colour? Willing for your answer...
-
Translate language......Can someone help me to translate the VB code into C#? I can't get the Mid & Right function of VB in C#.. wonder how... Color.FromArgb(Val("&h" & Mid(RGBColor, 1, 2)), Val("&h" & Mid(RGBColor, 3, 2)), Val("&h" & Mid(RGBColor, 5, 2))) Right("00" & Hex(Gray), 2) & Right("00" & Hex(Gray), 2) & Right("00" & Hex(Gray), 2) Million thanks....