-
I am using MVWD 2005 Express and Sql Server 2005 Express. I am using SqlDataSource control and GridView control to disply a ata table, and let user to input data into the database through dropdownlist and TextBox. When I run the application I always get exception:"Conversion failed when converting...
-
The code below takes the selected value from a drop down list. The drop down list is populated on form load by: Dim dirInfo as New DirectoryInfo(Server.MapPath("/Images/Blog/")) lstImg.DataSource = dirInfo.GetFiles("*.*") lstImg.DataBind() Basically, it lists the images contained...
-
Yeah Thanks But how do you do it Here is some of my code. I know its pretty obvious but I can't see it can you send me a correct couple of lines. These controls are in a table Dim txt As New TextBox txt = CType(e.Item.FindControl("etxtPK_User_ID"), TextBox) txt.Visible = False e.Item.FindControl...
-
Hi, it's me again. Mr. I-have-issues-with-a-calendar. I've gotten really successful at this point, as I've created an OnSelectionChanged event and matching sub. It outputs the selected date to a Label. Works pretty neat. So anyways, I found a tutorial on using the Calendar control at this...
Posted to
Web Forms
(Forum)
by
vsguy06
on
09-01-2006, 12:00 AM
Filed under: vb.net, asp.net, postback, database connection
-
Hi Android, Sure thing... I think in VB.NET it would look something like: Dim properties As CascadingDropDownProperties = MyCascadingExtender.GetTargetProperties(MyDropDownList) If properties IsNot Nothing Then properties.SelectedValue = "val" End If Thanks, Ted
-
hi why if i configure ma dataliste like that 1: <asp:datalist id="datalist1" runat="server"> <headertemplate></headertemplate> <itemtemplate> <%#databinder.eval(container.dataitem, "whatever".tostring())%> </itemtemplate> </asp:datalist>...
-
Hi, I don't have a lot of experience with the .net framework, but I know basics. I'm trying to get a set of sample pages up and running on my machine, however none of the .net pages work . I have no problem serving non .net pages with iis, but can't figure out why my .net won't work ...
Posted to
Getting Started
(Forum)
by
aspextrme
on
09-08-2006, 12:00 AM
Filed under: .Net 2.0, vb.net, asp.net, asp.net 2.0, IIS, i wait ur replay if u face some problem...caz i try it and its work...byee
-
If anyone is still around to help out, I HAVE to find a way to pass a parameter to the CascadingDropDownList. I've tried using the Page-based approach, and it results in horribly slow performance... Dropdown 1 shows a product family Dropdown 2 shows a product group Dropdown 3 shows descriptions of...
-
I need to get the value of a databound Label into a server side procedure from the hovermenu. Essentially, I check whether the user has the ability to delete the row by passing in the row_id to a server side procedure. Depending on if the user can delete the row, the hover menu hyperlink is generated...
-
Hi, I'm trying to upload a PDF and store it in a database. At the moment we're using mySql but we have plans to change to SQL in the future. I've currently got a function that takes the Binary data as a Byte array, but at the moment when it inserts it it inserts the string "System.Byte...
Posted to
MySQL
(Forum)
by
blackred
on
09-20-2006, 12:00 AM
Filed under: pdf document, .Net 2.0, vb.net, asp.net, postback, database connection, asp.net 2.0, SQL Insert Database, documents