Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 51 to 75 of 133
Search took 0.02 seconds.
Search: Posts Made By: gaurav_jain2403
Forum: ASP.NET 2.0 Basics August 4th, 2007, 05:06 AM
Replies: 4
NaN
Views: 1,340
Posted By gaurav_jain2403
why dont you check the values before performing...

why dont you check the values before performing the divide function.

if (not Votes = 0 and not TotalVotes = 0)
Calculate = Math.Round(Votes / TotalVotes * 100)

Else describe in more detail...
Forum: SQL Server 2005 August 4th, 2007, 02:47 AM
Replies: 1
Views: 1,743
Posted By gaurav_jain2403
This line is incorrect:- ...

This line is incorrect:-
SqlDataSource1.UpdateParameters.Add("@myname", SqlDbType.NVarChar, na)

You should write it as follow:-
SqlDataSource1.UpdateParameters.Add("@myname",...
Forum: ASP.NET 2.0 Professional August 4th, 2007, 02:24 AM
Replies: 8
Views: 5,129
Posted By gaurav_jain2403
User is able to check more than one radiobutton...

User is able to check more than one radiobutton because each row in gridview is independent of other. If you want user to only select one radiobutton, you can use javascript.
Forum: C# August 4th, 2007, 01:57 AM
Replies: 11
Views: 2,098
Posted By gaurav_jain2403
What you want to do or check?

What you want to do or check?
Forum: ASP.NET 2.0 Basics August 2nd, 2007, 07:31 AM
Replies: 2
Views: 1,363
Posted By gaurav_jain2403
I think by copying the dll's from subfolder bin...

I think by copying the dll's from subfolder bin to parent (main) application bin folder, this problem can be solved.

For second problem of "~/", you can write "~/subdir1/subdir2/" or "~/subdir2/".
Forum: ASP.NET 2.0 Basics August 2nd, 2007, 07:16 AM
Replies: 2
Views: 1,875
Posted By gaurav_jain2403
If you want to do using javascript. You can do...

If you want to do using javascript. You can do it.

Suppose you open the window from parent as follow:
function func1()
{
var winForm = window.open('child.aspx');
}

and in child window,...
Forum: ASP.NET 1.x and 2.0 Application Design August 2nd, 2007, 07:09 AM
Replies: 1
Views: 726
Posted By gaurav_jain2403
I cannot help you much, but the drawback of using...

I cannot help you much, but the drawback of using datarelation in your asp.net code is that if there is any redundancy in the column you take as primary key of primary table, it will give runtime...
Forum: ASP.NET 1.x and 2.0 Application Design August 2nd, 2007, 07:04 AM
Replies: 4
Views: 15,459
Posted By gaurav_jain2403
It is running your code twice on clicking Ok,...

It is running your code twice on clicking Ok, because you have explicitly mentioned Form1.submit() in your code of adding the attribute. Also, it returns true, which again calls the server...
Forum: ASP.NET 1.0 and 1.1 Professional August 2nd, 2007, 06:42 AM
Replies: 3
Views: 1,423
Posted By gaurav_jain2403
But planoie, Is it possible that when someone...

But planoie,
Is it possible that when someone clicks on the folder on the System, our application realises that the folder is clicked..
Forum: ASP.NET 1.0 and 1.1 Professional August 2nd, 2007, 06:27 AM
Replies: 2
Views: 1,654
Posted By gaurav_jain2403
I guess you are using some static variables in...

I guess you are using some static variables in your code. Is it so?
Forum: ASP.NET 1.0 and 1.1 Professional August 2nd, 2007, 06:24 AM
Replies: 6
Views: 2,048
Posted By gaurav_jain2403
I think your code for ItemTemplate is not...

I think your code for ItemTemplate is not correct. You cannot write + sign there in commandArgument. Try writing it as follow:

<ItemTemplate>
<asp:ImageButton id="imgflag" runat="server"...
Forum: ASP.NET 2.0 Professional August 2nd, 2007, 05:31 AM
Replies: 1
Views: 901
Posted By gaurav_jain2403
When page is rendered back to the client, asp...

When page is rendered back to the client, asp controls like radiobuttonlist and checkboxlist(which are not available in HTML controls) do not have same id and they are rendered as HTMl so...
Forum: ASP.NET 1.0 and 1.1 Professional January 19th, 2007, 11:10 AM
Replies: 1
Views: 993
Posted By gaurav_jain2403
Restricting the user from opening pages

Hi friends,
I am making a School Management System in Asp.NET and C#. I want that no one will be allowed to copy the url of the page and paste it and accessing that page. What should I do to...
Forum: ASP.NET 1.0 and 1.1 Professional January 6th, 2007, 09:01 AM
Replies: 1
Views: 807
Posted By gaurav_jain2403
Are you using Link button in Template column??

Are you using Link button in Template column??
Forum: ASP.NET 1.0 and 1.1 Basics January 6th, 2007, 08:58 AM
Replies: 7
Views: 1,014
Posted By gaurav_jain2403
I think the problem is in this line : Dim...

I think the problem is in this line :
Dim custname = CType(Args.Item.Cells(1).Controls(0), TextBox).Text

Change this line to :
Dim custtextbox as textbox = CType(Args.Item.Cells(1).Controls(0),...
Forum: C# January 6th, 2007, 01:09 AM
Replies: 3
Views: 1,507
Posted By gaurav_jain2403
I don't fully agree with you. I have seen in some...

I don't fully agree with you. I have seen in some web pages that when I push the "BACK" button, simply no page displays(I guess that it means no previous page is cached there). There must be some...
Forum: C# December 21st, 2006, 08:51 AM
Replies: 0
Views: 651
Posted By gaurav_jain2403
Chat Application problem

Hi friends,
I am creating a chat application in C# as any other Instant Messenger. I have added WebCam to it. But I am stucked in it when I wanted to attach microphone to my application. I searched...
Forum: C# December 15th, 2006, 05:38 AM
Replies: 1
Views: 1,475
Posted By gaurav_jain2403
Audio/Video Chat Problem

Hello, I am creating a Chat application like any other Instant Messenger like Yahoo messenger. I searched a lot on internet and got success in making an Chat application(working on LAN) but things...
Forum: C# December 15th, 2006, 05:32 AM
Replies: 1
Views: 2,415
Posted By gaurav_jain2403
You can do as follow. In the Main Form you write...

You can do as follow. In the Main Form you write these lines in InitializeComponent() method:
MainMenu mainMenu1 = new MainMenu();
MenuItem mItem1 = new MenuItem("&Command");...
Forum: C# December 15th, 2006, 04:59 AM
Replies: 2
Views: 2,778
Posted By gaurav_jain2403
Try something like this: string login =...

Try something like this:

string login = (string)Sesion["User_login"] in the 2nd page i.e. orderlist.aspx

Gaurav
Forum: .NET Framework 1.x December 9th, 2006, 04:33 AM
Replies: 2
Views: 1,627
Posted By gaurav_jain2403
Thank you for your help. The problem has been...

Thank you for your help. The problem has been sorted out.
Forum: .NET Framework 1.x December 9th, 2006, 01:55 AM
Replies: 2
Views: 1,627
Posted By gaurav_jain2403
DataGrid Editing Problem

Hi friends,
I am using a datagrid in my application. I want that one column("ID") cannot be edited by anyone. The design of the Datagrid was as follow:

<asp:DataGrid id="DataGrid1" runat="server"...
Forum: SQL Server 2000 August 3rd, 2006, 01:32 AM
Replies: 2
Views: 15,373
Posted By gaurav_jain2403
Thank you Som. I have made the BACKUP but when I...

Thank you Som. I have made the BACKUP but when I restore the database after inserting rows and then deleting one of the row, all new data is lost. I am new to this situation. Please tell me in detail...
Forum: SQL Server 2000 August 3rd, 2006, 12:57 AM
Replies: 0
Views: 1,530
Posted By gaurav_jain2403
Backup Database

Hello friends,
I am creating BACKUP of my database. Now, after creating it, when I delete something from tables, it comes back in tables after using RESTORE. But when I insert new data in it and if...
Forum: SQL Server 2000 August 3rd, 2006, 12:51 AM
Replies: 5
Views: 1,113
Posted By gaurav_jain2403
Thank you again. I will use CHECK for it. ...

Thank you again. I will use CHECK for it.
Please tell me that among trigger and rule, which is faster and which is better performance-wise.

Gaurav Jain.
Showing results 51 to 75 of 133

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.