Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~19.3K People Reached
Favorite Forums
Favorite Tags

30 Posted Topics

Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
314
Member Avatar for GLT

Maybe there is one single quote to many , try this [code] search.Source = "SELECT * FROM product WHERE ProductID = " + Replace(search__MMColParam, " ' ", " ' ") [/code]

Member Avatar for ArtistScope
0
644
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
2K
Member Avatar for dweaver6

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)) %>

Member Avatar for trupti_rose
-1
8K
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
288
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
2K
Member Avatar for TobbeK

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.

Member Avatar for sknake
0
217
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
95
Member Avatar for TobbeK

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. …

Member Avatar for TobbeK
0
277
Member Avatar for TobbeK

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 …

Member Avatar for sedgey
0
124
Member Avatar for TobbeK

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) { …

Member Avatar for TobbeK
0
135
Member Avatar for TobbeK

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 …

Member Avatar for ddanbe
0
163
Member Avatar for GLT

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 …

Member Avatar for GLT
0
243
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
90
Member Avatar for lam kie min

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 …

Member Avatar for TobbeK
0
92
Member Avatar for nofullstop

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]

Member Avatar for nofullstop
0
98
Member Avatar for zanzo

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]

Member Avatar for zanzo
0
144
Member Avatar for TobbeK

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 …

0
115
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
407
Member Avatar for SheSaidImaPregy

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]

Member Avatar for SheSaidImaPregy
0
105
Member Avatar for johnny.g

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 …

Member Avatar for SheSaidImaPregy
0
197
Member Avatar for werks

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 …

Member Avatar for werks
0
134
Member Avatar for SBox

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 …

Member Avatar for Kim Rowden
0
432
Member Avatar for TobbeK

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> …

Member Avatar for katarey
0
762
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
364
Member Avatar for Nolwen

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"

Member Avatar for TobbeK
0
259
Member Avatar for bungek84

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.

Member Avatar for dilipv
0
155
Member Avatar for Nolwen
Member Avatar for Nolwen
0
98
Member Avatar for TobbeK

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() …

Member Avatar for TobbeK
0
97
Member Avatar for TobbeK

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 …

Member Avatar for TobbeK
0
1K

The End.