Click here to Skip to main content
16,014,591 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: XHTML Strict Pin
Domenic Denicola27-Jul-02 8:42
Domenic Denicola27-Jul-02 8:42 
GeneralGo to anchor Pin
Hans Ruck23-Jul-02 7:17
Hans Ruck23-Jul-02 7:17 
GeneralRe: Go to anchor Pin
Jeremy Falcon23-Jul-02 7:38
professionalJeremy Falcon23-Jul-02 7:38 
GeneralRe: Go to anchor Pin
Hans Ruck23-Jul-02 7:52
Hans Ruck23-Jul-02 7:52 
GeneralDataGrid Editing doesn't update Pin
Steve Severance23-Jul-02 5:42
Steve Severance23-Jul-02 5:42 
GeneralRe: DataGrid Editing doesn't update Pin
Not Active23-Jul-02 8:28
mentorNot Active23-Jul-02 8:28 
GeneralRe: DataGrid Editing doesn't update Pin
Steve Severance24-Jul-02 8:23
Steve Severance24-Jul-02 8:23 
GeneralRe: DataGrid Editing doesn't update Pin
mgriffith24-Jul-02 8:33
mgriffith24-Jul-02 8:33 
a couple of points...
1. you are using a global sqlconnection....this could hog resources...i'd at least try to close it after every use and reopen it before every use...the datagrid is good at displaying disconnected data (that's that the System.Data.DataSet object is)
2. make sure you aren't calling DataBind() in your page_load event every time, or else it'll grab the data right from sql again
should be something like
public void page_load()
{
if (!Page.IsPostBack)
{
Page.DataBind();
}
else
{
//do nothing...page was posted back, and data will remain in datagrid unless changed in another function
}
}

hope this helps Eek! | :eek:

michael griffith
--------------------
mgriffith@lauren.com
mdg12@po.cwru.edu
GeneralCreating a menu list Pin
Gregory22-Jul-02 23:41
Gregory22-Jul-02 23:41 
GeneralRe: Creating a menu list Pin
benjymous23-Jul-02 2:54
benjymous23-Jul-02 2:54 
GeneralRe: Creating a menu list Pin
Nick Parker23-Jul-02 4:27
protectorNick Parker23-Jul-02 4:27 
GeneralRe: Creating a menu list Pin
Suolan23-Jul-02 18:05
Suolan23-Jul-02 18:05 
GeneralDifferent actions from one form. Pin
David Fleming22-Jul-02 11:32
David Fleming22-Jul-02 11:32 
GeneralRe: Different actions from one form. Pin
Jeremy Falcon22-Jul-02 11:44
professionalJeremy Falcon22-Jul-02 11:44 
GeneralRe: Different actions from one form. Pin
David Fleming22-Jul-02 12:24
David Fleming22-Jul-02 12:24 
GeneralRe: Different actions from one form. Pin
Paul Watson23-Jul-02 7:09
sitebuilderPaul Watson23-Jul-02 7:09 
GeneralRe: Different actions from one form. Pin
David Fleming23-Jul-02 17:37
David Fleming23-Jul-02 17:37 
GeneralRe: Different actions from one form. Pin
Chris Maunder23-Jul-02 18:17
cofounderChris Maunder23-Jul-02 18:17 
GeneralRe: Different actions from one form. Pin
David Fleming24-Jul-02 22:46
David Fleming24-Jul-02 22:46 
GeneralRe: Different actions from one form. Pin
Chris Maunder24-Jul-02 22:54
cofounderChris Maunder24-Jul-02 22:54 
Generaldetecting carrige returns Pin
Nnamdi Onyeyiri22-Jul-02 9:58
Nnamdi Onyeyiri22-Jul-02 9:58 
GeneralRe: detecting carrige returns Pin
Nnamdi Onyeyiri22-Jul-02 10:12
Nnamdi Onyeyiri22-Jul-02 10:12 
GeneralRe: detecting carrige returns Pin
Jeremy Falcon22-Jul-02 10:31
professionalJeremy Falcon22-Jul-02 10:31 
GeneralRe: detecting carrige returns Pin
Nnamdi Onyeyiri22-Jul-02 10:33
Nnamdi Onyeyiri22-Jul-02 10:33 
GeneralRe: detecting carrige returns Pin
Jeremy Falcon22-Jul-02 10:41
professionalJeremy Falcon22-Jul-02 10:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.