Hello Gurus,
I have Master GridView & Detail Gridview and following another detail
gridview control. On "select" master grid , detail grid shows data, On
"Select" No. 1. detail grid, No.2 detail grid shows data, but if there is no
data in 1st detail grid, still 2nd grid is showing data from cache. How to
overcome this issue. Pl. advise.
krish 2 1252
On Sun, 29 Jan 2006 16:31:37 -0500, "Krish"
<vi************ ***@GMAIL.com> wrote: Hello Gurus,
I have Master GridView & Detail Gridview and following another detail gridview control. On "select" master grid , detail grid shows data, On "Select" No. 1. detail grid, No.2 detail grid shows data, but if there is no data in 1st detail grid, still 2nd grid is showing data from cache. How to overcome this issue. Pl. advise.
krish
When you say "cache" which cache are you referring to?
Otis Mukinfus http://www.otismukinfus.com http://www.tomchilders.com
Iam referring SQL , i mean datakeynames in GridView to pass to
SqlDatasource.
"Otis Mukinfus" <ph***@emailadd ress.com> wrote in message
news:45******** *************** *********@4ax.c om... On Sun, 29 Jan 2006 16:31:37 -0500, "Krish" <vi************ ***@GMAIL.com> wrote:
Hello Gurus,
I have Master GridView & Detail Gridview and following another detail gridview control. On "select" master grid , detail grid shows data, On "Select" No. 1. detail grid, No.2 detail grid shows data, but if there is no data in 1st detail grid, still 2nd grid is showing data from cache. How to overcome this issue. Pl. advise.
krish When you say "cache" which cache are you referring to?
Otis Mukinfus http://www.otismukinfus.com http://www.tomchilders.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike Kelly |
last post by:
I've chosen to implement the "optimistic concurrency" model in my
application. To assist in that, I've added a ROWVERSION (TIMESTAMP) column to
my main tables. I read the value of the column in my select, remember it, and
then use it in the update. It works just fine when I have full control of the
whole process.
I want to do the same for my GridView/SqlDataSource combinations. I
typically select from a view and update the corresponding...
|
by: |
last post by:
Hello,
Does anyone have an idea on how I can filter the data in the gridview
control that was returned by an sql query?
I have a gridview that works fine when I populate it with data. Now I want
to look at that data and filter it based on what is in it.
I know that this could have been done with data sets and data views in
asp.net 1.1 but how is this done now in asp.net 2.0?
|
by: Dorte |
last post by:
Hi,
Could someone help me with a couple of links to SqlDatasource documentation
on how to use the Gridview and SqlDatasource components in code behind?
Basically I'm missing some documentation on how to handle different tasks
programmatically such as selects, updates, sorting of data etc. in code
behind if I prefer to set all Gridview and Sqldatasource properties etc. in
code behind rather than in the aspx file.
|
by: MRW |
last post by:
Hello!
I don't know if this is possible, but I have two tables in a
one-to-many relationship. I want one record to be displayed in a
GridView from table1 with a blue background, followed by all the
related records in table 2 in a white background, followed by the next
record in table1 in a blue background (for example). It should be nice
an simple. Back in the ASP Classic days, I would use response.write
and build a table, but I was...
|
by: Mike |
last post by:
I'm having trouble getting a gridview to bind. I probably missing something
completely obvious and would appreciate any help on offer.
I'm passing parameters via querystring, and have created a stored proc as
follows:
qGetSearchResults:
SELECT
Adverts.AdvertID,
| |
by: Jason Wilson |
last post by:
OK I'm obviously fairly new to ASP.NET 2.0. I've used gridviews in the
past but only for pages with static queries that happen onload.
Now I have pretty simple scenario and I think I've followed all the
examples I've been able to find, but I still don't get the gridview to
render:
* I have a form with some textboxes and dropdownlist and a submit
button
* I have sqldatasource that uses form parameters to call a stored
|
by: LiamLiamLiam |
last post by:
G'day all.
I having a problem with my formview. I'll ty to explain my situation as best as i can.
I have a page with a search field at the top which is just a simple asp:textbox. Below that i have a gridview which displays the results of the search. if no search is entered, then the gridview shows all records. Below the gridview i have a formview for inserting and editing the records. when a user clicks on one of the records in the...
|
by: Deepak Palkar |
last post by:
Hi
I have Gridview and DetailView both on one page.
I am showing the list in the Gridview and the particular record in DetailView.
the problem is When i EDIT on the DetailView and try to UPDATE it. It doesn't work.
I have setup 2 sqlDatasource for each Control. the Select Query for SqlDatasource which is bound to the DetailView has the control parameter which is bound to Griview.SelectedValue Parameter.
here's my markup for the page....
|
by: sheenaa |
last post by:
Hello Members,
I m creating my application forms in ASP.Net 2005 C# using the backend SQL Server 2005.
What i have used on forms :: ?
On my first form i have used some label,textboxs,dropdownlists,radiobutton and checkbox asp standard controls.
On the click event of the command button the data gets stored into the database.
I have created the stored procedures for the insert,update,delete.
I have...
|
by: mohaaron |
last post by:
This seems like it should be simple to do but for some reason I have
been unable to make it work.
I would like to databind a SqlDataSource to a GridView during the
click event of a button. This sounds easy but the next requirement is
that the GridView is editable. So I have included the SelectCommand
and the UpdateCommand on the SqlDataSource to allow the GridView to be
editable. I have now been able to get the GridView to display data...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |