|
Hi All,
In my application i want to read the row content of an excel file as html text (for getting the font and style). If anybody knows please help me....
Regards,
Prajilal
|
|
|
|
|
Save your excel file as an HTML document, excel has had the ability to export as HTML for a while.
|
|
|
|
|
Hello Friends..
I am using a datagridview which have a checkbox column.there is a delete button on the form.i want that when i click the delete button and none of the check box is checked(true). it will simply display a message that "Firrst select a row".
|
|
|
|
|
Loop through each row in the datagridview and check for the ones where the value of the cell with the checkbox == true. If there are none then be rude to the user and ask him/her to check 1 or more item.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
suppose there are 20 rows and one is checked and i put the code (checkbox=true)with in the loop then 19 times it display "Please Select a Row". and i think its not good.
|
|
|
|
|
Thinking is not one of your strong suits is it.
Loop the data rows
count the checked items
ask for confirmation to delete n# items checked
OR call the user an idiot and ask them to check 1 or more item.
If you can't work these things out you are really going to struggle as a developer!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
ok ok now i understand...
i am a fresher,i have no idea about that...
|
|
|
|
|
my apps icon show in system tray. whenever i am closing my apps then that icon still showing in system tray.so please tell me is it possible to refresh system tray by c# language or by calling Win32 API from c#. please help me with sample code if it is possible.
tbhattacharjee
|
|
|
|
|
Hi,
I wrote an article on that subject.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
I've only ever done this once but IIRC you put the notifyicon into the tray, when closing the app you need to remove it before closing the app. Use the mainform.onclosing event to remove the icon.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
correct, unless your app crashes or you abort a debug run. Then the icon stays put.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Luc Pattyn wrote: unless your app crashes
Hah, I write perfect code - my apps never cr...... zzzzttt
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
In a **web Page** I have 2 treeviews(Treeview1 and Treeview2)
Task is to drag n drop nodes between the two TreeViews....?
|
|
|
|
|
|
Why don't you post in the ASP.NET forum.
|
|
|
|
|
I want set the attribute "innerText" value of an IHTMLELement,
for example, consider "innerText" value should be set to "Element",
how can I do that?
Check this link for Setattribute():
http://msdn.microsoft.com/en-us/library/aa752330(VS.85).aspx
|
|
|
|
|
Hi,
Is it possible to develop " a windows application to call a webservice which will inturn call a stored procedure ". If, so please help me in doing this.
thanks for the help
Krishna
|
|
|
|
|
yes it is.
1. create a web service application
2. in a method from your web service call your stored procedure using System.Data.DbCommand inheritance (i.e SqlCommand for SqlServer) by set it's CommandText property with name of your stored procedure, CommandType = CommandType.StoredProcedure and create it's related parameters (see SqlParameter class as sample)
3. Create a windows application (windows form or console)
4. Add Web reference from your web service address to your windows application, usually it will create a class refer to your web service object
5. call the method in step 2 from created web service class in your windows application
hope it helps
dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support
|
|
|
|
|
Hi Dhaim,
Thanks for the reply..
Can you please elaborate point 2 in your reply.
public class Service1 : System.Web.Services.WebService
{
[WebMethod]
// Is calling SP should happen here??
// my SP is generic_SP written in Sql server 2005
please provide a low level implementation as I am newbie in this field and to finish of this work urgently.
Sorry for the pressure.
please help.
Thank you,
Aditya
|
|
|
|
|
Krishna Aditya wrote: Sorry for the pressure.
What makes you think there is any pressure on Dhiam, he is doing you a favour by trying to help you. No pressure on him!.
This is pretty straight forward design and construct for a developer, why is there pressure on you to perform this if you are a newbie. Asking someone for a "low level implementation" is the same as asking for the codz, greatly frowned upon in these forums. You need to do the work yourself, including the research into how to build a web service.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Krishna Aditya wrote: I am newbie in this field and to finish of this work urgently.
Sorry for the pressure.
If it's urgent, pay to get it done. Try rentacoder[^] or work at it and figure it out.
The pressure is only on you, no one here will code for you.
|
|
|
|
|
Hello
I am about to write an application which will be responsible to transfer files between two servers. Can someone suggest me the best possible way to do that? Should I go for socket programming? or dot net remoting? or web-services?
I am open for suggestions or comments.
saq!b
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
I need to do an client-server application that send images to a client. The client will be a mobile phone with windows mobile.
Many Thanks
modified on Friday, May 22, 2009 6:54 AM
|
|
|
|
|
Raquel Barata wrote: I need to do an client-server application
then you need to start code it.
dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support
|
|
|
|
|
I have two coordinates on the screen x1 and y1 and i have an object at that location.. now i have x2 and y2 which will be the destination point of my object.. I am planning to move my object 1 pixel at a time following the path from x1, y1 to x2, y2.. is there a formula that you can recommend?
|
|
|
|