Thanks Frinny
............... ............... ....
User Profile
Collapse
-
Hi Frinny
i get the following message:
The page cannot be displayed
There are too many people accessing the Web site at this time.
----------------------------------------------------------------------------------------
Please try the following:
* Click the Refresh button, or try again later,
* Open the Server home page, and then look for links
to the information you...Leave a comment:
-
Web Application - Page cannot be displayed (intermittent issue)
Hi
i have created an application for use for 15 people. Where they can update their comments/actions taken on a particular order or request.
The app is a VB Asp.net WebApplication created in Visual Studio 2008.
i am using IIS on Windows XP Professional to host the application.
My problem is, the users face intermittent issues with "Web Page cannot be displayed". (The system im... -
Ewan replied to How to export data into Excel which is diaplayed using GridView in Visual Studio 2008in ASP .NETI managed to get some answers after alot of googleing..
i created a button and defined its ID as Export2XL
In the Export2XL_Click event i pasted the following code
...Code:Protected Sub Export2XL_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles Export2XL.Click refGridView.Visible = True Response.Clear() Response.BufferLeave a comment:
-
Hi I managed to get a fix to this.
Not sure if this is the best option to choose, but it works.
The issues was, the databind for filters were happening together with gridview databind , so posibilities are that correct/all parameters are not passed on to the SQl Procedure to get the data as required and all required parameters get passed on correctly when the Search button is clicked(This is what i presumed).
...Leave a comment:
-
Hi kadghar
Tried the breakpoint and debugging option. The Sub runs without any errors.Leave a comment:
-
Hi kadghar
Thanks foy your reply
yes i am updating all parameters to get the data.
pasting my SQL Code (Procedure) below
...Code:set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo].[GetHPSMQuestData] @ui_request NVARCHAR (4000), @ui_process_status NVARCHAR (4000),
Leave a comment:
-
Hi kadghar,
Thanks for your reply. i have infact handled this in the SQL Procedure, and this works fine.
However my concern is that when the page loads, the gridview is not populated. Only when i click the search button it works. Im guessing this is trigrering a Post Back, and data is displayed only after the post back occurs.
My concern is : how do i get this to display when the page is loaded.Leave a comment:
-
Gridview data populates only after button click.
Hi
I have a gridview which should populate based on some criteria that the end user selects.
To enable the user to enter the required criteria i have added some Web Controls like Textbox,Drop Down Lists etc.
My code behind for getting the data is as below
...Code:Imports System.Data Imports System.Data.SqlClient Protected Sub Page_Load(ByVal sender As Object,
-
i have updated the following in the Code Behind for the RowEditing event.
it works just fine :)
...Code:Private Sub gridview1_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles gridview1.RowEditing Session("wr_id") = gridview1.Rows(e.NewEditIndex).Cells(2).Text Response.Redirect("EditRecord.aspx") End SubLeave a comment:
-
:( UNFORTUNATELY - when i click on Edit it takes the value from the selected Row,
so if i select the 2nd Row and click on edit for the 4th Row, i get the value for the 2nd Row and not the 4th.
how do i select a row automatically when Edit option for that corresponsing row is clicked.
Please helpLeave a comment:
-
Hi Frinavale, thanks for this info.
i had a doubt, i have i multiple users who would be accessing different records at the same time.
and if im using Session to pass the values as required, could this result in a slow performance for my web app. also is there any way to remove a session after the value is passed..
would this affect another user if his command(button click) tries to create the session again with the same name...Leave a comment:
-
Ewan started a topic How to export data into Excel which is diaplayed using GridView in Visual Studio 2008in ASP .NETHow to export data into Excel which is diaplayed using GridView in Visual Studio 2008
Hi
Im using Visual Studio 2008 and i have created a GridView which displays data from an SQL Table.
Could anyone help me on how could i export this data into an Excel sheet on click of a button.
Thanks -
How to redirect to another url when Edit (option in gridview) is clicked?
Hi
Im using Visual Studio 2008, i have a gridview which gets data from an SQL table. I have added the Edit option which is part of gridview.
The data has a primary key set.
How do i redirect to another URL when the edit option is clicked.
This action should also assign the primary key as a URL Parameter, causing only that specific record to show on the Edit page.
I have gone through this...
No activity results to display
Show More
Leave a comment: