No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
It is not the problem of Readonly Propert. You are changing the value from Javascript which will change the values only in the client side and will not affect the server Value. That is why you are getting the Original Value. You need to change the Textbox values from server …
Syntax goes like this <asp:Button ID="btnLogin" runat="server" [COLOR="Red"]OnClick[/COLOR]="C_Buttonk" [COLOR="red"][B]OnClientClick[/B][/COLOR]="js_button()" Text="Login" />
Check the following criterias 1. First check the UserId you are using to connect to SQL Server has got enough privileges to peform insert action. 2. Check the data length of all the columns. Check whether your data fits within the specified data limit. If not increase the datalength and …
Try this <asp:GridView ID="dgViewTest" runat="server" AutoGenerateColumns="true"> <Columns> <asp:TemplateField HeaderText="ComponentName"> <ItemTemplate> [B]<asp:Label ID="Test" runat="server" text="<%#Container.DataItem%>"></asp:Label>[/B] </ItemTemplate> </asp:TemplateField> </Columns> </asp:GridView> From the code you need to bind the arraylist to the gridview. [CODE] static ArrayList componentSelectionArray = new ArrayList(); ## your Array Initialization code come here [B]_dgViewTest.DataSource = componentSelectionArray; _dgViewTest.DataBind();[/B] [/CODE]
purposecb.DataSource = null, Try this before assigning a new datasource i.e purposecb.DataSource = null; purposecb.DataSource = ds.Tables["tblVisitorVisit"]; purposecb.DisplayMember = "eventName"; purposecb.ValueMember = "visitorVisitID";
Hi, Try this [CODE] Protected Sub _btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _btnSubmit.Click lblResult.Text = "You Chose:<br/>" Dim IsSelected = False Dim Lstitems As ListItem For Each Lstitems In _chkList.Items If Lstitems.Selected Then lblResult.Text &= "<br/>" & Lstitems.Text & "<br/>" IsSelected = True End If Next If …
The End.
MamathaS