No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi all, I have set readonly property of text box as true. Coz i dont want user to be able to change it's value. It is going to contain date value, which will be inserted into it by an Ajax Calendar control. But when i accept their values in code … |
|
Re:
I want a button that when the user clicks on it validates in both server side and client side regular expressions. for example [CODE] <asp:Button ID="btnLogin" runat="server" onclick="C_Buttonk" onclick= "js_button" Text="Login" /> [/CODE] Then button would call both functions from JS and C# hence serverside and client side, but the … |
|
Re:
Ihave used the following to save the users data in the the SQL table.But the data is not been save.Can anyone pls suggest what is the error? [code] { string Name = TextBox4.Text; String Telephone = TextBox3.Text; String Email = TextBox2.Text; String enquiry = TextBox1.Text; SqlConnection conn = new SqlConnection(); … |
|
Re:
Hi <%# ((DataRowView)Container.DataItem)["SomeProperty"] %> <%# DataBinder.Eval(Container.DataItem, "SomeProperty")%> From Google i figured out these can be used to bind the columns in GridView to ArrayList. But what is "some property" ? For example i have a ArrayList in .aspx.cs as static ArrayList componentSelectionArray = new ArrayList(); so can i just write … |
|
Re:
There's an error saying that the combobox is already b, inded to a datasource, thus cannot add new items. This is how I populate my combobox [CODE] cmd = new SqlCommand(); cmd.CommandType = CommandType.StoredProcedure; cmd.CommandText = "usp_distinctevent"; cmd.Connection = con; da = new SqlDataAdapter(); da.SelectCommand = cmd; ds = new … |
|
Re:
Hi i want when no item selected after Submit show this message "Nothing Selected" what should i do ? Thanks [CODE]Protected Sub Btnsub_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Btnsub.Click lblresult.Text = "You Chose:<br/>" Dim Lstitems As ListItem For Each Lstitems In CheckBoxList1.Items If Lstitems.Selected Then lblresult.Text &= … |