|
I'm filling this gridView on the form's load. Now, every time i delete a row i redirect to the same page, i get the table from the database and fill the grid. Because i don't modify the database the table will always be the same. Supposing i fill it with a DataSet, which i modify every time i press delete, how do you suggest kipping that DataSet? It works if i use Session variables? I can't try it cause i don't have the code right now?
|
|
|
|
|
First don't delete rows one at a time, use a checkbox column to allow the users to select which rows to delete, then do it all at once. Or, yes cache the data, then update the database when completed. This isn't an unknown problem, there are a wide variety of articles on the subject.
only two letters away from being an asset
|
|
|
|
|
Probably the way i'm doing the fill now is putting me in a serious problem cause i'm not aloud to modify the database. First, it was made following this idea.
How should i proceed now?
Filling a dataset from a table then filling the GridView with a dataset?
Then I activate that delete button and so on?
I'll show you exactly the fillGridView function i have over 2 days.
modified on Friday, February 29, 2008 7:08 PM
|
|
|
|
|
Allowed != aloud
I don't need to see the code. Once you fill the dataset via your database query, the data has become disconnected from the database. I've told you this several times now.
only two letters away from being an asset
|
|
|
|
|
Yes indeed!
I've tried to much to adapt the code i had.
I'll change the approach.
Thanks!
|
|
|
|
|
I'm trying to read an Excel file into my ASP.NET page; not just the entire file, but individual cells. I'm having lots of trouble, I've been looking online at example of reading in an entire Excel file, and I can't even do that. I'm having problems.
|
|
|
|
|
Can you be more specific with what 'problems' you are having? Maybe some sample code...
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
I have an ASP.NET program that reads in a text file, then does stuff with it. What I would really like to do is allow the user to right-click on their text file, click "Send To", and then send it to my program on the list.
(I know how to add my program to the "Send To" list, just type in "sendto" in the run command)
My problem is that I have the text file, and I have the program in the "Send To" option; how do I make them compatible so that the program will read in the text file being sent?
|
|
|
|
|
Have you solved this? Not sure of anyway to do it...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
How can i get html control value in codebehind page ?
thnx in advance!
|
|
|
|
|
Use runat='server' property in html control.
/***********************/
Parwej Ahamad
g.parwez@gmail.com
/***********************/
|
|
|
|
|
Hello Friends..............
I am using AjAX Control Toolkit Tools in my web application.
Such as Calender Extender, Rounded corner and Masked edit......
But I am afraid that these tools may create problem during deployment..........
Please tell me that these controls are reliable or not.........
Thanks
Deepak Nigam
|
|
|
|
|
deepaknigam11 wrote: Please tell me that these controls are reliable
OK, yes they are reliable*. Does it make you feel any better?
What is your concern? What deployment problems?
* Statement is opinion only and not based on facts.
only two letters away from being an asset
|
|
|
|
|
|
can i control this through the c#?
i.e. enable disable etc
thanks
<meta http-equiv="refresh" content="300" id="refreshmeta"></meta>
forgot to include the code!!
|
|
|
|
|
used this instead:
Response.AppendHeader("Refresh","10;URL=webformName.aspx")
|
|
|
|
|
Is it better to cache a dataset on the webserver OR
use a XML file on a server and maintaining a structure in the XML file that we populate accordingly when required
The dataset has 10 datatables and the site could have more than 50 users at once instance
Is it better to use the XML file stored on a server or Cache the dataset on the webserver considering that the application runs on a web farm
I have to cache the dataset for the users to come back again to the same page and enter new values in the dataset ( something like adding stuff to a basket )
Thanks
|
|
|
|
|
Don't you have a database that you can use for this? It's more stable and much more scalable, which is important for a high load application.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
how can i hide previous dates in yahoo two month calendar Multi-Select 2-up Implementation i found this code from below website
i want to the dates visible from to current date on words only
http://www.java2s.com/Code/JavaScript/GUI-Components/CalendarControlMultiSelect2upImplementation.htm
This is haneef.............................................................
|
|
|
|
|
How to maintain history of last ten visited page in textbox?
Hi all, can any one try to solve the problem How to maintain history of last ten visited page or any text the user input in a textbox..
I have to show last ten visited pages history on a textbox, when user try ot enter any new input that textbox. How it is to be done.. It displays visited pages like a listbox on mouseover on that text box..
Is there is any way to done this by java script or ajax can any one help me .....
Vishnu Narayan Mishra
Software Engineer
|
|
|
|
|
|
this could be useful:
www.tolleycoder.com/projects?name=history
|
|
|
|
|
hi!
i want to populate a multi level dropdown list i.e
Drinks
__SoftDrinks
____SoftDrinks1
____SoftDrinks2
__OtherDrinks
Foods
__Fast Food
____Burger
____Pizza
please help me in creating this dropdown list dynamically please help me i am in big problem .....
|
|
|
|
|
put info into a database table
display data in asp.net drop downlist
<asp:dropdownlist id="dddropdown" runat="server" visible="false">
|
|
|
|
|
on second thought use microsoft web controls treeview or create or own might dispay it better
|
|
|
|