Click here to Skip to main content
16,009,057 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Forms Authentication Pin
Robymon17-Feb-09 19:45
Robymon17-Feb-09 19:45 
QuestionConfigure IIS7 in Vista to Run .aspx files Pin
Abdul Rahman Hamidy17-Feb-09 18:27
Abdul Rahman Hamidy17-Feb-09 18:27 
AnswerRe: Configure IIS7 in Vista to Run .aspx files Pin
Satish Mahapatra17-Feb-09 18:51
Satish Mahapatra17-Feb-09 18:51 
AnswerRe: Configure IIS7 in Vista to Run .aspx files Pin
Abhijit Jana18-Feb-09 4:22
professionalAbhijit Jana18-Feb-09 4:22 
QuestionCrystal Reports 9 error in ASP.NET Pin
NewbieDave17-Feb-09 11:26
NewbieDave17-Feb-09 11:26 
QuestionURL Path... Pin
Member 47085017-Feb-09 10:45
Member 47085017-Feb-09 10:45 
AnswerRe: URL Path... Pin
vaghelabhavesh17-Feb-09 10:58
vaghelabhavesh17-Feb-09 10:58 
QuestionDataGrid to DataBase Pin
Terick17-Feb-09 8:49
Terick17-Feb-09 8:49 
Hi,

I have a DataGrid with the following columns: Remove, ItemName, ItemID, Size, Date, Amount. When the user clicks "Save" I need to cycle through the grid and if any of the Remove Checkboxes are checked, that row needs to get removed, but if the row isnt checked it gets saved to the database using a stored procedure with inputs (Project_ID, ItemID, Size, User). I know how to go through the DataGrid to check to see if the checkbox is checked and then to remove it, but I'm not sure how to take the non-checked rows and add them to the database. Can someone please help me with this code?

protected void btnSave_onClick(object sender, EventArgs e)
{
foreach (GridViewRow row in Control.GridViewRows)
{
CheckBox cboxremove = (CheckBox)row.FindControl("cbxRemove");
if (cboxremove.Checked)
{
RemoveCheckedTitles();
}
else 
{ 
???????????????
}
}


Please Help! Thanks
AnswerRe: DataGrid to DataBase Pin
N a v a n e e t h17-Feb-09 14:48
N a v a n e e t h17-Feb-09 14:48 
GeneralRe: DataGrid to DataBase Pin
Terick17-Feb-09 15:17
Terick17-Feb-09 15:17 
GeneralRe: DataGrid to DataBase Pin
Satish Mahapatra17-Feb-09 18:45
Satish Mahapatra17-Feb-09 18:45 
QuestionAlerts for a website Pin
fasttoshiba17-Feb-09 8:06
fasttoshiba17-Feb-09 8:06 
AnswerEmail from ASP.net Pin
David Mujica17-Feb-09 8:31
David Mujica17-Feb-09 8:31 
AnswerRe: Alerts for a website Pin
Deepak Nigam17-Feb-09 18:46
Deepak Nigam17-Feb-09 18:46 
QuestionMulti Tier question Pin
Jay Stobbe17-Feb-09 4:15
Jay Stobbe17-Feb-09 4:15 
QuestionRe: Multi Tier question Pin
led mike17-Feb-09 6:58
led mike17-Feb-09 6:58 
AnswerRe: Multi Tier question Pin
Jay Stobbe17-Feb-09 9:13
Jay Stobbe17-Feb-09 9:13 
GeneralRe: Multi Tier question Pin
Christian Graus17-Feb-09 11:49
protectorChristian Graus17-Feb-09 11:49 
AnswerRe: Multi Tier question Pin
keyur satyadev18-Feb-09 0:30
keyur satyadev18-Feb-09 0:30 
QuestionRe: Multi-Tenant Data Architecture in asp.net 2.0 [modified] Pin
Maxy5517-Feb-09 3:59
Maxy5517-Feb-09 3:59 
AnswerRe: Multi-Tenant Data Architecture in asp.net 2.0 Pin
Christian Graus17-Feb-09 11:13
protectorChristian Graus17-Feb-09 11:13 
GeneralRe: Multi-Tenant Data Architecture in asp.net 2.0 Pin
Maxy5517-Feb-09 17:07
Maxy5517-Feb-09 17:07 
GeneralRe: Multi-Tenant Data Architecture in asp.net 2.0 Pin
Bassam Saoud17-Feb-09 17:18
Bassam Saoud17-Feb-09 17:18 
GeneralRe: Multi-Tenant Data Architecture in asp.net 2.0 Pin
Christian Graus17-Feb-09 17:27
protectorChristian Graus17-Feb-09 17:27 
GeneralRe: Multi-Tenant Data Architecture in asp.net 2.0 Pin
Maxy5517-Feb-09 21:51
Maxy5517-Feb-09 21:51 

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.