shafi_sunshine@yahoo.com
Member
- Joined
- Sep 2, 2012
- Messages
- 14
- Programming Experience
- Beginner
Hi Experts,
I have a problem with the second tab
when i see in design view its looking fine but with i run the code then the field of second tab are displaying outside of the tab
my .aspx code is attached
and the code in page load event is
Dim dt As New DataTable("sales")
dt.Columns.Add("ItemCode", GetType(String))
dt.Columns.Add("ItemName", GetType(String))
dt.Columns.Add("Quantity", GetType(Double))
dt.Columns.Add("Price", GetType(Double))
dt.Columns.Add("TaxCode", GetType(String))
dt.Columns.Add("Discount", GetType(Double))
dt.Columns.Add("LineTotal", GetType(Double))
Dim dr As DataRow
dr = dt.NewRow
dr("ItemCode") = ""
dr("ItemName") = ""
dr("Quantity") = 0.0
dr("Price") = 0.0
dr("TaxCode") = ""
dr("Discount") = 0.0
dr("LineTotal") = 0.0
dt.Rows.Add(dr)
ViewState("sales") = dt
GridView1.DataSource = dt
GridView1.DataBind()
Any Help Would be greatly appreciated
Thanks
shafi
I have a problem with the second tab
when i see in design view its looking fine but with i run the code then the field of second tab are displaying outside of the tab
my .aspx code is attached
and the code in page load event is
Dim dt As New DataTable("sales")
dt.Columns.Add("ItemCode", GetType(String))
dt.Columns.Add("ItemName", GetType(String))
dt.Columns.Add("Quantity", GetType(Double))
dt.Columns.Add("Price", GetType(Double))
dt.Columns.Add("TaxCode", GetType(String))
dt.Columns.Add("Discount", GetType(Double))
dt.Columns.Add("LineTotal", GetType(Double))
Dim dr As DataRow
dr = dt.NewRow
dr("ItemCode") = ""
dr("ItemName") = ""
dr("Quantity") = 0.0
dr("Price") = 0.0
dr("TaxCode") = ""
dr("Discount") = 0.0
dr("LineTotal") = 0.0
dt.Rows.Add(dr)
ViewState("sales") = dt
GridView1.DataSource = dt
GridView1.DataBind()
Any Help Would be greatly appreciated
Thanks
shafi
Attachments
Last edited by a moderator: