Hi All, I have a popup(BidSelect.aspx) which shows how many bids are available for a particular vehicle. The popup has an Yes and No option. If Yes is clicked it should print a TradeIn Reciept. I am getting all this but the problem is that the size of the Print page is the size of the Popup page, ie.,it opens in the same BROWSER. How can I redirect the page(To Print Page) & get the normal size of the page(Print Page)? Thanks and Regards, lis :(( Thinking is like loving and dying. Each of us must do it for himself.
lis8586
Posts
-
Redirect from Popup Window -
Crystal Report (Help)Please someone take a look at this. I am getting Invalid Report Source Error. My code is as follows:(on page Load)
Dim rptName As String = Request.QueryString("pcp") Dim s As String = HttpContext.Current.Request.ServerVariables("APPL_PHYSICAL_PATH") & rptName CRV.ReportSource = s
The value for pcp is got from my Web user control. Code:MenuList.Add(New MenuItem("Hardware Report", "ReportDisp.Aspx?pcp= " & "HWDetail"))
Thanks and Regards, lis Thinking is like loving and dying. Each of us must do it for himself. -
Hello to all Great PeopleYou could check out www.aspalliance.com I have seen an article on the same lis Thinking is like loving and dying. Each of us must do it for himself.
-
Crystal Report (Help)I have created my reports in crystal and I can view them in my application. I have 8 reports and for these 8 I have separate (8) aspx pages. This is taking too much time to load also. How can I just use 1 page to display the required report? Any help will be great. Thanks and regards lis Thinking is like loving and dying. Each of us must do it for himself.
-
install problem - i guess?Hi Anon, The problem you are facing can be because of a number of reasons. 1. Intalled VS.NET prior to IIS Solution: Install your IIS and then only install VS.NET 2. Permissions not set Solution: Set (machinename)\ASPNET user permission. Hope these help! Else post back good luck! lis Thinking is like loving and dying. Each of us must do it for himself.
-
lookup tablethank You Mike, Will it be possible to get this in VB.NET . I am not familiar with C#. Thinking is like loving and dying. Each of us must do it for himself.
-
lookup tableHi All, I want to search for usernames . I want to use a lookup table to display the names and the userId's as I type each word. Example: If I type the letter "A", it should display all names with "A". And when I type "An" it should give all names with "An"(like Andrew, Ann,etc). The lookup table should also give me the user ID. ( database has a table which has the username and userID, both these values should be returned when seacrching for the username) Please show an example in Vb.NET or give me a link which has a similar solution Thanks and regards, lis Thinking is like loving and dying. Each of us must do it for himself.
-
UPDATE and DELETE in VB.NETHi, It is not the statement I want but that my following code is giving me error.:
**Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click SqlConn = New SqlConnection("Data Source=SOORAJ;Initial Catalog=TrackEmp;User Id=sa;Password=; ") Dim cmdText As String = "DELETE FROM EmpMaster where [Name] ='" & txtName.Text & "'" SqlConn.Open() Dim cm As New SqlCommand(cmdText, SqlConn) cm.ExecuteNonQuery() SqlConn.Close() MsgBox(" The Record has been Deleted") End Sub**
This is the error it is giving me An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. Can someone tell me where I am going wrong?? thanks and regards, lis :confused: Thinking is like loving and dying. Each of us must do it for himself. -
UPDATE and DELETE in VB.NET:(( HI All, I have a simple program where I insert values into a Sql Database. The following is my INSERT code:
Public SqlConn As New SqlConnection() Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click SqlConn = New SqlConnection("Data Source=SOORAJ;Initial Catalog=TrackEmp;User Id=sa; Password=; ") Dim cmdText As String = "INSERT into EmpMaster(Name, Age, Gender, Address, TelephoneNo, MaritalStatus, Salary, Post,Department) Values ('" & txtName.Text & "','" & txtAge.Text & "','" & gSex & "', '" & txtAddress.Text & "', '" & txtPhone.Text & "','" & mStatus & "', '" & txtSalary.Text & "','" & txtDesignation.Text & "', '" & txtDept.Text & "')" SqlConn.Open() Dim cm As New SqlCommand(cmdText, SqlConn) cm.ExecuteNonQuery() SqlConn.Close() MsgBox(" The Employee has been Added") txtName.Text = "" txtAge.Text = "" txtAddress.Text = "" txtPhone.Text = "" txtSalary.Text = "" txtDesignation.Text = "" txtDept.Text = "" End Sub,
I have 3 tables in my Database. Can someone tell me how to go about with the UPDATE And DELETE. Thanks and Regards, lis Thinking is like loving and dying. Each of us must do it for himself.