No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
have a javascript in which i am trying to assign the value to a hidden field and getting the below msg 'document.Form1.H_ROWID' is null or not an object i am getting the value in the alert box but not able to assign it o teh control [code]alert("row " +M_ROWID) document.Form1.H_ROWID.value … |
|
given below is the css, html, script of my page want to adjust div as per page resize and need to have scroll bars for the div [code=html]<table style="width: 96%; height: 40px;" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left"> <img alt="" src="images/silver/btn-login.gif" /><a href="stockregister.aspx"><img alt="" src="images/silver/btn-reorder.gif" /></a> </td> <td> </td> <td … |
|
i amusing server.transfer to transfer values frm one aspx to another my values are in array. i want to reatin the values on post back so nned to use viewstate how do i use it at present i have it in request.form method x = Request.Form(listi(i).Trim + "sel") |
|
am using custom pagination using the following [code]Case "Prev" If GridView1.PageIndex > 0 Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) - 1 End If Case "Next" If GridView1.PageIndex < (GridView1.PageCount - 1) Then GridView1.PageIndex = Int32.Parse(GridView1.PageCount) + 1 End If[/code] for first and last its wrking properly but in using this two pagination … |
|
[code]function setgray( id)// for gray color on mouseover { if( typeof(id) == "string" && id.length > 0 ) { var element = document.getElementById(id); // if( element ) document.getElementById(id).style.backgroundColor ="appworkspace"; sub1.style.display="block"; } } function setblack(id ) // for black color on mouseover { if( typeof(id) == "string" && id.length > 0 … |
|
For i = 1 To ListBox1.Items.Count - 1 cstr1 = ListBox1.Text strqry1 = "insert into trans(pid) values('" & cstr1 & "')" MessageBox.Show(strqry1) If ListBox1.GetSelected(i) = True Then cmd.CommandText = strqry1 cmd.ExecuteNonQuery() End If Next MessageBox.Show("Records added") the above code is for inserting multiple records frm listbox to table but ony … |
|
i want to insert values selected from multiple selected listbox in to a single column seperated by a delimiter(,) along with this values there are some other rows too in which some other values are inserted a table has prdt_id, empiid 1,3,4,5 45,23 values shld be in this way how … |