Thanks for the reply :)\
I ended up taking the name and value at the same time in the same array.
User Profile
Collapse
-
C# Request.From Array
ArrayList temp = new ArrayList();
foreach (string var in Request.Form)
{
temp.Add(var);
}
This is the code I'm using to pull out the items in my form. However, I cannot seem to get the values of the data entered into the form. I'm just getting the names of all the objects in the form, but I really want the data as well. Am I missing something? -
C# Find Text Boxes Grab Data
Hi!
Okay, here's the issue:
I have a nested repeater with this:
<td width="125px">< input type="text" name="M<%# DataBinder.Eval (Container.Data Item, "combos_id" ) %>" size="10" maxlength="10"> </td>
<td width="350px">< input type="text" name="C<%# DataBinder.Eval (Container.Data Item, "combos_id" )... -
call c# function within javascript
Basically I want to do something like this:
Code:
on the .aspx page
<script language="javas cript">
setHorizontalLa bels([<%# Function %>]);
</script>
"Function" being a function in my .aspx.cs that returns an array
I just can't seem to get my <% %> to be recognized within the script tag.
Any thoughts? -
great! just as i was getting into this someone came in and dropped a project on my desk :(
i better get to it.Leave a comment:
-
The only problem I'm having now is getting my data sql adapter into an arrayLeave a comment:
-
Of course I'll take that sample code. I just figured I'd throw in a feature to see who is searched for the most on the directory. just for fun today....Leave a comment:
-
C# Simple Statistics
I have an employee directory, but I want to see how many unique last name were typed in the search and how many times each last name was typed in?
I'm just not sure which direction I should take to go about this data collection
any thoughts? -
This is how I would handle the same situation:
System.Data.Sql Client.SqlConne ction myConnection = new SqlConnection(C onfigurationMan ager.Connection Strings["Intranet"].ConnectionStri ng);
System.Data.Sql Client.SqlComma nd updatecomm = new SqlCommand("EMP _spUpdateContac tInfo", myConnection);
updatecomm.Comm andType = CommandType.Sto redProcedure;
...Leave a comment:
-
When I upload my ASP.NET 2.0 apps I usually have to go into the server and find the virtual folder containing my application and change the settings so it is registered as an ASP.NET 2.0 instead of ASP.Net 1.1
If you have both ASP 2.0 and 1.1 framework installed then you might have to specify which technology this application should use.Leave a comment:
-
Have you looked into the ASP.NET Ajax controls? I believe they have a progress bar of some sort in there. Update Progress? I'm not all too sure how that can be modified since I have not used it myself, however, I think AJAX is the direction you'd want to take....Leave a comment:
-
If you are not a programmer, then getting a hold of the developer who built this application would probably be the best idea since any "steps" to fixing that will most likely (definitely) involve programming.
good luck...Leave a comment:
-
personally, I'd recommend using FireFox over IE to display all my links and formatting... ;)Leave a comment:
-
C# Computer Time
I need to advance all the clocks in my building (both computer and wall clocks) to 4:00pm PST with C# so I can start the weekend
............... ..... j/k ;) -
Thank you so much. I'd buy you a cappuccino (from some independent shop, not starbucks) if I could.
I'm so glad you were on the internet today ;)...Leave a comment:
-
Nevermind, I'm an idiot.
I am obviously missing the ( variable = blah blah; )
and just had the blah blah...
Thanks for your help :-)Leave a comment:
-
-
I tried to use this however, when I step through the application the string is sent and it reads psString however, it does not actually make the change...rather just goes through the motions....Leave a comment:
-
C# Data Binding
I'm trying to bind my repeater control to a SQLCommand Object...but I dont think I'm anywhere close...
Code:myConnection.Open(); Repeater1.DataSource = searchCommand.ExecuteReader(CommandBehavior.CloseConnection); Repeater1.DataBind();
-
C# removing single quote from string
Am I even close to right? I dont recall how many single quotes it takes to represent a single quote in a aspx.cs code behind page.
Code:if (firstname.Contains( " ' " )) { indexof = firstname.IndexOf(" ' "); firstname.Insert(indexof + 1, " ' "); } if (lastname.Contains("''")) { indexof
No activity results to display
Show More
Leave a comment: