|
really thank you my dear friend
thanks for resbecting me and abbreciate me as junior developer
i try your code and it work
thanks alot and here is my email if u want to add in your contacts
kareem_elhosseny@hotmail.com
Kareem Elhosseny
|
|
|
|
|
Hello
I have a problem in using Microsoft.Office.Interop.Word namespace, in my project I can use as fine in Windows Base project but when I try using in my Web Base project, after this:
Dim wapp As New Application
page is too be late for loading and page show as loading, in tasbar I see WinWord.exe is running after this but don't can continue ....
Mehdi Bahrami
|
|
|
|
|
Member 2736092 wrote: page is too be late for loading and page show as loading
what?
led mike
|
|
|
|
|
page can't load and shown as loading...
|
|
|
|
|
When I define doc as Documents don't have problem, but when define wapp as new application this error it's present.
Mehdi Bahrami
|
|
|
|
|
Member 2736092 wrote: I have a problem in using Microsoft.Office.Interop.Word namespace, in my project I can use as fine in Windows Base project but when I try using in my Web Base project, after this:
Dim wapp As New Application
page is too be late for loading and page show as loading, in tasbar I see WinWord.exe is running after this but don't can continue ....
You should never, ever, in any circumstances run Office on your Internet server. This is a BAD thing to do because Office applications are not designed to run on servers. They are client operations. If you want to use Office documents, consider looking at the Office Web Components instead.
|
|
|
|
|
Thank You,
But I can't find any, all of them it's by server side, anyone know what is client-side for Office Component?
Mehdi Bahrami
|
|
|
|
|
Please help about this problem...
Mehdi Bahrami
|
|
|
|
|
i have htmltable created dynamically in my page by javascript function..
this table is filled with data ..
i wanna access this htmltable data in code behind to send it to the sqlserver .
|
|
|
|
|
legend_of_zanado wrote: i have htmltable created dynamically in my page by javascript function..
this table is filled with data ..
i wanna access this htmltable data in code behind to send it to the sqlserver
you have no idea what you are doing. I suggest you try this[^].
led mike
|
|
|
|
|
Sheesh - it seems that people don't appreciate it when you try to help them. Never mind, I've 5ed to correct the imbalance.
|
|
|
|
|
Yeah, that guy is about as clueless as they come eh? If we could post binaries I would post a DLL that had a SolvesYourProblem() method exported that ShellExecuted that URL.
led mike
|
|
|
|
|
If you spell it correctly, you will get a more relevant search result. Obviously "carrer" is a usual enough word that google doesn't suggest a correction.
search for "career change"[^]
Search for "spell checker"[^]
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Yes you are absolutely right! Thank you. <sarcasm>I will take more time to proof for typos in my future posts to people that have no idea what they are doing or I am talking about. It should seriously improve communications with them.
Seriously, I mean you can't even explain to these morons that they need to read and study the tutorials and reference material available on the technology they are attempting to use. They think that because they know what a loop and an if statement is they can program anything by asking questions about all the rest in internet forums. They are completely unqualified, hopeless and have choosen the wrong carrer. DAMN!
led mike
|
|
|
|
|
The entire html code is not sent back to the server. The only data that is sent to the server is the values in the fields in the form that is posted. If you have any data that you want to access from the server, you have to put it in form fields.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hello,
i have a table which i'm populating it dynamically, i need to read th value of a specific cell i tried "tabel.Rows[1].Cells[1].Text" it's gaving me an empty value="";
i tried tr.Cells[1].Controls[0] it's not working also BUT while i'm testing it on the WATCH panel of VS 2003, when i wrote :
tr.Cells[1].Controls[0].Text it gave me the value i want, but the ".Text" can't be implemented in the code coz it's not exist!!
please if someone could help.
thank you
|
|
|
|
|
michael_jhons wrote: i tried "tabel.Rows[1].Cells[1].Text"
michael_jhons wrote: i tried tr.Cells[1].Controls[0]
Why would you try both of those? Don't you know what you put in the cells?
led mike
|
|
|
|
|
Dear Mike
maby i miss-explained what i want to do,
i have a table which contain a checkBox on the first cell of each TableRow, so foreach tableRow i'm checking if the the first cell is checked i read the value of the second cell so i can use it to delete A certain row from my database, so i must read the value.
please if you have an answer of my question, help me
thank you for your concern
|
|
|
|
|
michael_jhons wrote: so i must read the value.
What value? You still have not posted what you put in the Cell that you want to read? Don't you know?
led mike
|
|
|
|
|
the table is already populated its full of values i want to retreive that value.
here's the code:
foreach(TableRow tr in TbTariffTb.Rows)
{
TableCell cell = tr.Cells[0];
TableCell celCli=tr.Cells[1];
foreach (Control control in cell.Controls )
{
CheckBox checkBox = control as CheckBox;
if (checkBox != null)
{
if (checkBox.Checked)
{
}
}
}
}
|
|
|
|
|
michael_jhons wrote: the table is already populated its full of values
Populated how? Dude, you have now posted THREE times and you still have NOT SPECIFIED what you are putting in those cells that you want to read from. Without that information we can't help you. I'm done with you now, good luck.
led mike
|
|
|
|
|
your on a good way but there is a slight detail.
Your Code:
foreach(TableRow tr in TbTariffTb.Rows){TableCell cell = tr.Cells[0];TableCell celCli=tr.Cells[1];foreach (Control control in cell.Controls ){ CheckBox checkBox = control as CheckBox;if (checkBox != null){ if (checkBox.Checked) {
}}}}
My Advice
foreach(TableRow tr in TbTariffTb.Rows)
{
CheckBox checkBox = tr.FindControl("IDofYourCheckBox");
if (checkBox.Checked)
{
foreach (TableCell cell in tr.Cells)
{
String value = cell.Text;
}
String Value = tr.Cells[1].Text;
String Value2 = ((TextBox)tr.Cells[1].Controls[0]).Text;
}
}
|
|
|
|
|
ou might even have to cast:
CheckBox checkBox = (CheckBox)tr.FindControl("IDofYourCheckBox");
|
|
|
|
|
thank you a lot digimanus, i really apreciate your answer a lot
thank you
|
|
|
|
|
digimanus i tried all methods u gave me, which i alresdy tried it before
String Value2 = ((TextBox)tr.Cells[1].Controls[0]).Text;
an error occured it gives me: specified cast is not valid, do you think textbox is the control which has to be specified for this cell ?
thank you for your help
|
|
|
|