Click here to Skip to main content
15,901,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to store large data in asp.net Pin
Blumen28-Jun-07 23:20
Blumen28-Jun-07 23:20 
Questionhow to set node in xmlsitemap Pin
kvijayajyothy28-Jun-07 20:28
kvijayajyothy28-Jun-07 20:28 
AnswerRe: how to set node in xmlsitemap [modified] Pin
Suryanairg28-Jun-07 22:14
Suryanairg28-Jun-07 22:14 
Questionhow to use gridview Pin
kvijayajyothy28-Jun-07 20:26
kvijayajyothy28-Jun-07 20:26 
AnswerRe: how to use gridview Pin
Christian Graus28-Jun-07 20:31
protectorChristian Graus28-Jun-07 20:31 
QuestionCreate dynamic control and assign value to that control..., Pin
Member 387988128-Jun-07 20:14
Member 387988128-Jun-07 20:14 
AnswerRe: Create dynamic control and assign value to that control..., Pin
gauthee28-Jun-07 20:33
gauthee28-Jun-07 20:33 
GeneralRe: Create dynamic control and assign value to that control..., Pin
Member 387988128-Jun-07 20:56
Member 387988128-Jun-07 20:56 
No yar i am not getting what i want...,

see after my query i am fetching records and displaying like this...,

If TypeOf (myDataSet.Tables(0).Rows(0)(0)) Is DBNull Then
lblid.Text = String.Empty
Else
lblid.Text = myDataSet.Tables(0).Rows(0)(0)
end if

In design time itself if i declare label then fields 0 place also want to show...,
thats y i think to change dynamic control create...,

If TypeOf (myDataSet.Tables(0).Rows(0)(0)) Is DBNull Then
'lblid.Text = String.Empty
Dim dynlabel1 As New Label
dynlabel1.Text = "No Id"
Else
Dim dynlabel1 As New Label
Dim dynlabel2 As New Label
dynlabel1.ID = "lbId"
dynlabel1.Text = "ID" & ":" & myDataSet.Tables(0).Rows(0)(0)

lblid.Text = myDataSet.Tables(0).Rows(0)(0)
Panel1.Controls.Add(dynlabel1)

End If


So each and every if condition i want to create dynamic label?,
No other way is there?,

Regards,
Magi

GeneralRe: Create dynamic control and assign value to that control..., Pin
Pallavi Bhoite28-Jun-07 21:31
Pallavi Bhoite28-Jun-07 21:31 
QuestionGetting the Checked items of a datagrid in an Array. Pin
SrividhyaS28-Jun-07 19:53
SrividhyaS28-Jun-07 19:53 
AnswerRe: Getting the Checked items of a datagrid in an Array. Pin
Member 387988128-Jun-07 20:16
Member 387988128-Jun-07 20:16 
GeneralRe: Getting the Checked items of a datagrid in an Array. Pin
SrividhyaS28-Jun-07 20:18
SrividhyaS28-Jun-07 20:18 
GeneralRe: Getting the Checked items of a datagrid in an Array. Pin
Member 387988128-Jun-07 20:34
Member 387988128-Jun-07 20:34 
AnswerRe: Getting the Checked items of a datagrid in an Array. Pin
Blumen28-Jun-07 23:27
Blumen28-Jun-07 23:27 
Questionheaders of mailmessage. Pin
hkchauhan28-Jun-07 19:50
hkchauhan28-Jun-07 19:50 
QuestionUploading Excel file in ASp.net with C# Pin
attalurisubbu28-Jun-07 19:22
attalurisubbu28-Jun-07 19:22 
Questiondisplay records........., Pin
Member 387988128-Jun-07 18:58
Member 387988128-Jun-07 18:58 
AnswerRe: display records........., Pin
N a v a n e e t h28-Jun-07 19:07
N a v a n e e t h28-Jun-07 19:07 
GeneralRe: display records........., Pin
Member 387988128-Jun-07 19:14
Member 387988128-Jun-07 19:14 
AnswerRe: display records........., Pin
gauthee28-Jun-07 19:11
gauthee28-Jun-07 19:11 
GeneralRe: display records........., Pin
Member 387988128-Jun-07 19:14
Member 387988128-Jun-07 19:14 
GeneralRe: display records........., Pin
gauthee28-Jun-07 19:22
gauthee28-Jun-07 19:22 
GeneralRe: display records........., Pin
Member 387988128-Jun-07 19:25
Member 387988128-Jun-07 19:25 
GeneralRe: display records........., Pin
gauthee28-Jun-07 19:37
gauthee28-Jun-07 19:37 
GeneralRe: display records........., Pin
Member 387988128-Jun-07 20:04
Member 387988128-Jun-07 20:04 

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.