|
bhavna816 wrote: when I am running it on different computer, all the menu item's location get disturbed.
The same verion of browsers installed in different computer?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
yes! the same version of IE is installed on both the computers i.e. IE 6.0
|
|
|
|
|
|
S A R I T H wrote: how can i impliment Thread in treeview.
Thread in TreeView?
Why do you need to do like that? maybe. Ajax might be the solution for you..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
i hav to print numbers like this
1,proc 1
11,proc2
2,
12,
3,
13,
4,
14,
5,
15
could u pls help me
Sarith...
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you
|
|
|
|
|
You make me more confused. What is the relationship between treeview and printing?
S A R I T H wrote: i hav to print numbers like this
1,proc 1
11,proc2
2,
12,
3,
13,
4,
14,
5,
15
What are those all numbers?
BTW, We have same signature.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
your question makes no sense. Even your post where you show a whole bunch of numbers makes no sense, but trying to relate it to this post, makes even less sense. What are you trying to ask ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello Everyone,
I want to send email through my mail domain using coding in ASP.NET
Can anybody let me know how is it possible
But I'm getting an Error Could not access 'CDO.Message' object.
I'm putting my coding below plz have a look and suggest me the way
MailMessage mail =new MailMessage();
mail.To="manoj.msb1984@gmail.com";
//mail.To="mail@saamstesting.com";
mail.From="mail@saamstesting.com";
mail.Subject="Your Password";
mail.Body="This is Ur Password";
try
{
SmtpMail.SmtpServer="mail.saamstesting.com";
SmtpMail.Send(mail);
lblMsg1.Text="Mail Sent Successfully";
}
catch(Exception ex)
{
lblMsg1.Text=ex.Message.ToString();
lblMsg1.ForeColor=Color.Red;
}
Plz....................
|
|
|
|
|
http://www.systemwebmail.com/faq/4.2.3.aspx
This is probably the most common error thrown by System.Web.Mail. If you get this error, the FIRST THING TO DO, is to write out all InnerException messages.
This will tell you the true error and it will be easer to fix. See Checking the Exception (READ THIS FIRST)[^] for more information.
Although this error message implies there is a permission problem, typically there isn't. However, after trying everything else, you may will want to try the suggestions listed at Error loading type library/DLL.
Now, on to some suggestions:
Suggestion 1
Specify a valid mail server for the SmtpMail.SmtpServer property. If that property is not set, at least set it to 127.0.0.1. For example:
SmtpMail.SmtpServer = "127.0.0.1"
Suggestion 2
If you are using "localhost" or "127.0.0.1" as the SmtpMail.SmtpServer, you may not have permissions to relay through the IIS SMTP Service. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Relay button. In the Relay Restrictions dialog, grant your IP address (127.0.0.1) to the Computers listbox. Close down all dialogs, and restart the SMTP Service.
Suggestion 3
If you are using "localhost" or "127.0.0.1" as the SmtpMail.SmtpServer, make sure Anonymous access is allowd. To allow access, open up the IIS Admin MMC. Locate the SMTP Virtual Server, and right-click, then select Properties. On the Access tab, click the Authentication button. Be sure "Anonymous Access" is the only checkbox checked. Close down all dialogs, and restart the SMTP Service.
Suggestion 4
The email address does not have a valid TO address. After iterating through the InnerExceptions, you may find this error message actually has to do with relaying. Try sending a test email to an email address that exists on the server specified by SmtpMail.SmtpServer. If you can send an email to that server, then it is a relay issue. Talk to your mail server administrator about letting your code relay through the mail server.
Suggestion 5
Use a real FROM address that exists on the SmtpMail.SmtpServer. Do not use something like "asdf@asdf.com", or some other bogus address as your MailMessage.FromProperty. More advanced mail servers will catch this, and will deny relaying.
Suggestion 6
I have no idea why this suggestion works, but I found it on the web. I figured I would mention it, just in case Suggestion 1 did not work. Instead of specifying
SmtpMail.SmtpServer = "127.0.0.1"
try
SmtpMail.SmtpServer.Insert( 0, "127.0.0.1 or your mail server name here")
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hello I've followed up all points suggested by u
but unfortunetly i couldn't get nothing
And further, when i'm using the Smtp Server="127.0.0.1" as you asked me to do
then "Mail Sent Successfully" message i got but at my gmail account i got nothing ........ no mail........
Plz suggest me ................
|
|
|
|
|
still no mail?? if you got no error, the message should be reached to your inbox..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
sir/madam,
i have checkbox inside gridview and a button also.i want to click the button only i have checked the checkbox. If checkbox is not checked and so i should get msg as first check the checkbox and then click the button..
thanx in advance...
|
|
|
|
|
Hi there,
Follow this
On rowDataBound event of gridview
1. Findcontrol of Button
2. FIndcontrol of checkBox
3. Add attribute and call javascript and pass the ID of checkbox
i.e btn.Attribute.Add("click","return check('"+chk.ClientID+"');");
4. In javascript function, Get Argument of Checkbox ID
if checkbox is checked return true else give alert and return false.
Best of luck
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
what is the way to enable or display the scroll bar of the gridview.
or is there anty property there for gridview. or any function.
|
|
|
|
|
biswa47 wrote: what is the way to enable or display the scroll bar of the gridview.
or is there anty property there for gridview. or any function.
It can be done with CSS.
Add this CSS to your GridView.
style="OVERFLOW: auto; WIDTH: 200px; HEIGHT: 120px"
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
How to populate a Drop down list taking data from database using javascript using ajax
|
|
|
|
|
|
i have table named emp
where empid and emp name are the colomns of the table.
now in the vs.2005.
i have taken a dropdown list and label.
in the drop down list i want to show the empid in dropdownlist and based up on the empid the corresponding empname shuld be populate in the label.
can you tell me how to write the code for it in vb.net
|
|
|
|
|
As I replied here,[^]
C#
<br />
SqlConnection dbConn = new SqlConnection(connectionString);<br />
<br />
dbConn.Open();<br />
<br />
SqlDataAdapter da = new SqlDataAdapter("SELECT empId,empName FROM emp", dbConn);<br />
DataSet ds = new DataSet();<br />
da.Fill(ds);<br />
<br />
dbConn.Close();<br />
<br />
DropDownList1.DataSource = ds.Tables[0];<br />
DropDownList1.DataTextField = "empName ";<br />
DropDownList1.DataValueField = "empId";<br />
DropDownList1.DataBind();
VB.NET
Dim dbConn As New SqlConnection(connectionString)<br />
<br />
dbConn.Open()<br />
<br />
Dim da As New SqlDataAdapter("SELECT empId,empName FROM emp", dbConn)<br />
Dim ds As New DataSet()<br />
da.Fill(ds)<br />
<br />
dbConn.Close()<br />
<br />
DropDownList1.DataSource = ds.Tables(0)<br />
DropDownList1.DataTextField = "empName "<br />
DropDownList1.DataValueField = "empId"<br />
DropDownList1.DataBind()
Hope it helps.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
I have created one webservice which contains some webmethds . It will compile successfully.
Once I modify the Default.asmx.cs file , for example add a new WebMethods,Update the WebMethods , the WSDL doesn't generate the new one. It will show the old one.
Pls give the solution ASAP.
Advance Thanks
jayaraj.r
|
|
|
|
|
jayarajmrj wrote: Once I modify the Default.asmx.cs file , for example add a new WebMethods,Update the WebMethods , the WSDL doesn't generate the new one.
You need to re-compile the WebService again. Then, Update the WebService or Generate the proxy by using wsdl webserviceURL -language:C# in command prompt.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
hi friends
what is themes and skins asp2.0
what is the differnce between to this
saravan
|
|
|
|
|
MSDN: ASP.NET Themes and Skins Overview
Themes and Control Skins
Themes are made up of a set of elements: skins, cascading style sheets (CSS), images, and other resources. At a minimum, a theme will contain skins. Themes are defined in special directories in your Web site or on your Web server.
Skins
A skin file has the file name extension .skin and contains property settings for individual controls such as Button, Label, TextBox, or Calendar controls.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi i convert some c# code to vb.net format,
But i am getting error in one place...,
Plz see this code:
This is C# code:
String addData = "INSERT INTO Ords (OrderId, CustomerId, ShipName, ShipCity) VALUES ('" +
Guid.NewGuid() + "','" + new Guid(e.CommandArgument.ToString()) + "','" + txtAddShipName.Text.Trim() + "','" + txtAddShipCity.Text.Trim() + "')";
After convert to Vb.net format:
Dim addData As String = ("INSERT INTO Ords (OrderId, CustomerId, ShipName, ShipCity) VALUES ('" _
+ (Guid.NewGuid) + "','" _
+ (New Guid(e.CommandArgument.ToString)) + "','" _
+ (txtAddShipName.Text.Trim) + "','" _
+ (txtAddShipCity.Text.Trim) + "')")
Whats the probs in thsi code?,
I have mentioned wher i get probs that is in bold letters...,
Regards,
Magi
|
|
|
|
|
try this:
Dim addData As String = "INSERT INTO Ords (OrderId, CustomerId, ShipName, ShipCity) VALUES " & _
"('" & (Guid.NewGuid) & "'," & _
" '"& (New Guid(e.CommandArgument.ToString)) & "'," & _
" '" & (txtAddShipName.Text.Trim) & "', " & _
" '" & (txtAddShipCity.Text.Trim) & "')"
|
|
|
|
|