No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi all, I have a question. How do I render a string which has some html coding in it and display it as HTML? For instance, my string is like this : [CODE] Dim htmlString As String = "<h3>Hello World</h3><div>Something here</div> [/CODE] I am not too sure how can it … |
|
Hi, I'm trying to access the RangeValidator control at my code-behind file. I keep on getting "Object reference not set to an instance of an object." exception. Can someone enlighten me? ASPX: [CODE]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" DataKeyNames="subject_id" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="5" ForeColor="Black" GridLines="Horizontal" OnDataBound="GridView1_DataBound"> <Columns> <asp:TemplateField HeaderText="Hurdle Weight" … |
|
Hi I am trying to copy contents of an Excel file to another for computation purposes. However, I'm receiving a run-time error '1004' - Select method of Range class failed. Below is my code, please kindly provide some feedback: [CODE] 'Open selected file Dim wb As Workbook Dim ws As … |
|
Hi I would like to read ActiveCell.Value as it is in my macro. E.g. Even if i have #VALUE!, it will treat it as a string and read it. Can this be done? |
|
Hi, I'm actually trying to compute the total for my individual gridview items but I am reaching the dead end at the moment. I had an idea that probably I can specify another datasource for my total computation but was told that gridviews may only be bound to one datasource … |
|
I'm currently populating my GridView using code-behind codes and it looks like this:- [CODE]BoundField boundField = new BoundField(); boundField.DataField = "student_name"; boundField.HeaderText = "Name"; GridView1.Columns.Add(boundField);[/CODE] Is there a possibility where I can have a different DataSource for the different BoundFields that I insert? Perhaps, Column 1 - 5 uses SQLDataSource1, … |
|
Hi, attached in the attachment below has a screenshot of what I am trying to accomplish... I have hurdle marks for individual students and i am trying to compute the total of those marks. How can I access those values, compute the total, and store them back in the "Total … |
|
Hi, I am doing a student progression system where the application is able to keep track of student marks. I have a problem currently and I've been spending nights on this. Let me briefly explain. Marks are calculated based on their hurdles. So for instance, H1 = xx%, H2 = … |
|
Hi, I am trying to do a search function on my GridView. However when I tried using ( LIKE '%' + @ea_name2 + '%' ), it would only return me values if "ea_name2" is not null. I would like that SQL statement to execute even when "ea_name2" is null. Any … |
|
Hi, I am currently trying to develop my system that would send an email reminder to a user when the deadline for a particular matter is approaching. I did a bit of a research online and I realised that I will need to do some sort of a cron job. … |
|
Hi, I have a problem that I want to solve and I was told that I could use ASP.NET caching to solve it. Below is my scenario: [B][I]Users are required to fill up a certain type of questionnaire which has a deadline that is set by an administrator. Take for … |
|
Hi all, I have managed to get my average using cross tabs but only if I have grouped it by their categories. If I remove the GROUP BY clause, the cross tabbing doesn't seem to work. Can anyone help me? I would need to get something like:- [CODE]Year | Month … |