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
Charith Liyanagamage
NA
148
0
insert record to a Gridview
Apr 6 2012 5:03 AM
Hi All,
I have a scenario like below;
I have a gridview and i have already loaded some records to the gridview from the database. Say 2 records with 3 columns.
And i have 3 textboxes with data and i want to fill the gridview with these data in 3 textboxes to a new line in gridview. After filling that i should see 4 records in gridview.
Ex:-
gridview1 (After loading data from database)
Charith
23
Test Data
Malith
25
ABSCEC
Ruwan
21
Test Data
Data in 3 textboxes tb1=Amal tb2=30 tb3=Test Data
So after inserting this into gridview
Charith
23
Test data
Malith
25
ABSCEC
Ruwan
21
Test Data
Amal
30
Test Data
can anybody give me a hand to do this?
Note: I can do the data loading part for the gridview.Only need inserting a newline to gridview. :)
Thanks,
Max
Reply
Answers (
3
)
what is the difference between dataadapter and datareader in asp.net using c# pls send important 5 points
Gridview