Click here to Skip to main content
15,860,972 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DIV Layout and/or CSS problems with Firefox Pin
minhpc_bk19-Jul-06 23:56
minhpc_bk19-Jul-06 23:56 
GeneralRe: DIV Layout and/or CSS problems with Firefox Pin
Talal Sultan20-Jul-06 0:09
Talal Sultan20-Jul-06 0:09 
QuestionHow to get Error message using Error No in Asp.net Pin
kiranchandu619-Jul-06 20:10
kiranchandu619-Jul-06 20:10 
AnswerRe: How to get Error message using Error No in Asp.net Pin
Paddy Boyd19-Jul-06 23:34
Paddy Boyd19-Jul-06 23:34 
GeneralRe: How to get Error message using Error No in Asp.net [modified] Pin
kiranchandu620-Jul-06 18:38
kiranchandu620-Jul-06 18:38 
QuestionUpgrade .net framework Pin
slSoftware19-Jul-06 19:56
slSoftware19-Jul-06 19:56 
AnswerRe: Upgrade .net framework Pin
minhpc_bk19-Jul-06 23:52
minhpc_bk19-Jul-06 23:52 
QuestionTable problem in vb.net1.1 Pin
amaneet19-Jul-06 19:50
amaneet19-Jul-06 19:50 
I am posting this question fourth time and i will continue posting this question until i get the answer.

Sir,
I have a datagrid and problem lies into the edititemtemplate of datagrid.
I have a datagrid in the following format
--------------------------------------------------
Column1 Column2 Column2
abc1 EditImage Delete Image
abc2 EditImage Delete Image
abc3 EditImage Delete Image
-------------------------------------------------
Now when i click at the particular editimage then the control goes to the the edititemtemplate where i am using a function to construct a table in that particular row of the datagrid in which i clicked at the editimage .In the edititemtemplate i am calling a function in the following format.
------------------------------------------------

<%#LoadTable(Container.DataItem(0).ToString())%>

--------------------------------------------------
Now the table is not comming into that row but a message is being displayed in that row and the message is
System.Web.Ui.HtmlControls.HtmlTable
But i want the structure of the table instead of this message .
------------------------=---------------
I am using the following code in the LoadTable
function
----------------------------------------
Public function LoadTable(Byval str as string)as Sysytem.Web.Ui.HtmlControls.Table
dim con as new oledbconnection("connectionstring")
con.open
cmd=new oledbcommand("select * from abc where id=" & str , con)
cmd.executereader
dim dr as oledbdatareader
dr=cmd.executereader

dim t as new system.web.ui.htmlcontrol.table
dim drow as System.Web.UI.HtmlControls.HtmlTableRow
dim dcell(1) as New System.Web.UI.HtmlControls.HtmlTableCell
--------------------------------------------------------
while(dr.read)

drow = New System.Web.UI.HtmlControls.HtmlTableRow
dcell(0) = New System.Web.UI.HtmlControls.HtmlTableCell
dcell(0).Width = "30%"
dcell(1) = New System.Web.UI.HtmlControls.HtmlTableCell
dcell(1).Width = "70%"
dcell(0).InnerText = dr.Item(0)
dcell(1).InnerText = dr.Item(1)
drow.Cells.Add(dcell(0))
drow.Cells.Add(dcell(1))
t.Rows.Add(drow)
end while
----------------------------------------------------------
End Sub

please help me to construct the table in the datagrid row at edititem template of datagrid
Questionsecured downloads on ASP.NET application Pin
harinath19-Jul-06 19:21
professionalharinath19-Jul-06 19:21 
AnswerRe: secured downloads on ASP.NET application Pin
minhpc_bk20-Jul-06 0:02
minhpc_bk20-Jul-06 0:02 
QuestionA challange with client callback (2.0) Pin
Grapes-R-Fun19-Jul-06 15:54
Grapes-R-Fun19-Jul-06 15:54 
AnswerRe: A challange with client callback (2.0) Pin
minhpc_bk19-Jul-06 16:53
minhpc_bk19-Jul-06 16:53 
GeneralRe: A challange with client callback (2.0) Pin
Grapes-R-Fun20-Jul-06 3:25
Grapes-R-Fun20-Jul-06 3:25 
GeneralRe: A challange with client callback (2.0) Pin
Grapes-R-Fun20-Jul-06 5:38
Grapes-R-Fun20-Jul-06 5:38 
QuestionDate format in validator Pin
Nathan Buckley19-Jul-06 15:30
Nathan Buckley19-Jul-06 15:30 
AnswerRe: Date format in validator Pin
Grapes-R-Fun19-Jul-06 16:08
Grapes-R-Fun19-Jul-06 16:08 
AnswerRe: Date format in validator Pin
minhpc_bk19-Jul-06 16:29
minhpc_bk19-Jul-06 16:29 
QuestionCheck if file exist Pin
deepaks319-Jul-06 11:06
deepaks319-Jul-06 11:06 
AnswerRe: Check if file exist Pin
Are Jay19-Jul-06 11:44
Are Jay19-Jul-06 11:44 
Questionaccess value of a textbox which is inside the datagrid using Javascript Pin
Vipin.d19-Jul-06 8:22
Vipin.d19-Jul-06 8:22 
AnswerRe: access value of a textbox which is inside the datagrid using Javascript Pin
minhpc_bk19-Jul-06 15:24
minhpc_bk19-Jul-06 15:24 
Questionhow to retrive and store image insql server database with making use of ASP/vb.net and using html file feild control Pin
alhomed4419-Jul-06 8:21
alhomed4419-Jul-06 8:21 
AnswerRe: how to retrive and store image insql server database with making use of ASP/vb.net and using html file feild control Pin
Not Active19-Jul-06 8:59
mentorNot Active19-Jul-06 8:59 
GeneralRe: how to retrive and store image insql server database with making use of ASP/vb.net and using html file feild control Pin
alhomed4424-Jul-06 6:56
alhomed4424-Jul-06 6:56 
GeneralRe: how to retrive and store image insql server database with making use of ASP/vb.net and using html file feild control Pin
Not Active24-Jul-06 7:05
mentorNot Active24-Jul-06 7:05 

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.