Ahoy shipmates
I'm developing an app for internal use and I want the logins and menu control (sitemap driven) display to be determined by membership of Active Directory groups
I'm familiar with forms authentication sites but this is the first AD one I've done
Now, based on what I've found on...
VS 2005 Management Studio
Since a pc rebuild, in the view designer, I now have to enter query parameters in american date format whereas it accepted UK format before
Any ideas how to change back to uk?
Thanks
Hi
VS 2005/ SQL Server 2005
I have a page containing gridview control which shows a product thumbnail image and an order qty which the users can chage using the standard edit/update/cancel
Each time the users update a quantity, all the product images are reloaded (they are stored in sql...
Hello
A SQL 2000 DB of ours contains thousands of photos of our customers' shops stored in image fields
Rec layout is something like rec_id, store_no, image_data
We need to create a cd containing all our photos, and include store_no in the filenames
Could anyone suggest a method for reading...
Hi
Using Ajax, is it possible to have a gridview control which allows user to click into cells and amend values without the clunky edit/update/cancel mechanism?
If so, a link to an example etc would be great, not finding anything useful myself atm
Thanks
Hi
In gridview when user clicks the update button, then clicks into a text field he wants to edit, the cursor is being positioned where he clicks inside the box.
Is it possible to make the cursor be positioned at the leftmost position when the user clicks on the box?
Thankyou
Hi
I have a query which takes 1 sec to return results when the WHERE clause is as follows
WHERE (FT.FT_BAD_TRAN=0)
AND (FB.FB_DATE BETWEEN '20080602' AND '20080608')
However, the query is to become a stored procedure with input parameters. When I declare & set variables for the date...
Hello
c# vs2005 / SQL 2005
We are putting together a routine to build & send xml files containing invoice data to one of our customers.
The customer has specified that a pdf of each invoice be included in the xml as MIME content.
We can create the pdfs easily enough, but any suggestions how...
Hi
A customer of ours has specified that we must supply invoicing information to them as as XML.
They have supplied a (very complex) DTD file which specifies the required format.
Our data is held in SQL 2000 databases. We also have SQL 2005 and Visual Studio 2005 (we use c#) at our disposal...
asp.net 2, sql 2000
Hi
Response.redirect is giving me some jip....
if (Context.User.IsInRole("Administrator"))
{
Response.Redirect("~/GeneralPages/StoresList.aspx",false);
return;
}
If I set breakpoint in page load event of the page being redirected to it is never reached...
asp.net 2, sql 2000
Hi
I would like to change the behaviour of my web app so that if the user closes the browser window & reopens it he has to login again. Currently his last page is displayed again which isn't the behaviour I want.
Is this something I can control via web.config?
TIA
asp.net 2, SQL 2000
Ive used the 'enable edit' feature of the smart tag in a gridview control. The row of my grid has 12 columns & only one is editable - a price field which is a money datatype.
When in edit mode the column becomes much too wide and appears in this format 0.0000
When not in...
Hi
Nice easy question I hope
I want to make a button visible or not depending if there are any rows in a gridview. I've got the following bit of code in page load but it only works on the second refresh of the screen for some reason. Needs to go in different event maybe?
if...
Hi
I've got a report which has been working ok
However, I need to capture some text input from the user running the report to display on the report itself. When I introduce a text report parameter the report stops returning any data.
Its the ony parameter, not linked to datasets. Same...
Hi
I have the following code in Page Load event to show overdue lines in a GridView with date in red...
for (int i = 0; i < GridView1.Rows.Count; i++)
{
if (Convert.ToDateTime(GridView1.Rows[i].Cells[7].Text)<= DateTime.Now)
{
GridView1.Rows[i].Cells[7].ForeColor =...
Hello mates
access 2003 adp project / sql server 2000
I have a form in datasheet view which shows a list of suppliers from a sql table. I have added an unbound checkbox so that users can select from the list and then click a button at the bottom of the form to send out an automated email...
Hello mates
Any ideas why this would produce #Error instead of 0 on my report? LPrice is zero on the rows displaying the error.
=iif((Fields!LPrice.Value <> 0) And (Fields!SPrice.Value <> 0) and (Fields!LPrice.Value < Fields!SPrice.Value) ,((Fields!SPrice.Value - Fields!LPrice.Value) /...
Hello mates
I have a linkbutton column in a gridview. It shows order numbers & I want to go to another page showing the order lines when one of the order number links is clicked
Ive used the following code but the value of Cells[0] is always blank. I think this would work if it were a normal...
Hi
I'm going through the painful transition from vb to c#, have pity :)
I have fileupload control which has following property containing filename complete with directories:
FileUpload1.PostedFile.FileName
I want to use just the filename and get rid of directories from the string
I thought...
Hi
asp.net 2
Could anyone suggest why when I place a button control on my forms they are appearing as dreary grey rectangles. At my previous employer when I placed button on a form it had rounded edges & shading effects.
Something is set during installlation of VS maybe?
Thanks :)
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.