Ok...
I feixed the redirection... it was a route problem
My htaccess looks like this
# Hostmonster.com
# .htaccess main domain to subfolder redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file...
It works but check out what is happening with the url
www.lwiclean.com finds the index.html file with the metarefresh then metarerhesh goes to www.lwiclean.com/home
but if we click on the links it shows www.lwiclean.com/lwi/home
here is my mod_rewrite
# Hostmonster.com
# .htaccess main...
I have a app hoted on a rails server
my application - lwi - is under the rails folder and in the public_html I have lwi folder as well.
the only way to access my app right now is through http://lwi.lwiclean.com/home
but I want my link to be www.lwiclean.com
I assume that i have to do a...
OHHHHHH.......
So close....
StreamWriter writer = new StreamWriter("Numbers.txt");
foreach (Control t in Controls)
{
if (t.BackColor == Color.FromKnownColor(KnownColor.LightSalmon))
{...
foreach (Control t in Controls)
{
if (t.BackColor == Color.FromKnownColor(KnownColor.LightSalmon))
{
StreamWriter writer = new StreamWriter("Numbers.txt");
writer.Write(t.ToString()+",")...
Ok.... I scraped the main idea of saving the states of each textbox one by one and went for a saving button that will read trough the for and save all textboxes with back color lightsalmon into a txt file.
here is my code:
so I have 25 of these (one for each number of my bingo sheet)
public...
Now...
I'm trying to do this.... I'm building a bingo app as my first app.
I got it to save the number inside of a text box in a txt file so when we call the app again it will remember the numbers that were clicked last time.
The problem is when I click on textboxt 2 it overides the content...
HI everybody
I'm using the following code to find a especific string in a txt file and then change the properties of the object. the text is there but it's not changing the textbox color as I want it to do.
StreamReader tr = new StreamReader("Numbers.txt");
Regex rx = new Regex(tr.ToString())...
My goals are (in a nutshell):
1. (insert statement) Is to insert the ID entered in the text box into table A.
2. Use the same ID to Search for the OldID in a table B. Now That I've found the oldID I want to UPDATE the oldID with the new ID in the table C.
The first piece is working....
I...
Thanks Alex....
The other thing I'm trying to do is to combine both wuerie into one
I'm comming from a Coldfusion background where we are used to use one sql estament to sort the table and one update statement to go trough the results of the SQL statement.
That is pretty much what I tried to...
which one is the no-result-SQL???? the insert or the select???
I though the reader is to execute the query and the reason I commented this line
//SqlDataReader ReaderDelete = CommandDelete.ExecuteReader();
is because it was running inside of an open reader
SqlDataReader dataReader =...
It's working but the update statement is not updating the table
any ideas
private void savenewid()
{
Connection.Open();
String Newproductid = productid.Text;
String SQLStatementInsert = "insert into releasedids (newid) Values ("+...
wrote this script below to retrieve data from a specific table.
private void savenewid()
{
Connection.Open();
String Newproductid = productid.Text;
String SQLStatementInsert = "insert into releasedids (newid) Values ("+ Newproductid+")"...
Thanks.... I was looking at the wrong place.
can you halp me with this code here:
private void Form1_Load(object sender, EventArgs e)
{
XmlDocument docXML = new XmlDataDocument();
docXML.Load("employee.xml")...
With my code below I'm trying to accomplish:
1. Change the color of the button for checked and uncheked - Done
2. Save the value of the button into a xml file if button is clicked - Not working
3. delete the value from the xml file if button is uncheked - Not done
4. retrieve the value to...
In my form I have a text box with some info inside. When user clicks in the text box it changes its color to display that this bos has been picked and user click on it again it goes to the previous mode.
here is the code:
private void TextBox1_Click(object sender, EventArgs e)
{...
I tried this
private void TextBox1_backcolorchanged(object sender, MouseEventArgs e)
{
this.TextBox1 = SystemColors.Highlight;
}
still didn't work
Thanks
Marcus
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.