Is there a way to get the value from a DropDownList into the InsertParameters of a ListView SqlDataSource. I know that Bind() and Eval() don't work even though this works for other elements like TextBox.
For example
<asp:DropDownList ID="voucher_type_idDropDownList" runat="server"...
I have been trying to convert my old access sql to sql server but after several hours have given up for now. Is there a tool to do this or failing that can someone convert this to SQL Server sql
SELECT DISTINCT vouchers.ID as vid, vouchers.*, merchants.merchants_logo, merchants.merchants_id...
Can anyone work out why my HTML5 Datalist is not working on this page
Link
but is on this test page
Link
The datalist options are being populated. If you look at the source you can see this, however, a dropdownlist is not appearing on the first page apart from for previous autocomplete...
I am trying to change an ORDER BY in my SelectCommand of an AccessDataSource.
I have tried using a QueryStringParameter to get a value and then add
"ORDER BY @orderby DESC"
but that doesn't work. I have also tried using a FilterExpression with a QueryStringParameter like this...
This sounds as though it should be very simple but after hours of searching I cannot find an answer. All I need to do is display the value of a querystring from a QueryStringParameter in the ItemTemplate of my ListView. For example, I have this QueryStringParameter in my datasource...
I am trying to test a dataitem for an empty string and display "N/A" if the string is empty, otherwise display the string. For example, I have tried this:
<%# Eval("code").ToString()=="" ? "N/A" : Eval("code") %>
As suggested by numerous web searches. However, this does not work and produces...
I'm reading a CSV file into a c# script and trying to replace certain characters that are causing problems. However, I can't seem to replace ’ which needs to be an apostrophe.
I have tried stripping non-ascii characters with a regex but that leaves a ™ which I then cannot replace either...
I have an asp.net site that uses forms authentication to login to my admin backend. A few days ago I deleted my cookies in IE and now I cannot login. When I try it just stays on the login page.
I have been searching for an answer to this for a couple of days but can't find anything. Any help...
I have a list view that has the usual Delete, Edit and Insert options. However, when deleting a record I need to get the id of the record that is being deleted so I can make further changes to my database.
Can anyone supply some VB code that would allow me to do this.
Thanks
Web Development...
I am trying to either show or hide a link based on the value of an Eval within my list view
I would like to do something like this
<% if Eval("value") <> "" then %>
display link
<% end if %>
but I cannot use these tags in a listview
I have also tried to do it based on the visible property...
I expect this is simple but can't seem to find a good answer.
How do I update a dropdownlist that is in both the insert and edit templates of one listview when I insert, edit or delete items in another listview.
To clarify. I have:
ListView1
ListView2
DropDownList1 in the EditItemTemplate of...
I am trying to return some information that needs to consist of the name from one table and all the categories that each name belongs to from another.
However, I am searching using the category name. In other words I need to list all records that are under a specific category and also list the...
I am trying to send emails to both ntlworld.com and googlemail.com email addresses but they are not received when I include my domain, freemoneyoff.co.uk, in them.
This is mainly for sending newsletter signup confirmation emails that contain a link to confirm a users subscription to our...
I have just removed an exchange account from Outlook 2007 which seems to have removed all folders and emails that I had for that account and all other email addresses that I recive email on. How can I restore these emails and folders?
Web Development Manager
http://www.freemoneyoff.co.uk...
I have two listviews, ListView1 and ListView2. After insterting (and deleting / updating) a record in ListView1 I need to refresh a DropDownList in ListView2 with the new database values.
I have tried to do a DataBind() on the InsertedItem event but get the following error:
Databinding...
Could anyone show me how to send all the selected values from a checkboxlist inside a listview to the listview Insert Parameters?
Thanks
Web Development Manager
http://www.freemoneyoff.co.uk
http://www.freemoneysurveys.co.uk
http://www.free-money-resource.com
I have created a horizontal tab menu for my site but the CSS class does ot work properly. I can change the font size and color but borders, background-coor and padding doesn't work. I have exactly the same code on another site which works fine. Any ideas?
Here is my code
CSS:
.tabs {...
I have created a horizontal tab menu for my site but the CSS class does ot work properly. I can change the font size and color but borders, background-coor and padding doesn't work. I have exactly the same code on another site which works fine. Any ideas?
Here is my code
CSS:
.tabs {...
The HDD in my HP Pavillion dv6 2117sa is not being recognised and I wondered what I can do for further tests. In other words how can I check to see whether it is a motherboard problem or just a connection problem and what can I do in each situation.
Just to give you more details:
The drive is...
After hours of searching I have decided I perhaps should use Tek-Tips to hopefuly find an answer to this.
I have an XML file that is encoded in ISO-8859-1. When I open this in a browser everything is fine. In particular £(GBP signs) which is my main concern.
When I load the xml page via an ASP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.