Click here to Skip to main content
15,915,750 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow can i delete from multiple table on a single button click Pin
Amit Agarrwal14-Jul-06 23:22
Amit Agarrwal14-Jul-06 23:22 
AnswerRe: how can i delete from multiple table on a single button click Pin
Reza Raad15-Jul-06 0:20
Reza Raad15-Jul-06 0:20 
GeneralRe: how can i delete from multiple table on a single button click Pin
Amit Agarrwal15-Jul-06 0:27
Amit Agarrwal15-Jul-06 0:27 
AnswerRe: how can i delete from multiple table on a single button click Pin
Reza Raad15-Jul-06 1:30
Reza Raad15-Jul-06 1:30 
QuestionFirst time site upload Pin
Maurader14-Jul-06 22:55
Maurader14-Jul-06 22:55 
AnswerRe: First time site upload Pin
Saifi Hasan15-Jul-06 21:29
Saifi Hasan15-Jul-06 21:29 
GeneralRe: First time site upload Pin
Maurader15-Jul-06 23:19
Maurader15-Jul-06 23:19 
QuestionEditItemTemplate in vb.net 1.1 Pin
amaneet14-Jul-06 22:10
amaneet14-Jul-06 22:10 
Sir,
I am returning a table in the td tag of ot table(which is placed in the edititemtemplate of datagrid).Now the problem in it is returning a table but not the structure of the table and returnibg the text and the text value is System.Web.UI.HtmlControls.HtmlTable.But i want the complete structure of the table in that row of the datagrid.Is it possible?
-----------------------------------------------------------------
I am using the following code.
-----------------------------------------------------------------
 public function FindAttribute (byval str as string) as System.Web.UI.HtmlControls.HtmlTable <br />
<br />
        Dim t As New System.Web.UI.HtmlControls.HtmlTable<br />
        t.Width = "100%"<br />
        t.ID = "dynamic"<br />
        Dim drow As System.Web.UI.HtmlControls.HtmlTableRow<br />
         Dim dcell(1) As System.Web.UI.HtmlControls.HtmlTableCell<br />
        Connect()<br />
        Dim recordscount As Integer<br />
        cmd = New OleDbCommand("select count(*) from Depositdetail where depositId=" & str, con)<br />
        dr = cmd.ExecuteReader<br />
        If (dr.Read) Then<br />
            recordscount = dr.Item(0)<br />
        End If<br />
        dr.Close()<br />
<br />
<br />
        cmd = New OleDbCommand("select * from Depositdetail where depositId=" & str, con)<br />
        dr = cmd.ExecuteReader<br />
        While (dr.Read)<br />
                        drow = New System.Web.UI.HtmlControls.HtmlTableRow<br />
                        dcell(0) = New System.Web.UI.HtmlControls.HtmlTableCell<br />
            dcell(0).Width = "30%"<br />
                        dcell(1) = New System.Web.UI.HtmlControls.HtmlTableCell<br />
            dcell(1).Width = "70%"<br />
            dcell(0).InnerText = dr.Item(0)<br />
            dcell(1).InnerText = dr.Item(1)<br />
            drow.Cells.Add(dcell(0))<br />
            drow.Cells.Add(dcell(1))<br />
            t.Rows.Add(drow)<br />
        End While<br />
        FindAttribute = t

AnswerRe: EditItemTemplate in vb.net 1.1 Pin
RSArockiam15-Jul-06 20:43
RSArockiam15-Jul-06 20:43 
QuestionHow can I declarate class in JSctrpt Pin
alexan0814-Jul-06 20:56
alexan0814-Jul-06 20:56 
AnswerRe: How can I declarate class in JSctrpt Pin
led mike15-Jul-06 16:57
led mike15-Jul-06 16:57 
AnswerRe: How can I declarate class in JSctrpt Pin
enjoycrack15-Jul-06 20:08
enjoycrack15-Jul-06 20:08 
AnswerRe: How can I declarate class in JSctrpt Pin
RichardGrimmer23-Jul-06 8:48
RichardGrimmer23-Jul-06 8:48 
QuestionMake text of HTML Button Bold Pin
varun_khanna1714-Jul-06 20:42
varun_khanna1714-Jul-06 20:42 
AnswerRe: Make text of HTML Button Bold Pin
Amit Agarrwal14-Jul-06 21:46
Amit Agarrwal14-Jul-06 21:46 
AnswerRe: Make text of HTML Button Bold Pin
Mircea Grelus15-Jul-06 0:53
Mircea Grelus15-Jul-06 0:53 
QuestionProblem in edititemtemplate in vb.net1.1 [modified] Pin
amaneet14-Jul-06 19:42
amaneet14-Jul-06 19:42 
Questiongeneral Pin
dansoft14-Jul-06 19:21
dansoft14-Jul-06 19:21 
AnswerRe: general Pin
Colin Angus Mackay15-Jul-06 13:28
Colin Angus Mackay15-Jul-06 13:28 
QuestionHow to bind data in datagrid Pin
ypsyong14-Jul-06 18:28
ypsyong14-Jul-06 18:28 
AnswerRe: How to bind data in datagrid Pin
postmaster@programmingknowledge.com14-Jul-06 19:11
postmaster@programmingknowledge.com14-Jul-06 19:11 
JokeRe: How to bind data in datagrid Pin
Jerry Hammond15-Jul-06 4:29
Jerry Hammond15-Jul-06 4:29 
AnswerRe: How to bind data in datagrid Pin
enjoycrack15-Jul-06 20:12
enjoycrack15-Jul-06 20:12 
QuestionI need a lolution for Connection String. Pin
tranglt14-Jul-06 18:27
tranglt14-Jul-06 18:27 
AnswerRe: I need a lolution for Connection String. Pin
enjoycrack15-Jul-06 20:14
enjoycrack15-Jul-06 20:14 

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.