Hi,
I didn't do anything to enable multiple row selection, but I was given code to check and see which rows were selected. The key lies in the fact that I added a checkbox field to the columns.
foreach (GridViewRow row in GridView1.Rows)
{
CheckBox chk1 = (CheckBox)...
Hi ALL,
I would like to limit my user selection to only one row in the GridView at a time, instead of the default multi-select. Is there any way to set this to only one row selection at a time?
TIA, Randy
Hi,
If you are using SQL Server 2005, you'll have another "gotcha", because 01/01/0001 is invalid in SQL Server 2005. In SQL Server 2005, the minimum valid date value is 01/01/1753.
Don't ask me why, I'm just the messenger!!!
In any event, I'm using a initialized date of 01/01/1900. When I'm...
Hi ALL,
Is there anything that I can do that will shrink or grow the size of my GridView, based on the number of rows?
For instance, I've set the PageSize to 7, but oftentimes I'll only have one row of data. Othertimes I might have 50 rows of data. Since I have other fields on the aspx...
Hi,
Thanks for the great link. Sadly, I need a router/print server that has at least 6 ports. But, this looks like a fantastic product. I've given you a star for helping me find this elusive product on the Linksys web site.
Randy
Hi ALL,
I've noticed that some companies, like Linksys, are now offering routers/switches at 10/100/1000. Does anyone know of a router with a built-in print server that runs at the 10/1001000?
Or, is there another solution I'm not aware of?
TIA, Randy
PS - I posted something similar to...
Hi ALL,
I've noticed that Linksys seems to be the leader in offering routers/switches at 10/100/1000. BUT, does anyone know if they sell one with a built-in print server? Or, is there another solution I'm not aware of? OR, is there another brand that offers this solution?
TIA, Randy
Hi ALL,
I wonder if anyone has been using n-tier to bind to a GridView control by using the ObjectDataSource. This is our first OOP web application, and we have no tables. Right now we are simply working with objects in memory.
So, it appears as though Microsoft requires that our datamapper...
Hi,
I don't really understand that much about the "roles" property as part of web.sitemap. I was under the impression it only provides for 3 roles, such as "Admin" and a one or two more.
So, can we create our own roles? If so, how do we implement this into our web forms? Can you refer me to...
Hi,
Has anyone tried to set up a MasterPage with multiple Web.sitemap's based on a specific user profile? Actually, I've got the user type (or role) from a Session variable (currentUserType and currentUserName). I have 5 different user/role types (User, Manager, OffSvcsMgr, OffSvcsEmployee...
Hi,
I just had the same problem and I had to replace this html in the MasterPage source code:
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" StartingNodeOffset="0" ShowStartingNode="true" />
<br />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"...
Hi ca8msm,
Thanks for the links. Lately, I've been having real trouble finding anything useful on the MSDN site. Here's a star for all of your help!!!
Randy
Hi,
here is the class for the MaterialRateTable object:
public class MaterialRateTable
{
#region fields
private MaterialRateDataMapper materialRateDM;//see property
public int Id;
public string Description;
public double CostPerContainer...
Hi ca8msm,
"mrt" is a list of rows from the class object. So, I am wondering if I need to loop through the list of items (which I can do), but how do I bind these items to the GridView?
There are many examples of how to bind regular SQL and Access tables to a GridView, but I have yet to find a...
Yes,
Here's the error message I'm getting:
Server Error in '/Web' Application.
--------------------------------------------------------------------------------
A field or property with the name 'mrt.Id' was not found on the selected data source.
Description: An unhandled exception occurred...
Hi All,
I have a class object that I'm trying to bind to a GridView, but it simply doesn't work. It gives me this error message:
A field or property with the name "Id" was not found in the selected data source.
So......
Where is the proper place to bind the Gridview columns to the class...
Hello ALL,
I just installed ActiveSync 4.2 on my work computer, and it managed to wipe out the password I had embedded in my prior version (3.7). Does anyone know how to recover the old password, or is it gone permanently? If it's gone permanently, I guess I'll have to create a new device...
Hi Tammy,
You may want to use DSum in your report footer to recalculate the values from your 8 sub-reports. I wrote an FAQ on how to use DSum. It's called "Use DSum function to retrieve totals" (faq703-3066).
HTH, Randy
Hi,
For some reason, I am unable to get the child entries to work in a
horizontal Menu control. Is there a property that I've failed to set?
The menu entries are supposed to look like this:
Menu > Add Job Show Job
Show All Jobs...
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.