No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
30 Posted Topics
Hello, I'm playing with some RSS functions, and I like to fetch/extract the (image:thumbnail) url from the CNN RRS Feed: http://rss.cnn.com/rss/edition.rss In this (and other) RSS feeds there can be mediafiles (image:thumbnail) that seems to be impossible to grab and display together with the rest of the feed output. The … | |
Re: Maybe there is one single quote to many , try this [code] search.Source = "SELECT * FROM product WHERE ProductID = " + Replace(search__MMColParam, " ' ", " ' ") [/code] | |
Is there any way to parse foreign decimal/double values from a Excel file with OLEDB? However, searches on Google shows this is not a new problem, so put my hope to anyone who maybe have a solution. MY COMPUTER SETTINGS: Non english settings on the machine, using the "," instead … | |
Re: Hi, you do something like this example <% ' CInt Converts to Integer ' CStr Converts to String ' TypeName Returns subtype variable for your control a = Cint(1) b = Cstr(1) Response.Write(TypeName(a)) & "<br>" Response.Write(TypeName(b)) %> | |
Can anyone provide a quick solution for INSERT the entire excel sheet into a access database. This is a click button event that just opens a excel sheet in a windows form. What I like to see is some example how to INSERT the same excel data into a access … | |
Hi I put my hope to anyone experienced in the PdfSharp class library or perhaps can find an answer anyway. Please provide some code example, I have tried many variations and have already seen most of the existing errors. I have some problems adding new pages. I want to add … | |
I need to serialize items populated in a listview. Can anyone provide me with some simple example how to do that. No matter if it is binary or XML. | |
Hi I like some beginnerhelp in C# and the basics of OOP. I have coded a bit but need some further guidance to continue. This is an application with the purpose for my own training in capsulation, Inheritance and Polymorphism. Also see the attached image of user interface. I need … | |
I have a small problem passing values between classes while a textbox is used. I can reach the public variable (field) for the textbox that belongs to the Form class from my other class, but no values in textbox1.text can be passed from the Form class to my other class. … | |
How can I access a variable in Global.asax.cs This is my current nonworking code ..... my code in Global.asax.cs [code] public class Global : System.Web.HttpApplication { public string GlobalMethod = "En exempeltext......."; } [/code] my code in default.cs What I like to do later is to print the result in … | |
This has probably a simple solution, but i cannot find any obvious wrong. This is a simple button event and the supposed output in Label5 should be: One Two Three. Now, I can only get "Three", the last value in the array. [code] protected void Button4_Click(object sender, EventArgs e) { … | |
Hi I am completely new to C#, so please bare with me .... What I am like to do is to pass variable values between the methods below, and finally print the results in the last method. I have commented the code with explanation. This is for test purposes and … | |
Re: Try to close the variable with a single quote 'rs_search__MMColParam = "1" and test. It is set to the static value "1" for some reason. It is possible that value overrides the input. Test this: [code] Dim rs_search__MMColParam 'rs_search__MMColParam = "1" If (Request.Form("ProductID") <> "") Then rs_search__MMColParam = Request.Form("ProductID") End … | |
I have a user input form where the user can choose to specify a number of input fields used for database input. So what I did is to create a loop within the same form and then created the fields the number of times the user has specified. Example: the … | |
Re: You can do what you are asking for as long as you don't use the .html extension. It is possible to retrieve session values at the clientside, but in this case you are creating a login facility and I do not recommend using clientscript for that. You can put whatever … | |
Re: Hi One way doing that is by using CSS. Haven't done this myself but I think you find this article interesting. [url]http://c82.net/posts.php?id=25[/url] | |
Re: I changed the (var SQL =) to (SQL = ) Try this: [code] SQL = "INSERT INTO User (FirstName, MiddleName, LastName) VALUES ('lolo', 'keymo', 'rub')"; connection.Execute(SQL); [/code] | |
I have a small problem with this select box. This one loops out [year-month] in 12 month periods starting from the current month. When a selection has been done, a month value is sended back to this select box so that the selected month then stays selected. That works, as … | |
Anyone having experience in MySQL and REGEXP ? I have 1 input field, "what" Now, the value from the "what" field can contain several substrings and I like each of them to be searched. Can this be done by using REGEXP or do I need to split the "what" input … | |
Re: Hi there I am not a ASP.NET kind of guy as you know, so I might be on thin ice here. But I find something that maybe can be helpful in measuring speed and efficiency. [url]http://www.codeproject.com/KB/cs/StringBuilder_vs_String.aspx[/url] | |
Re: Here's one simple example where you can receive, check and redirect user logins. Change the DB table fields and so on to match your own data base. [code] <% PW = Request.Form("pass") ' password from the loginform UN = Request.Form("user") ' username from the loginform SQL = "SELECT * FROM … | |
Re: The wildcard characters can be different depending on what database in use. Try using the * character and see if it works better. Also try to set a static value and and see if you get any results from the database as WHERE Title LIKE '%someword%' or WHERE Title LIKE … | |
Re: Try to limit the inserted fields in testing, and then add the other fields one by one to you see which of the them failed. I can't see any wrong with your code, I wild guess is that the date format in the database doesn't accept the date input. If … | |
Is any way to fill an ASP variable at clientside with javascript. I like to use that value to send as a string with a textlink like described below. <SELECT ONCHANGE="location = this.options[this.selectedIndex].value;"> <option value="">Choose something</option> <option value="0">------------------</option> <option value="1">option 1</option> <option value="2">option 2</option> <option value="3">option 3</option> <option value="4">option 4</option> … | |
I thought this was a simple task to do, but not. I just want the option stay selected when a value from the session variable exists, AND it does after the form has been submitted. So why can't the option value stay selected as long as session is populated. If … | |
Re: You can try place the ("zip") into a variable like this and then call it for passing zip = "12345" izip = Left(zip,2) izip Output: "12" | |
Re: Ooooh yes you can Here's a working connectionstring: Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "DRIVER={MySQL ODBC 5.1 Driver}; SERVER=localhost; DATABASE=<yourdatabasename>; UID=<yourusername>; PWD=<yourpassword>;" Change SERVER=localhost if your database is placed somewhere else. You can download all of the drivers from mysql.com. You may have to setup an DSN connector for the drivers. | |
Re: Hi there Try to add Internet Guest account to your inetpub folder | |
My looped output looks like this Link 1, Link2 , link3 , link 4 .....and so on I need a way to count the RS in either words or chars to cut it if needed in this manner: Link1, Link2, Li ..... Have tied to measure the length with Len() … | |
Need some help with a nested loop. This one (my example code below) prints out a correct 3 column HTML table with the recordset with proper opening and closing HTML tags AS LONG as the GRUOP BY clause is set by the topcategory Db table. I think I may need … |
The End.