|
Do some experimentation yourself. Although I am not an expert in Excel Automation, I remember something like Worksheets[0].Columns collection.
|
|
|
|
|
Thanks for the Reply.....
I have found the solution....
for hiding first column
Excel.Range rangen2 = oSheet.get_Range(oSheet.Cells[5, 4]);
rangen2.EntireColumn.Hidden = true;
|
|
|
|
|
How are you using Excel with ASP.NET ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks for the Reply.....
I have found the solution....
for hiding first column
Excel.Range rangen2 = oSheet.get_Range(oSheet.Cells[5, 4]);
rangen2.EntireColumn.Hidden = true;
|
|
|
|
|
Hello,
I am using :Net 3.5, ît has CSS2.1 validator, how can I migrate it to CSS3.0?
modified on Thursday, November 12, 2009 6:03 AM
|
|
|
|
|
Retrieving the COM class factory for the component with CLSID due to following error and error is 80070005
|
|
|
|
|
Check if Crystal Report is installed in Server properly.
|
|
|
|
|
in server framework is present but crystal report is not present i think there is some issue of version
|
|
|
|
|
You need to install crystal report component to the server as well to use it. I think the component you are asking for is not registered....
The component generally installs with Framework.
|
|
|
|
|
how to create a remote desktop using asp.net??
urgently!!!
Thank you...
and do you have any tutorial for build it??
i will wait for the answer...
|
|
|
|
|
Hey... This is very easy. I think there is a component for this.
Use Microsoft Terminal Services Type
If you add this to your form, you might use UserName, Password to open Terminal.
|
|
|
|
|
ok, thank you friend...
but, i want to create remote desktop software using asp.net C# language...
do you anything source code or the software made by used asp.net C#??
|
|
|
|
|
As I told you earlier.. You can easily access this component from your application.
Take a look on this article to find some insight on this :
Remote Desktop using C#.NET[^]
|
|
|
|
|
v_neil87 wrote: i will wait for the answer...
Then keep waiting. It is considered very rude around here to say you need it urgently. People here volunteer their time and your problem is not urgent to anyone but you.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
The Microsoft Terminal Services Type Library can be used only with Windows Forms applications. It cannot be used with ASP.NET. A remote desktop through web interface is a very advanced topic.
|
|
|
|
|
in gtalk,at a tme can v snt a msg like 'Hi' to all existng cntact membrs lke yahoo?
I know this is not at all relative place..but i dnt have other option
Srinivas Mateti
|
|
|
|
|
No I dont think there is any option.
sris 426 wrote: I know this is not at all relative place
Then why should you post here. Its true this is not the right place to post this query.
|
|
|
|
|
You do have an option - The Lounge. By the way, the answer is no. GTalk does not support multi-person chats.
|
|
|
|
|
well there is no option of sending multiple msg in gtalk
rather u can have a group chat.....just use igoogle page and add gtalk in it,here u can find the option of group chat and u can add any number of frnds in that chat(only online frnds ,for sure )
|
|
|
|
|
Hi all,
I have a gridview (say Agenda )which has several databound fields and a template field
the template field has a linkbutton and a gridview (say AgendaItem).
inner gridview (agendaItem)is poulated at the time of datarowbound event of outer gridview (Agenda)
I want to delete AgendaItems from a row of Agenda by clicking the linkbutton.
but how can I identify agendaItem gridview of respective row of agenda gridview.
Remember that I am just clicking the Linkbutton of a row of Agenda gridview.
=========
If I can identify the Agenda grid row by clicking the templated linkbutton then I can do the rest.
thanks
|
|
|
|
|
hmm..
Since the agendaitem is populated at the time of datarowbound of Agenda, u can identify the row for inneragenda when the link button is clicked. U can then use the same relation as at the time of binding data to delete the data from the database and then rebind the two gridviews.
I know this can be resource extensive if u have several clicks per user as per ur application . Can't think of anything else. Let's see other suggestions.
|
|
|
|
|
I want to have some information regarding sending password to the mailId given in the textBox .
The code is made as follows:
I have made login form in which there is button "Forgot Password". After
clicking on it, there'll display a forgot password form in which u have to enter your email to get to know the password.
Asp.Net code:
SqlConnection conn;
btn_forgor_password_submit(sender object, EventArgs e)
{
SqlConnection conn;
string q = "select password from login where email='" + TextBox1.Text + "'";
conn = new SqlConnection("data source=.\\sqlexpress;integrated security=true;initial catalog=master");
cn.Open();
cmd = new SqlCommand(q, cn);
MailMessage mail = new MailMessage();
mail.To = TextBox1.Text;
mail.From = "hradmin@abc.com";
mail.Body = "ur pass is:" +cmd.ExecuteScalar().ToString();
SmtpMail.SmtpServer = "mail.abc.com";
SmtpMail.Send(mail);
Label1.Text = "mail has been sent";
cn.Close();
cmd.Dispose();
}
in the above code there is error "The server response was: 550 5.7.1 Unable to relay for emaiid@domain.com" . Also, there is warning while debugging the code "system.web.Mail.MailMessage is obsolete".
plz help me how we can get password and send automatically from the database to the emailId given in the textBox named "TextBox1.Text".
|
|
|
|
|
First, the obsolete message helps you to find the 'newer' version of MailMessage. The relaying message may be cause by the use of email addresses that don't exist, or the SMTP server refuses the 'relay' your mail. Find a SMTP server which helps you out.
Than a coding tip! Try avoiding the cmd.ExecuteScalar().ToString() !
Is the executescalar returns null, the tostring fill fail and cause an exception..
The following code should help you out
object oPassword = cmd.ExecuteScalar();
string sPassword = (oPassword == null) ? "Not found" : oPassword.ToString();
|
|
|
|
|
i'm asking how to get password using emailid given in the textbox..
other things are alright
|
|
|
|
|
Make sure the MailMessage.From is a valid email address that exists on the SmtpMail.SmtpServer.
Replace it with your own emailid to check if it works.
Allow relaying for your MailMessage.From address
Allow relaying for your IP Address
(I recommend that u see your specific mail server documentation for this or contact ur administrator).
FemDev
Don't forget to vote if you like answer
|
|
|
|