Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
J

Jmshastri

@Jmshastri
About
Posts
21
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Crystal reports
    J Jmshastri

    can you be more specific for first option? the code i am writing is as follows: Dim report As New Doctormaster Dim ms As System.IO.MemoryStream ms = CType(report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream) Response.ClearHeaders() Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" Try Response.BinaryWrite(ms.ToArray) Response.End() Catch err As Exception Response.Write("< BR >") Response.Write(err.Message.ToString) End Try

    ASP.NET help question

  • Crystal reports
    J Jmshastri

    hello to all. I want to open a crystal report in PDF in new window. but when i click on the button, it opens in the same window. I can't use target=_blank over here, because i am writing code for generating the report in the button's handler, (or can i?) please help me in this matter.

    ASP.NET help question

  • PDF report
    J Jmshastri

    Hi all. I am building a crystal report in pdf. It's working fine but, When I click on a button to display the report, the report is opened in the same window. How can I open it in other window? the code i am using for displaying it is as follows: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim report As New Doctormaster Dim ms As System.IO.MemoryStream ms = CType(report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream) Response.ClearHeaders() Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" Try Response.BinaryWrite(ms.ToArray) Response.End() Catch err As Exception Response.Write("< BR >") Response.Write(err.Message.ToString) End Try End Sub Please help me out.

    ASP.NET question help

  • Crystal Report in PDF
    J Jmshastri

    Thank you Jintendra. The code is working fine. thanks a lot again..

    ASP.NET help

  • open a PDF report
    J Jmshastri

    I have created a crystal report in PDF. The file is created on the hard drive but. How can i open it in Webform? Please help me out. do I need shell command? if yes what will be the parameters?

    ASP.NET question linux help

  • Crystal Report in PDF
    J Jmshastri

    Hi all. I am having problem in Crystal Report in PDF format. I write the following code. If there is a problem with that please tell me. I have designed a Crystal report Code: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CrystalReportViewer1.ReportSource = report CrystalReportViewer1.Visible = True End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ostream As System.IO.MemoryStream ostream = New System.IO.MemoryStream report.ExportToStream(CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat) Response.Clear() Response.Buffer = True Response.ContentType = "application/pdf" Response.BinaryWrite(ostream.ToArray()) Response.End() End Sub When I click on the button the screen goes blank. NO error, no output nothing. Please help me solve my problem.

    ASP.NET help

  • Regular Expression validator problem
    J Jmshastri

    Hi all. How can i validate a date in format of DD/MM/YYYY using regularexpressionvalidator control? please help me out.

    ASP.NET help question regex

  • validators problem
    J Jmshastri

    I am having a problem with various validators in ASP.NET If I want to use two validators on one textbox, then i am not able to display the messages at the same place. I am also using a Validation summary control. But if I set the property "visible= false " for a validation control then, validation summary is also not displayed. I want to display the validation summary but not the individual validation control error messages. Please help me out, it's too urgent. thank you.

    ASP.NET help csharp asp-net

  • upload images on server
    J Jmshastri

    hi everybody. I am storing an image in database. but when i retrieve it from it, i can't find a way to display it in image control of my form. I am using buffer for uploading and downloading images. i am supposed to store that image on hard drive and then apply the path of that image into image control. please tell me if is there any other alternative.

    ASP.NET database sysadmin

  • Tabindex problem
    J Jmshastri

    hello, all. I am using some ASP server controls and HTML input buttons in a single webform. Its a submit kind of webform. with username and password field. both textfields are asp controls and login button is html input button. when i type username and password and then press enter, the focus does not go on the button. But it goes to another link button which is asp server control. What tab index should i give to button so that i can solve this problem. please help, it's too urgent.

    ASP.NET help html database sysadmin

  • mail attatchment
    J Jmshastri

    how can i make mail attatchment functionality in asp.net with vb.net please help

    ASP.NET csharp asp-net help question

  • Frameset problem
    J Jmshastri

    When I raise an event from a framset frame, I want to call a different frameset window. and this should be opened independantly in full form, not in the same frame in which i performed action. how can i do this? Please it's too urgent.

    ASP.NET question help

  • upload file on server
    J Jmshastri

    i am working on a module that involves mail messages also with attatchments. what is the way for uploading and downloading files to and from server. please reply with a small example, it would be a grateful help.

    ASP.NET sysadmin help tutorial question

  • ADD controls at runtime in webform
    J Jmshastri

    thanks it works,now i have to add at specified location what should i do?

    ASP.NET help sysadmin

  • ADD controls at runtime in webform
    J Jmshastri

    hello, I have tried to add controls at runtime with following code Dim obj As New TextBox obj.Text = "hi" Me.Controls.Add(obj) I got following Error: Control '_ctl0' of type 'TextBox' must be placed inside a form tag with runat=server. What should i do,please help me....

    ASP.NET help sysadmin

  • Message Box Facility in ASP.NET
    J Jmshastri

    Hey, thanks for suggestion. but it would be beneficial to me if you write a small sample code snipet, because, if i want a handler for a button, and if the language is javascript, i dont know where and how to write that. please help.

    ASP.NET csharp javascript asp-net help

  • Message Box Facility in ASP.NET
    J Jmshastri

    hi all, i want to have functionality of message box like VB.NET, but i don't know the syntax for that in asp.net. what and how should i write that in code behind section. i just know that the statement will be in javascript. but i don't know where and how to write it. suppose, if i want to display messagebox in action event of any button, what code should i write in its event handler. And how can i perform action event on that message box. That is, if i want to have yes/know kind of message box, what will be the values of the buttons on that message box please help me it's urgent.

    ASP.NET csharp javascript asp-net help

  • asp.net and remote sql server connection
    J Jmshastri

    Thanks for the response. but the code snipet you have given is taken as html tags. so you should check the check box given below the text area so the tags will be ignored. please reply back. thanking you in anticipation. jwalant

    ASP.NET csharp database asp-net sql-server

  • asp.net and remote sql server connection
    J Jmshastri

    if i want to connect a remote database server with ms SQL server 2000 to asp.net application in vb.net, what content should i provide in the web.config file? i am using visual studio.net 2003 i have tried following tags in web.config files Should i change any kind of user authorization settings for this task? Please help me. it's very urgent

    ASP.NET csharp database asp-net sql-server

  • ASP .NET and SQL server connection Error
    J Jmshastri

    the connectionstring is: "Server=BHAVIK;Database=ASPDB;Integrated Security Info=SSPI" This is the connectionstring that I apply in the web.config file. the portion of web config file is shown below: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="cs" value="Server=BHAVIK;Database=ASPDB;Integrated Security Info=SSPI" /> </appSettings> Do i need to change it or not?

    ASP.NET help database csharp sql-server sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups