All,
This is what I currently have; and the error I got is
"Object reference not set to an instance of object" for line
myDDL.Items.FindByValue("strStatus").Selected = True
Please help me.
Protected Sub btnEditRecord(ByVal sender As Object, ByVal e As System.EventArgs)...
All,
I'm trying to find a way to fire a my btnEdit with no luck. I need some help. Thank you.
<asp:TemplateField>
<ItemTemplate>
<asp:Button runat="server" ID="btnEdit" Text="Edit" OnClick ="btnEditRecord"/>
</ItemTemplate>...
All,
Below is what I have and when I click submit button I got the error "Cannot have multiple items selected in a DropDownList" Any help is appreciated.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then...
Hi all,
I'm trying to do sorting for my gridview. This is the error I got
Unable to cast object of type 'System.Data.DataView' to type 'System.Data.DataTable'
for this line
gvDetail.DataSource = SortDataTable(Session("myTable"), False)
Please help.
Protected Sub...
Below is what I currently have. I'd like to put a if statement there to make my column show "N/A" if the field has null value. Please help me with the syntax. Thank you.
<ItemTemplate>
<asp:hyperlink navigateurl='<%#string.Concat ("\\serverName\FileRequest\" ...
Hi all,
I use gridview to show my data. There's one field called description. It's very long so it looks really ugly if I have everything shown. Is there a way for me to show just 1st couple words the field & (make it hyperlink) so users can click on those words of that one record to expand...
Hi all,
I use gridview to display data from a table. In one field I have a .pdf file path. I just don't know how to make it shown in hyperlink. Any help is greatly appreciated.
(in SQL table that field has the value of C:\temp\filename.pdf)
in asp.net page my code looks like this...
Hi all,
This is a little complicated to explain please bear with me.
What I'm trying to do is get an interactive map base on user's choice (by either click on the image or enter the facet map #) I have 2 pages
page1: map1.aspx
Sub doSubmit(ByVal sender As Object, ByVal e As EventArgs)...
Hi all,
I'm totally new to .NET. I'm trying some simple stuffs and stuck with form submit. Any help is appreciated it.
Form1:
form method="get" action="/IMap.aspx" id=form2 name=form1>
<b><i>Enter Facet Number: </i></b>
<input name="map" type="text" size="5">...
Hi all,
I need to add new users to the workgroup but I don't know how. I did not create the database, s/o did and he left. I see the .mdw in the folder. I open it and do not see any table. There're couples queries, 1 of it is MSysUserList which display user names but I have now idea where...
Hi all,
This is what I'm trying to do.
A form with multiple controls. Users enter data, save it/ or open the form with saved data. Because a lot of cases, the data is pretty much the same, users just changes a couple things on the current record then hit button "Save as New Record" My problem...
Hi,
Below is what I currently have.
What I want now is to add more condition to my data binding. Instead of always getting data from "message" field: Text='<%# Eval("Message") %> I want it to get data from other fields depends on the value of "status" field. Any help is greatly appreciated...
Hi,
I have an old access database with thousands of linked OLE objects (images). Now my image folder was moved to another server. How could I change the path of all my linked OLE objects ? It is impossible for me to manually change one by one. Please please help.
Thank you,
Hi,
All I want is to create a new blank database w/o any password but for some reasons my access keeps promting me a window with user name as ask me for password. Please help me to fix it. Thanks in advance.
Hi all,
My table has fields:
account,agentID, date, conclusion_code
with duplicate account exist now I need to create another table with distinct account and choose other values based on the latest date
This is what I tried
CREATE TABLE #UniqueAccount2 (
Account VARCHAR(50),
Agent int...
Please help me to fix this code.
error: "myView.queue is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause."
select
a.account,
min(a.time_on) as Informal , a.queue as In_agent,
max (b.time_on) as Formal, b.queue as For_Agent...
Hi,
Exemple of my current data:
Account Date_Time Queue
123 2006-03-02 13:28:14.577 I
123 2006-07-13 15:03:33.000 ASmith
123 2006-07-13 16:03:33.000 P
123 2006-07-13 15:03:33.000 BClinton
What I need to do is to make those same...
Hi all,
This is a very simple task I guess but since I'm brand new at asp.net I need your help.
I want to set myLabel.text = "update_date" field in mySql table (single row)
My connection string is like this but I have no idea what to do next. Thanks in advance.
Dim myCnn As...
Hi all,
I have a subform displayed records filtered from a main table. Could you please show me know to save all those filtered records in my subform to another table ? I've searched the forum but could not find the answer. Your help is much appreciated.
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.