Click here to Skip to main content
15,920,629 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DNN WEbsite Pin
swjam8-Jul-09 22:12
swjam8-Jul-09 22:12 
GeneralRe: DNN WEbsite Pin
Bataineh8-Jul-09 22:31
Bataineh8-Jul-09 22:31 
GeneralRe: DNN WEbsite Pin
Abhijit Jana9-Jul-09 1:59
professionalAbhijit Jana9-Jul-09 1:59 
Questionlock/unlock user Pin
vikas shukla8-Jul-09 21:06
vikas shukla8-Jul-09 21:06 
AnswerRe: lock/unlock user Pin
Abhijit Jana8-Jul-09 21:12
professionalAbhijit Jana8-Jul-09 21:12 
Questionfckeditor forbid to write Pin
kof_fans8-Jul-09 20:57
kof_fans8-Jul-09 20:57 
AnswerRe: fckeditor forbid to write Pin
kof_fans9-Jul-09 15:50
kof_fans9-Jul-09 15:50 
QuestionError Pin
KhandelwalA8-Jul-09 20:31
KhandelwalA8-Jul-09 20:31 
Dim id As Integer = Request.QueryString("ui")
        Dim cmd2 As String = ("Select Specification from DefineSpecification where CategoryID=" + id.ToString())
        Dim rdr2 As IDataReader = db.ExecuteReader(CommandType.Text, cmd2)
        Dim conn As New SqlConnection
        Dim cmd As New SqlCommand("Select Count(*) from DefineSpecification Where CategoryID=" + id.ToString(), conn)
        conn.ConnectionString = ConfigurationManager.ConnectionStrings("See2Buy").ConnectionString
        conn.Open()
        Dim count As Int32 = Convert.ToInt32(cmd.ExecuteScalar())
        While rdr2.Read
            Dim lbl = New Label()
            lbl.Width = "140"
            lbl.Text = rdr2.Item("Specification")
            Panel4.Controls.Add(lbl)
            For counter2 As Integer = 1 To count
                Dim txt = New TextBox()
                txt.Width = "140"
                txt.ID = "TextBoxID" + counter2.ToString
                Panel4.Controls.Add(txt)
                Dim txt1 As TextBox = CType(Panel4.FindControl("TextBoxID" + counter2.ToString()), TextBox)
                Dim txt2 = CStr(txt1.Text)
                Dim cmd3 As String = "Insert into Specification(SpecificationHeading,SpecificationDescription)Values('" + lbl.Text + "','" + txt2 + "')"
                Dim dbcmd As DbCommand = db.GetSqlStringCommand(cmd3)
                db.ExecuteNonQuery(dbcmd)
            Next
        End While



Error : Multiple controls with the same ID 'TextBoxID1' were found. FindControl requires that controls have unique IDs.
AnswerRe: Error Pin
Abhijit Jana8-Jul-09 20:44
professionalAbhijit Jana8-Jul-09 20:44 
AnswerRe: Error Pin
himanshu25618-Jul-09 22:15
himanshu25618-Jul-09 22:15 
GeneralRe: Error Pin
KhandelwalA8-Jul-09 23:03
KhandelwalA8-Jul-09 23:03 
GeneralRe: Error Pin
himanshu25619-Jul-09 1:12
himanshu25619-Jul-09 1:12 
Questionupdate a numeric datatype value in a gridview Pin
haleemasher8-Jul-09 20:21
haleemasher8-Jul-09 20:21 
Questionlinkbutton in gridview Pin
vikas shukla8-Jul-09 20:20
vikas shukla8-Jul-09 20:20 
AnswerRe: linkbutton in gridview Pin
Abhijit Jana8-Jul-09 20:49
professionalAbhijit Jana8-Jul-09 20:49 
Questiongadget concept how to do plz give me some idea Pin
Member 38798818-Jul-09 20:15
Member 38798818-Jul-09 20:15 
Questionplz tell me,how to compare zero value with image control url Pin
nari08208-Jul-09 20:13
nari08208-Jul-09 20:13 
AnswerRe: plz tell me,how to compare zero value with image control url Pin
Abhijit Jana8-Jul-09 20:19
professionalAbhijit Jana8-Jul-09 20:19 
QuestionPlease help with Data Grid export problem Pin
Hammad Mansoor8-Jul-09 20:03
Hammad Mansoor8-Jul-09 20:03 
AnswerRe: Please help with Data Grid export problem Pin
Abhijit Jana8-Jul-09 20:51
professionalAbhijit Jana8-Jul-09 20:51 
GeneralRe: Please help with Data Grid export problem Pin
Hammad Mansoor8-Jul-09 21:06
Hammad Mansoor8-Jul-09 21:06 
AnswerRe: Please help with Data Grid export problem [modified] Pin
kumar_k5088-Jul-09 22:22
kumar_k5088-Jul-09 22:22 
GeneralRe: Please help with Data Grid export problem Pin
Hammad Mansoor9-Jul-09 18:46
Hammad Mansoor9-Jul-09 18:46 
Questionajax page request.forms using post method...,values inserting into db 2 times?..., Pin
Member 38798818-Jul-09 19:27
Member 38798818-Jul-09 19:27 
AnswerRe: ajax page request.forms using post method...,values inserting into db 2 times?..., Pin
Abhijit Jana8-Jul-09 19:40
professionalAbhijit Jana8-Jul-09 19:40 

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.