This program in asp.net 2.0 is a Spanish/English Dictionary.
It consists of two textboxes,one button and a datalist. The datalist is bound to an acces database consisting of two columns; One Spanish and one English. When a user enters a Spanish word in textbox1 and clicks the button, the meaning of the word appears in textbox2. Now sometimes a user enters a word that is not in the database. I want, in this case, to have a javascript messagebox...
User Profile
Collapse
-
Javascript messagebox
-
Thank you so much expert phvfl
You showed me the starting road and finally I wasw able to capture the string in the datalist that I want to split. The code is shown below:
Code:Protected Sub DataList1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles DataList1.ItemDataBound If e.Item.ItemType = ListItemType.Item Or _ e.Item.ItemType = ListItemType.AlternatingItem
Last edited by Frinavale; May 18 '10, 07:09 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. -
Your code was very helpful but I am getting the following error message:
"Unable to cast object of type 'System.Data.Da taRowView' to type 'System.String' "
Is there a way to fix this error
Thanks a lotLeave a comment:
-
-
Thank You so much for your professional. I would love to have an example code
Thank you again and appreciate your helpLeave a comment:
-
how to split a datalist bound item in asp
Hello every body
I created a simple program usine web development 2008. The program consists of a datalist control that is bound to an access database, a textbox and a button. When a string is entered in the txtbox and click the button I get the value of the string. The problem I am facing is that the value I am getting is something like: John-William-Henry-Jack. This format is already in the database. What I need is to split the string so... -
bassemG started a topic how to put a progress bar on a splash screen to show the load time of an applicationin .NEThow to put a progress bar on a splash screen to show the load time of an application
Hi evere body
I did an application in vb 2005. The application includes 4 databases. I have assigned ten seconds for the splash screen to show while the application is loading. I need to include a progress bar on the`splash screen to show the load progress of the application.
Any help is much appreciated
No activity results to display
Show More
Leave a comment: