No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: first pull data you want from database, just a simple SELECT query, even if it returns no data it will work fine for following: DataTable dtData = //Data pulled from DB, just use a SELECT statement if(dtData.Rows.Count>0) { checkbox.Checked = true; } else { checkbox.Checked = false; } I just … | |
Re: I take it you are binding a bit to the checkbox on load from your Text='<%# Eval("Name") %>' Checked='<%# Eval("Check") %>' section. It will postback because binding to the checkbox triggers the check change event | |
Re: Use the Update Panel of the Ajax toolkit which will help the display purposes. Juts do not include your File Uploader within the UpdatePanel as FileUploaders lose their data as soon as a post back occurs(security issues or something). If your label is outside the Update Panel then just set … | |
Re: Hi If you are making no changes to data after it has been imported from excel, and just want a straight save to sql: Just before you set the Datasource of the grid, put your data into a Session so it can be used in the click event Session["data"] = … |
The End.