User Profile
Collapse
-
yes i found out i just should add <Serializable() > _ above the class -
-
-
amirghaffarie1362 replied to How to search a textbox for numbers, and if numbers not found give error messegein ASP .NETthis BOLD javascript code lock keyword , so users just could inter Number in text box
<asp:TextBox onkeypress=" if((event.keyCo de>57) || (event.keyCode< 48)) {event.returnVa lue=false}" id="TextBoxAmou nt" runat="server" ></asp:TextBox>Leave a comment:
-
Code:<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <table width="100%" height="100%" bgcolor="#5189BD"> <tr> <td align="center" valign="middle" class="Dir"> <img src="http://bytes.com/topic/asp-net/images/process.gif"
Leave a comment:
-
-
-
use this code under bottun click :
Code:if textbox1.text <> "" or textbox2.text <> "" or text3.text <> "" then 'sumbit form end if
Leave a comment:
-
is not marked as serializable
i use below code for create arraylist()
Code:Dim ItemsT As New ArrayList() If ViewState("items") IsNot Nothing Then ItemsT = DirectCast(ViewState("items"), ArrayList) Else ItemsT = New ArrayList() End If Dim itemID As Integer = EasyListBoxItemT.SelectedValue Dim count As String = TextBoxCount.Text
-
Dim index As Integer = Convert.ToInt32 (e.rowindex)
Dim row As GridViewRow = GridViewSubject .Rows(index)
row.Cells(0).Te xtLeave a comment:
-
its not correct
sqlcom.CommandT ext = sqlcom.CommandT ext = "insert into client (Name,SSN,Salar y)" + "value(@NameTex tBox.Text ,@SSNTextBox.Te xt ,@SalaryTextBox .Text )";
it should be
sqlcom.CommandT ext = "insert into client (Name,SSN,Salar y) value ('" + NameTextBox.Tex t + "','" + SSNTextBox.Text + "','" + SalaryTextBox.T ext + "')";Leave a comment:
-
i couldnt get whats the problem is ?/ you could get all value from the row that is selected ?????Leave a comment:
-
-
u could see error as Javascripts err , click on java script error at the bottom of page and the err message will be shown thereLeave a comment:
-
i see , as u r working on this , i had question befor i asked in this forum , unfortunetly nobody send me any reply , i try to get the source off each page of one web site but in that website they use linkbutton and with link button should go throw __dopostback , i try to send the form post with __evenargument and __eventtarget but it dosnt work , if u have any exprine about this ??? please send me reply
regardsLeave a comment:
-
what u mean "post back the session header" could u send me th sample code ????Leave a comment:
-
yes i know i try to post the exact infomation of postback to page as i said i post form with __EVENTARGUMENT , __EVENTTARGET and i dosent work , also i try to download website with "SurfOfflin e Professional 2
but it dosnt work either !!!!!!Leave a comment:
-
how open __dopostback()
hey;
im trying to write program , this program should go to one URL and open links and save the source of each pages automaticly, my problem is when the links are like : <a href="javascrip ts:__dopostback ()"> i couldnt open the page,
i try to post __EVENTTARGET and __EVENTARGUMENT , but its dosent work this way too.
any sugeestion ????
No activity results to display
Show More
Leave a comment: