Search Results

Showing results 1 to 28 of 28
Search took 0.01 seconds.
Search: Posts Made By: nikkiH ; Forum: ASP.NET and child forums
Forum: ASP.NET Feb 23rd, 2007
Replies: 5
Views: 1,651
Posted By nikkiH
If you are not putting your code under C:\inetpub\wwwroot, then you need to tell IIS where to look for it. You appear to have put it in a normal directory. You can either make that a virtual...
Forum: ASP.NET Feb 23rd, 2007
Replies: 1
Views: 1,437
Posted By nikkiH
You can't just open/run an aspx page like that -- it has to go through IIS and the .NET engine.
Did you install .NET Framewrok and set up IIS on your machine?
Forum: ASP.NET Feb 22nd, 2007
Replies: 1
Views: 1,545
Posted By nikkiH
MSDN has a nice article on the subject.
http://msdn2.microsoft.com/en-us/library/aa479015.aspx
Forum: ASP.NET Feb 21st, 2007
Replies: 3
Views: 3,169
Posted By nikkiH
The first thing I would do is set up a test page using only the datagrid. Get it data bound and working normally.
Once that is set, then I'd add the code for the user control, and see if even...
Forum: ASP.NET Feb 20th, 2007
Replies: 3
Views: 3,169
Posted By nikkiH
You can bind the grid whenever you like.
The method is DataBind()
Forum: ASP.NET Feb 20th, 2007
Replies: 3
Views: 1,622
Posted By nikkiH
Which event is this code running from?
Did you trace with Studio (debug)?
Forum: ASP.NET Feb 16th, 2007
Replies: 1
Views: 3,333
Posted By nikkiH
Are you perhaps looking for MultiView / GridView?

Standard components available in .NET are the same, regardless of your language of choice.
Forum: ASP.NET Feb 15th, 2007
Replies: 3
Views: 1,749
Posted By nikkiH
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlDataReaderClassTopic.asp
Forum: ASP.NET Feb 15th, 2007
Replies: 5
Views: 13,795
Posted By nikkiH
Probably because you're setting PostBackURL in the same spot you're trying to use it.
PostBackURL is written out as client-side javascript on a button. If it is not set already at design time, you...
Forum: ASP.NET Feb 14th, 2007
Replies: 5
Views: 2,454
Posted By nikkiH
That's just a link, right?
Therefore, the linked page should work fine. If you just plug that link into your browser, does it work?
Forum: ASP.NET Feb 13th, 2007
Replies: 6
Views: 6,731
Posted By nikkiH
You don't have to display every column you select.
I use views with a bunch of columns as my datasource, and they work for several different grids.
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,886
Posted By nikkiH
Sure. A simple console app to demonstrate.


using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
class Program
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,886
Posted By nikkiH
Sure it's possible.
Where does the range come from? That is, the start and end dates of the current month and current year, or user input, or ...?
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,886
Posted By nikkiH
How do you want it?
Two date objects, a string, an array of dates ...?
Forum: ASP.NET Feb 13th, 2007
Replies: 6
Views: 6,731
Posted By nikkiH
Unless you're stuck with someone else's DAL, that is. ;)

You can write custom code to get the value, but it's a serious pain in the behind and isn't actually binding. You have to write custom...
Forum: ASP.NET Feb 13th, 2007
Replies: 5
Views: 2,454
Posted By nikkiH
IIS needs to be set up for .NET.
Is it?
Forum: ASP.NET Feb 13th, 2007
Replies: 5
Views: 13,795
Posted By nikkiH
PostBackURL is more equivalent to Server.Transfer than Response.Redirect.
It maintains ViewState and all the rest of the Page object and other State Bags.

Response.Redirect simply sends a 302 to...
Forum: ASP.NET Feb 12th, 2007
Replies: 11
Solved: PostBackUrl
Views: 10,247
Posted By nikkiH
Okay, no, that won't work like that.
Behind the scenes, all post back url does is change the onclick on the button CLIENT SIDE.
So changing it then trying to call onclick, before the code is...
Forum: ASP.NET Feb 12th, 2007
Replies: 11
Solved: PostBackUrl
Views: 10,247
Posted By nikkiH
Ah, I see.
Hang on a few, let me trace it.
Forum: ASP.NET Feb 12th, 2007
Replies: 11
Solved: PostBackUrl
Views: 10,247
Posted By nikkiH
Here's what I had.
Note that posting to the daniweb address actually causes an error due to them not accepting POST from outside their domain. However, this still indicates success at postbackurl....
Forum: ASP.NET Feb 12th, 2007
Replies: 11
Solved: PostBackUrl
Views: 10,247
Posted By nikkiH
Yes, and for me, it does.
You're inheriting code. Did you mean to do that?

Inherits="PassParameters._Default" %>

You had a couple other errors in there I fixed without thinking about it, too. ...
Forum: ASP.NET Feb 12th, 2007
Replies: 11
Solved: PostBackUrl
Views: 10,247
Posted By nikkiH
You might be accidentally calling the click before the url is actually set.
Forum: ASP.NET Feb 12th, 2007
Replies: 9
Views: 11,978
Posted By nikkiH
GridView supports EmptyDataRowStyle

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.emptydatarowstyle.aspx
Forum: ASP.NET Feb 12th, 2007
Replies: 8
Views: 16,886
Posted By nikkiH
The DateTime object has properties for month, day, year, etc. DateTime.Now is today's date. You can go from there.
Note that ToString is overloaded for DateTime in order to format a date for output.
Forum: ASP.NET Jan 11th, 2007
Replies: 2
Views: 3,716
Posted By nikkiH
Response.write is pretty old school ASP. You're using .NET now. Make a <asp:label> with no text and set its .Text property at the proper time.
Forum: ASP.NET Dec 29th, 2006
Replies: 15
Views: 68,449
Posted By nikkiH
Which can be gotten back again with one click.

Make a decent application instead; save yourself work and your users hassle.
Forum: ASP.NET Dec 29th, 2006
Replies: 5
Views: 19,459
Posted By nikkiH
You have a datetime. How you display it is up to you. The DateTime object supports multiple methods for displaying the date, as well as an overridden ToString that can take a format....
Forum: ASP.NET Dec 28th, 2006
Replies: 1
Views: 17,756
Posted By nikkiH
From my application:



// close the page if successful update
RegisterStartupScript("load", "<script type=\"text/javascript\">\n" +
"self.close();\n"...
Showing results 1 to 28 of 28

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC