|
Sonia Gupta wrote: is it necessary to create a dsn to create the crystal reports using sql server 2000.
No it is not necessary to create dsn....
You can create new connection with OLE DB(ADO) and select Microsoft Driver for SQL Server after that you can select the required databse.
Regards,
Sandeep Kumar.V
|
|
|
|
|
Thanks...
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
Hi friends & RESPECTED sir,
i know abt crytal report how to make it.
but i want to know crystal report in brief.
plz hepl me.
plz send me all information regarding Crystal report on my id.:ajay58886@gmail.com
thnking you.
Imagine the I.T
|
|
|
|
|
|
why does only asp labels get displayed in browser but asp textboxes, buttons, dropdownlists dont
|
|
|
|
|
What on earth are you asking ? Do you mean asp, or ASP.NET ? This is the ASP.NET forum. Either way, you need to make your question clear, perhaps with some code. Don't forget to check 'Ignore HTML tags in this message (good for code snippets)' if you post any tags.
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 )
|
|
|
|
|
What do you mean?
1) Labels are rendered as SPANs.
2) TextBoxes are rendered as Input Type="text"
3) DropdownLists are rendered Select
|
|
|
|
|
Hi, suppose I have html tags for a pay pal button that looks something like the following:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"><p align="center"><input type="image" src="donations.gif" border="0" name="submit" alt="Make payments with PayPal -it's fast, free and secure!" width="100" height="60">;
<inputtype="hidden"name="encrypted"value="-----BEGINPKCS7-----XZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJAR
YNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFf2WhJJyjn3Bmt0jlgpz4MM8aKwAFilpdkg
mbByIhx4HxnXgr38UokabBS1eJ3rzNsLwR6gzbw7x3wcQnR-----END PKCS7-----">
</form>
Can I use the "Control to Validate" of ASP.NET to validate the button? If not how would I validate this button? I suspect that it can not be done since Control to Validate requires the ID of a control. Thank you in advance for your time.
-- modified at 19:24 Thursday 19th July, 2007
|
|
|
|
|
what sort of validation do you want to do on the button? usually you validate user input
|
|
|
|
|
I want to make sure that the user clicks the button before he or she can continue to the next page where they are asked to supply personal info which will be sent to a database. Basically they have to purchase a membership before they can create their user name and password.
|
|
|
|
|
Hi
Instead of validating, you can disable the "NEXT" button unless and untill the user click the "Pay Pal" button
Great ideas originate in the muscles. -Thomas A. Edison
Cheers
Chandu
|
|
|
|
|
Is there an easy way to do that or do I have to use a script of some kind to disable the NEXT button until another button is clicked?
|
|
|
|
|
u can make the button a server control (runat=server) and use a session variable to to show if button is clicked. before you process the next page check the sission variable if its nothing go back to the page with the button.
|
|
|
|
|
i need to know about ajax
md_refay
|
|
|
|
|
|
|
Or buy a book. Geez.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
|
hi all please do help me
i have a gridview and i have filled it with the help sqldatasource.It contains 5 columns one of them is ber_id.
I have also enabled the edit update delete buttons...
now the question is when i edit the row i wanna limit the ber_id column that it should allow the user to type 7 characters only...
i have tried javascript but was not able to achieve this
how can i achieve this ?
|
|
|
|
|
Please read the forum guidlines. You cros-posted in THREE boards which is a no-no. Give your messages meaningful titles and not 'help me.'
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
Hello
I'm having a go at using web user controls and url rewritting in asp.net 1.1 (vb) and I'm having a problem with urls, here is what I want to do:
1. I want to use one .asx page for all my UI and load user controls depending on what is clicked by user (as a master page would do in .net 2.0)
2. My hyperlink controls' NavigateUrl property have the virtual path for the user control to load (set in the designer)
3. In Application_BeginRequest method I get the virtual path part from the request and use context.rewritepath to my .aspx page with the virtual path as a querystring
MY PROBLEM:
The string in the request.rawurl keeps getting longer every time i click a link. The virtual path keeps getting appended to the url each time.
Please help!! (I'm a newbie in this area)
Thanks
George
Standing on the shoulders of a giant
|
|
|
|
|
1. I want to use one .asx page for all my UI and load user controls depending on what is clicked by user (as a master page would do in .net 2.0)
This is a bit of a misconception, as master pages in 2.0 still use multiple pages, albeit content pages. The content pages are not controls, they are actually pages that basically include the master page.
3. In Application_BeginRequest method I get the virtual path part from the request and use context.rewritepath to my .aspx page with the virtual path as a querystring.
Can you show how your doing this? I would use an http module for this, there are many examples of this on the web.
A snippet would look something like this:
Private Sub Application_BeginRequest( _
ByVal source As Object, _
ByVal e As EventArgs)
Dim application As HttpApplication = CType(source, HttpApplication)
Dim context As HttpContext = application.Context
Dim addressbar As String = context.Request.RawUrl.ToString()
'Do something with the url, db lookup, etc..
context.Response.Redirect("http://www.HERE.com/", True)
End If
|
|
|
|
|
Thanks here is the code:
----------------------------------------------------
Dim sPath As String = Request.Path.ToLower
Dim iStart As Integer = sPath.LastIndexOf("/") + 1
Dim iFirst As Integer = sPath.IndexOf("/", 0) + 1
Dim sPage As String
Dim sVirtualDirectory As String
Dim sPage2 As String
Dim sQS As String = Request.QueryString.ToString
Dim cnfg As New ConfigurationHelper(Request.PhysicalApplicationPath & "Config\config.xml")
Dim sDefaultPageName As String = cnfg.GetString("DefaultPage")
sVirtualDirectory = sPath.Substring(0, sPath.IndexOf("/", 1))
If (sPath.IndexOf(".aspx") - iStart) > 0 Then
sPage = sPath.Substring(iStart, sPath.IndexOf(".aspx") - iStart)
sPage2 = sPath.Substring(0, sPath.IndexOf(".aspx"))
End If
Select Case sPage
Case sDefaultPageName.ToLower
Context.RewritePath(sVirtualDirectory & "/" + sDefaultPageName + ".aspx")
Case Else
Context.RewritePath(sVirtualDirectory & "/" + sDefaultPageName + ".aspx" & "?page=" & sPage2 & "&" & sQS)
End Select
---------------------------------------------------------------------------------------
On the first time the page is loaded it all works fine, but on subsequent clicks on hypelinks in the user controls the rawurl concatinates the path of control
-- modified at 2:51 Friday 20th July, 2007
|
|
|
|
|
Dim sPath As String = Request.Path.ToLower
Dim iStart As Integer = sPath.LastIndexOf("/") + 1
Dim iFirst As Integer = sPath.IndexOf("/", 0) + 1
Dim sPage As String
Dim sVirtualDirectory As String
Dim sPage2 As String
Dim sQS As String = Request.QueryString.ToString
Dim cnfg As New ConfigurationHelper(Request.PhysicalApplicationPath & "Config\config.xml")
Dim sDefaultPageName As String = cnfg.GetString("DefaultPage")
sVirtualDirectory = sPath.Substring(0, sPath.IndexOf("/", 1))
If (sPath.IndexOf(".aspx") - iStart) > 0 Then
sPage = sPath.Substring(iStart, sPath.IndexOf(".aspx") - iStart)
sPage2 = sPath.Substring(0, sPath.IndexOf(".aspx"))
End If
Select Case sPage
Case sDefaultPageName.ToLower
Context.RewritePath(sVirtualDirectory & "/" + sDefaultPageName + ".aspx")
Case Else
Context.RewritePath(sVirtualDirectory & "/" + sDefaultPageName + ".aspx" & "?page=" & sPage2 & "&" & sQS)
End Select
|
|
|
|
|
have you tried stepping through this line by line using the debugger. This would tell you what conditions are being met and which case statements are being used.
How are you links getting their values? Chances are they are getting the wrong value from the get go.
Can you provide two examples of what the links look like? One for the intial load, and another for after you click on a link.
|
|
|
|