I am passing two values using query string like this
first value = name
second value = 6/12/2007 do I have to put this value within single quotaion? thanks for the help.
How do you define the following two methods in a lay man's terminology...without being more tech. :)
ClientScript.RegisterClientScriptBlock
ClientScript.GetPostBackEventReference
sorry, I was not clear with my question.
I am not sure if I could use compDate field from the database selection to compare the value to the other dropdown control.
Sub StartlettingDate()
Dim connectionString As String = ConnectionStrings("ConnectionString").ConnectionString...
I would like to use compare validator to compare the values for two dropdown controls. the field that I would like to use is not DataValueField or DataTextField
Eventhough, I am not quite sure if this is the best approach I added a button for users to click on and off the check box for paging to be on an off. Let me know if there is another better way to hanlde this. thank you all
Protected Sub btnPaging_Click(ByVal sender As Object, ByVal e As...
Jason, thank you for the help.So far I have gotten this far with your help but I have no luck to get it to work.I guess I should find some other way to make this happen where I can add a button for uers to clik On and off...I do not know if that is the best approach but this one is over my head...
Thank you Jason for the reply and I am still do not have a luck to get this to work...
<asp:CheckBox ID="ckPaging" runat="server" Text="Enable / Disable Paging" AutoPostBack="True" Checked="true"/ >
yes, the autopostback= true
yes, the event fire whtn the checkbox state is changed
yes...
Thank you Jason for the help. I think i need to cast it like this in order to work. so far it works when checkbox is checked and I would like to have the paging back when the checkbox is unchecded.
Protected Sub ckPaging_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)...
here is what I added so far when I click the check box it disable the paging but when I click it back my gridview just disapear...
Protected Sub ckPaging_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ckPaging.CheckedChanged
gvItem.AllowPaging = False...
Thank you Jason for your reply and yes, those are controls and I did correct it like this
<%@ OutputCache Duration="60" VaryByControl="ddLetting;ddLetting;txtDescription;page" %>
but I am not sure why it is not going to the next page when I do selet.It just wait until the duration time...
<%@ OutputCache Duration="60" VaryByParam="ddLetting; ddLetting;txtDescription" %>
After I add this line of code my paging does not work. I just get stuck until the expiration date to go to the next page. How can I fix this? thanks
Take a look at this code...
Dim connectionString As String = ConnectionStrings("ConnectionString").ConnectionString
Dim oOracleConn As OracleConnection = New OracleConnection(connectionString)
oOracleConn.Open()
Dim strStringBuilder As StringBuilder...
It has been mentioned by so many members in this forum in order to avoid sql injection not to use paramters instead. I would do some research in this forum how to avoid sql injection.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.