TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vignesh Kumar
NA
1k
415.9k
Add New Item in GridView
Aug 8 2013 6:38 AM
Hi,
I have a "Add New" button inside the grid and I am not able to add items to the grid.
protected void ResultGridView_RowCommand(object sender, GridViewCommandEventArgs e)
{
try
{
if (e.CommandName.Equals("AddNew"))
{
TextBox Lob = (TextBox)GridView1.FooterRow.FindControl("txtLob");
TextBox LobDescription = (TextBox)GridView1.FooterRow.FindControl("txtLobDescription");
LOBDataBO.InsertLOBValues(Lob.Text, LobDescription.Text);
FillVendorGrid();
}
}
catch (Exception exc)
{
Logger.LogError(exc, MethodBase.GetCurrentMethod().ToString());
UtilityMethods.RedirectToErrorPage(Constants.Message_ErrorProcessingRequest);
}
}
Attachment:
savesendmail.zip
Reply
Answers (
6
)
AJAX Calendar Extender Textbox Values Null After Posyback
from where i can learn regarding development of dotnetnuke ?