No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
Re: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Shuffle { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { // create variable to hold a random number int num; // create a … | |
Re: [code] String connectionString= "(Enter path to database here)"; SqlConnection conn = new SqlConnection(connectionString); conn.Open(); SqlCommand command = new SqlCommand(); cmd.Connection = conn; cmd.CommandText = "(sql statement here)"; SqlDataReader dr = cmd.ExecuteReader(); conn.Close(); [/code] Let me know if this helps. | |
I have this webpage with many ads. Currently I have them appearing in a random order without repeating each time the page is refreshed. The code for that is here.. [code] <div id="ads"> <script type="text/javascript"> var i, images = []; // insert ads here images.push("<img src='Images/xxxxx.jpg' alt='' />"); images.push("<img src='Images/xxxxx.jpg' … | |
I have a 3 column css layout which I got from [url]http://matthewjamestaylor.com/blog/perfect-3-column.htm[/url] As is, everything works fine, but I'm trying to make the side columns thinner and the middle column wider. I'm just having a hard time adjusting the layout to meet my needs. Wondering if someone can help me … | |
I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() … | |
When I view my webpage In Firefox if looks great but in Internet Explorer some images look a little blurry. If I zoom out to 90% it looks ok. My question is: Is there some JavaScript code that sets the user's browser to zoom at 90% if using internet explorer? … | |
I have a website made in asp.net and I'm attaching a blog from blogengine.net. I already have a domain name and I'm looking for a host which has email and "pointing". I have never bought a hosting plan before and I was wondering if you guys had any tips on … | |
I'm still new at this.. but I'm trying to create a blog on my website and I'm using blogengine.net. Everything works fine on my local machine but when I upload it to my website I get this error: Configuration Error Description: An error occurred during the processing of a configuration … | |
I have this website with a login and a password recovery link. When I click the "forgot my password" link it takes me to a page which asks for username and security question answer. When I fill it out and hit submit. I am taken to a page that tells … | |
Re: I believe cells is 0 based. So... [code] ((TextBox)(row.Cells[0].Controls[0])).Text + "', Telco='" + ((TextBox)(row.Cells[1].Controls[0])).Text + "' , Access_Code='" [/code] etc. Let me know if this fixes the problem. |
The End.