|
Kushi Bobby wrote: I mean,simply how to run an already created webservice.
If you are sure that you can, then creating also will be easy. Start VS2003. Start new webservice project. Write whatever methods you want. Methods you want to be called from some other project set WebMethod() attribute. Now bulid it. Run it , copy the location from browsers address bar.
50% completed
Next is using it, Create one more project, add webreference, paste the url there. Then it will display the methods you created on webservice. Complete adding reference. In codebehind create object for the webservice u added, and call the functions as u do earlier....
|
|
|
|
|
HI Navneeth,
Thanks for the reply,but illustrate me how to create an object in another application.
That too pls guide me how to add the existed webservice in my application.When i tried web reference to add its not showing the webservices in the local machine.
Bye
Have a Nice Day Dudes
|
|
|
|
|
hi
i design a web page with .net and css
when i run this page in IE , it's very good
but when i run with "Mozilla firefox" , show bod .
how can correct it ?
thanks
|
|
|
|
|
DHTML is the best option for all browser
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
When you create one page, by default it will be optimized for IE. IE is using some proprietary methods and css properties. So better use w3 standards when writing css. Firefox will work perfectly with that standards
|
|
|
|
|
thank you
"So better use w3 standards when writing css"
can you guide me to use w3 standard.
|
|
|
|
|
W3C web site W3 Schools - an excellent resource for beginners
Any search for 'standards based web design' will get you millions of results - they're all useful! That said there is no quick fix - standards based web design is a tricky thing and you won't get it straight away so don't expect instant results
|
|
|
|
|
Hi
In order to follow W3C standards, you HTML source code should be validated, that is, all attributes should be enclosed in double quotes, tags are not properly cloased and so on. You can do this manually.
Go to design page of your web page. Right click on the Visual Studio Tool Bar, check 'HTML Source Editing'.
By default 'Internet Explorer 6.0' will be selected in the drop down list of 'Target schema for validation'. Change it to XHTML 1.0 Transitional (Netscape, Opera, IE).
To validate your HTML source, click the button 'Check page for accessibility' next to the drop down list box. In the Error List Box, you need to fix all the validation errors.
For more information about XHTML 1.1, go thro W3 site
XHTML 1.1 W3C [^]
There are some tools for converting to XHTML1.1 but take a backup of source code before updating in it.
Harini
|
|
|
|
|
i am using try catch loop. and i have written " Label5.Text = ex.Source & " " & ex.Message" this in catch. it displays thread was aborted.
and every time the try catch loop runs whatever we have written in catch executes everytime.
how to solve this prob
Mohinder Singh
|
|
|
|
|
Try only this --> Label5.Text = ex.Message
dharmender
|
|
|
|
|
can you post the code ?
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
This is the code:
Public Sub login_Check()
Dim LoginCheckdataset As New DataSet
Dim Alogindataset As New DataSet
Try
Dim D As String = Txtlogin.Text.Trim
Dim A() As String
Dim Fname As String
Dim Lname As String
If Txtlogin.Text.Trim.ToUpper = "ADMIN" Then
Dim ALogincomm As New SqlCommand("AdminLogin",
LSCon.Siteconnection)
ALogincomm.CommandType = CommandType.StoredProcedure
ALogincomm.Parameters.Add("@login", Txtlogin.Text.Trim)
ALogincomm.Parameters.Add("@pass", TxtPass.Value)
Dim Aloginada As New SqlDataAdapter(ALogincomm)
Aloginada.Fill(Alogindataset)
If Alogindataset.Tables(0).Rows.Count <> 0 Then
Name = Txtlogin.Text.Trim
Response.Redirect("Pending Users.aspx")
Else
Label5.Visible = True
Label5.Text = "Password Entered is not correct or Login is not correct."
End If
Else
Dim Month As String
Dim Day As Integer
Dim Year As Integer
Dim Date1 As String
Day = Now.Day
Month = Now.Month
Year = Now.Year
If Month > 9 Then
Date1 = Day & "/" & Month & "/" & Year
Else
For i As Integer = 1 To 9
If Month = i Then
Month = "0" & i
Date1 = Day & "/" & Month & "/" & Year
End If
Next
End If
Dim EXP As Date
Dim LoginCheckComm As New SqlCommand("Login_Authorization",
LSCon.Siteconnection)
LoginCheckComm.CommandType = CommandType.StoredProcedure
LoginCheckComm.Parameters.Add("@LoginID", Txtlogin.Text.Trim)
LoginCheckComm.Parameters.Add("@Pass", TxtPass.Value)
Dim LoginCheckAda As New SqlDataAdapter(LoginCheckComm)
LoginCheckAda.Fill(LoginCheckdataset)
If LoginCheckdataset.Tables(0).Rows.Count <> 0 Then
EXP = LoginCheckdataset.Tables(0).Rows.Item(0).Item("ExpDate")
If EXP.Date < Date1 Then
Label5.Visible = True
Label5.Text = "Your Login Has Expired."
Exit Sub
Else
UserType = LoginCheckdataset.Tables(0).Rows.Item(0).Item("TypeName").ToString
Name = Txtlogin.Text.Trim
Response.Redirect("Main Form.aspx")
End If
Else
Label5.Visible = True
Label5.Text = "Password Entered is not correct or Login is not correct."
Exit Sub
End If
End If
Catch ex As Exception
Label5.Text = ex.Source & " " & ex.Message
Finally
LSCon.close()
End Try
End Sub
Mohinder Singh
|
|
|
|
|
In this where u r using loop ?
|
|
|
|
|
vengaqua wrote: t displays thread was aborted.
Are you giving response.end anywhere in the loop ?
|
|
|
|
|
|
Response.Redirect("Logindms.aspx",false);
pass the value false as the second parameter of the Response.Redirect method
dharmender
|
|
|
|
|
gvishu wrote: Response.Redirect("Logindms.aspx",false);
What do mean by false ?
|
|
|
|
|
|
thanks dear not it is not going in the catch loop
Mohinder Singh
|
|
|
|
|
hello
am a beginner in programming asp.net(vb),and would like to know how can I code a botton to enter the value in the textbox and be displyed in the GridView,for modification before it can be sent to the manager.
Olga m
|
|
|
|
|
Oga M wrote: how can I code a botton to enter the value in the textbox and be displyed in the GridView
You can create textbox obect and assign whatever values you want to that. To add that to gridview use gridview.controls.add(textboxobject)
|
|
|
|
|
can any one help me with how to get listed on google
so that our page should flash first in search of same type of metatag contents
|
|
|
|
|
Means you want to show your page first when query related to it is fired
you can't do that it depends on Google engine , if the your page had maximum numbers of hits and it is stored in Database of Google then you your page will displayed first.
Thats why you will find Sponsor means they pay to Google for showing their pages
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
harryforum wrote: so that our page should flash first in search of same type of metatag contents
All developers are thinking the same thing. But answer from my side is "you can't do this". Search engine will rank your pages using different criterias. It won't depend only on meta tags. It will check the content, link popularity. If you want to bring your pages for the search criterias, try using Google adwords. But you need to pay for it. Your ads will appear in the right side as sponsored results. You need to pay to google according to the no of clicks you are getting through google.
To understand how search engines work and rank check this documentation
http://infolab.stanford.edu/~backrub/google.html[^]
|
|
|
|
|
Hi all,
Can anybody give syntax of Response.Redirect while passing
multiple values in ASP.NET/C#...
I want to pass 4 values for getting them by Request.Querystring.
Thanks,
cfit
dfdf
|
|
|
|