I enable the select and code as below:
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles GridView1.SelectedIndexChanged
Dim row As GridViewRow = GridView1.SelectedRow
Try
strRcdID = row.Cells(1).Text...
Thank You! Thank You Mark! that was it! I don't know why this same thing didn't occur on the other web apps I have developed and put into production, but by taking out the "Integrated Security=True", it works!
it loads perfectly on my pc running the app in vs2008, but when I publish it to the website and run it, nothing loads. I've granted execute permissions to the UID MC90App so it should execute the stored proc, but it acts like it is getting nothing. I don't see anything wrong with the connection...
I don't have any problems connecting with it. I had issues with the one database,Shops. It had been backed up off of another test server and then restored to my new sql server. The permissions were all were screwed up because he brought over the security table too, so I blew it away...
I gave execute permissions to the MC90App and the MC22JWS$ id's and it's still not working. I inserted a try and catch to trap any exceptions and I set up a message box to display the exception, but it isn't throwing any exceptions. I have to talk to the network administator and see if he can...
I'm using vs 2008. This is being run on a new sql 2008 server r2(a new full install). I have a dropdownlist that I am populating using the following code:
strServerString ="Data Source=MC22JWS;Initial Catalog=Shops;Integrated Security=True;uid=MC90APP;pwd=MC90@0101"
strConnect =...
Yes it has. I finally got it to print, but I had to code my report as:
crReport.PrintOptions.PrinterName = "\\Consumers_1\acct-laser"
crReport.PrintToPrinter(1, False, 0, 0)
It should have gone directly to the default printer, but I had to tell it the network sharename. Thanks for replying...
I am using vs2008 for my web application. Everything runs fine on the current win 7.0 32 bit server, but we are trying to upgrade to a 64 bit server with the newest version of Sql Server 2008 r2 and the crprinttoprinter is not working. I have installed the crystal runtimes for win 7.0 64 bit...
I'm using vs2008 for my web app. We want to run this app in Chrome instead of IE, but my crystal reports are being pulled into Adobe for the user to print them / view them. When I run this app in Chrome, the pdf's don't ever come up. I have disabled chrome's pdf viewer and enabled adobe but I...
Hi. I'm using vs2008. I have a gridview that is inside of a panel. My problem is that the gridview keeps moving itself out of div into the top of the form area. Here's my code:
<form id="form1" runat="server"
style="background-color: #FFFFFF; height: 770px;">
<asp:ScriptManager...
Before it loads the dropdown box I was calling it. I did fix it, but I had to more code to clear out each row and then to add a new listitem. It works real slick now.
Dim maxcount As Integer
count = 1
maxcount = dropProd1.Items.Count
Do Until count >...
I'm using vs2008 and am loading product dropdownlists when a user selects an order to use on a new ticket. I am loading the dropdownlists with the code below:
Dim Con As New System.Data.SqlClient.SqlConnection(strConnect)
Con.Open()
Try
strSql = "select...
Hi. I'm using vs2008 and vb on my web application. If the user selects an order in a dropdownlist, it populates a product dropdownlist with the products on that paticular order. My dropdownlists are unbound and filled using a reader. for example:
Dim Con As New...
I'm using the selectindexedchanged event already. In fact on it, I have set the width back to 500px from auto. I'll look into the onChange event and see if I can use it as a trigger.
Cathy
I've never used jquery, but I'll look at anything right now. I don't know why they would not have a onclick event available on the control, but I hope they fix it! Thanks Jason, I'll check it out.
Cathy
Hi. I'm using vs2008 and vb.net. I have a dropdownlist on my web page that is 500px wide. When the user clicks on the dropdown arrow, I want to change the width to auto. There is no onclick event for the asp dropdownlist and I don't know how to capture the click so I can widen the field...
Hi. I'm using vs2008 with Crystal reports 2008. I'm writing a intranet system for one of our divisions. I have set the crystal viewer for the ticket to use the printmode of activex. The user wants to click the print button on the viewer toolbar and have it print on the default printer without...
Thanks. I'll try it. I can't use the cr1.PrintToPrinter settting because it is a web application and the server does not have a printer installed. It has to use the client's default printer, so this wonderful setting doesn't work!
Cathy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.