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
kalu singh rao
275
6.4k
108.9k
Add textbox in datarow in vb.net
Sep 25 2014 8:41 AM
I want to add textbox in datarow every time when user add table in button click. I don't know how to add textbox in datarow ?
Any help will be appreciate. Thank you and check my code below.
Dim TempRow As DataRow, tb As New TextBox
Dim i As Integer = 0
tb.ID = "txtaddQty" + i.ToString()
tb.Width = Unit.Pixel("100")
tb.Height = Unit.Pixel("30")
tb.Style.Add("position", "relative")
tb.Style.Add("top", "5px")
tb.Style.Add("left", "10px")
TempRow = TempTabl.NewRow
TempRow(" ") = ""
TempRow("0ItemID") = ItemID
TempRow("LedgerName") = LedgerName
TempRow("SerialFrom") = SerialFrom
TempRow("SerialTo") = SerialTo
TempRow("Qty") = Qty
TempRow("Rate") = Rate
TempRow("AddQty") = //I want to add textbox is here //
Reply
Answers (
2
)
How to gauge the pointer in the link list in C++?
Prism