Every time I try to run MS Word,Excel, PP, OneNote (2007), it crashes. I get:
microsoft office has stopped working..
Safe mode also doesn't run. I have windows server 2008 (32bits) and MS products used to work some time before. How to fix it?
I have a code:
foreach (GridViewRow dr in gvCategories.Rows)<br/>
{
<br/>
if (dr.Cells[0].Text == txtEnterCategory.Text.Trim())<br/>
<br/>
isError=true;
<br/>
<br/>
}
Debugging: dr.Cells[0].Text is always "", even there are records. How to use a loop to check each row to find if a record exists in the gridview not using sql?
I can't add AJAX controls to VS2010 rc. I try to drag it to design view, but nothing happens, code remains unchanged. Where is a problem here? Should I install manually ajax toolbox to make it work?
I have a C# button, let's say 'ON/OFF':
I want to change 'OFF', when we first click it and run buttonOFF()
When we click again, it changes to 'ON' and run buttonON()
and so on..
What's the correct way to do that? Can I do it all in one onClick event? peace of small example would be useful. Thanks !