or as you want instead of picturebox use the label containing arrow

Place a panel in your form, set the position and size of the panel which you want to set as limit, and in that panel use a picture box control add an arrow in it. Now place your labels outside the panel and add the x and y values as text in that ...... now when user press N the add one point to y at each press unless the limit reaches that is the upper limit of your panel, and when user press S minu one point from y of picture box at each change also check the values of x and y and update you labels..... same as with E and W..... on pressing W subtract one point and on pressing E add one point to the x value of picturebox

If you Got your solution please mark this thread as solved :)

You are Welcome :)
[B]Answer number one:[/B] [CODE]this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellClick);[/CODE] is the event generated when you click on any cell of Datagrid like you were using cellcontentclick

[B]Answer number two:[/B] I used .Value.ToString().ToUpper() == "FALSE" because i was not sure about, is it False or false when converted to string.

check [URL="

check [URL="

don't place files in your root directory try to create a separate folder for placing the files or place them in you project folder.. Or use any other directory instead

[QUOTE=JuliusRyan;1570840]can u pass me some
of your Sales and Inventory System?
I need to study it thoroughly :D
imma IT Student TY
by the way heres my email

If you want to learn then you should try out yourself read books and tutorials for help but implement yourself you cannot understand others logic easily so better to try it on your own as far as help is concern this website has forums for widely used languages where you can find solutions of your problem but there also no one can give you the whole thing

ok then where are you creating the xls file in your code?

the code contained in that is for uploading as well as downloading file.... so you want to say that you have csv file and you want to download the contents in xls file?

why putting an [] with password? strange i never encountered such a problem should look into it

have you checked [URL="

have you tried downloading other file extensions like .txt, .doc etc?

Check these links may be helpful [URL="

try this code
//your code
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(dataGridView1_CellClick);
void dataGridView1_CellClick(object sender, System.Windows.Forms.DataGridViewCellEventArgs e)
// MessageBox.Show(dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString());
if (dataGridView1.Rows[e.RowIndex].Cells["checkbox"].Value == null || dataGridView1.Rows[e.RowIndex].Cells["checkbox"].Value.ToString().ToUpper() == "FALSE")
dataGridView1.Rows[e.RowIndex].Cells["checkbox"].Value = true;
dataGridView1.Rows[e.RowIndex].Cells["checkbox"].Value = false;

           catch (Exception str)


place [ICODE] CheckBox deletebox = new CheckBox();[/ICODE] before your if condition

Check [URL="

try this code [CODE] StreamReader reader = new StreamReader("Answers.txt");
string strAllFile = reader.ReadToEnd().Replace("\r\n", "\n").Replace("\n\r",
string[] arrLines = strAllFile.Split('\n');
rand = r.Next(0, arrLines.Length - 1); //rand is a predefined variable
Console.WriteLine(rand + "---");
answer = reader.ReadLine();
answer = arrLines[rand];
Console.WriteLine(answer + "**");

Write two insert commands for combobox1 and combobox2 (for both tables) on button click.... your line number 29 and 32 tells us that combobox contain your table names is it right?

:) If you are done with you problem then mark this thread as solved before leaving

check [URL="

if 12oz of soda killed 2 lbs of mouse than it means 6 oz soda is enough for 1 lb.... If it is true than if the weight of you friend is also in lbs then just multiply the weight with 6oz
[CODE]//declare variables
double sweetnerKillMouse_2lb; // amount of sweetner that will kill mouae
double sweetnerKillMouse_1lb;
double sweetnerKillHuman;//amount of soda that will kill a human
double newAmountSoda;

    //assigne variables
    AMOUNT_SODA = 12;//espressed in oz
    MOUSE_WEIGHT = 2;//expressed in lbs
    START_WEIGHT = 150;

    //find out how much sweet ner killed te mouse
   // sweetnerKillMouse = SWEETNER_PERCENT_SODA * AMOUNT_SODA;
    sweetnerKillMouse_2lb = SWEETNER_PERCENT_SODA;
    //find out how much sweetner human drinks till he dies 
    //(amount of sweetner that kills human / human weight) = (amount that kills mouse / mouse weight)
  //  sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse / MOUSE_WEIGHT;
      sweetnerKillHuman = DESIRED_WEIGHT * sweetnerKillMouse_1lb;
    //find out the total amount of sida which has the amount of sweetner that kills a human
    //(amount of sweetner that kills the mouse / amount of soda ) = (amount of sweetner that kills human / new amount of soda)
    newAmountSoda = (AMOUNT_SODA * sweetnerKillHuman) / sweetnerKillMouse;

    System.out.println(newAmountSoda);//MY RESULT IS 840.00[/CODE]
gulbano commented: very good +3
juan92 commented: Helped me realize something simple. +1

i can't understand Line # 23 how can you say that??? 12 oz of soda killed a mouse the that 12 oz contain 0.1 % sweetener inside it then why to calculate again?


[QUOTE=jingda;1569603]Can you totally cannot post or it will take a longer time? Have you try using other internet network and see whether you are facing the same problem. Could be due to daniweb servers or yourself. Change browser and see whether the problem persists?[/QUOTE] Have you try using other internet network? which networks you are talking about?

U are welcome

Try adding this event in you code

//if you are working in asp
<asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound" >
//if you are working in c#
this.GridView1.OnRowDataBound+=new GridViewRowEventHnadler(GridView1_RowDataBound);

[CODE]protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
// searching through the rows
if (e.Row.RowType == DataControlRowType.DataRow)
String status = DataBinder.Eval(e.Row.DataItem, "status").ToString();

    if (status.ToUpper()=="OPEN" ) 
   e.Row.BackColor = Color.Red; 


what is GridView1? isn't it datagridview?