Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: Sunnys
Forum: ASP.NET 2.0 Basics March 30th, 2007, 06:53 AM
Replies: 3
Views: 1,130
Posted By Sunnys
just use while(MyReader.read()) { ...

just use
while(MyReader.read())
{
lblName.text=MyReader.GetString(0);
}
this will do
Forum: ASP.NET 2.0 Basics March 28th, 2007, 06:18 AM
Replies: 1
Views: 1,035
Posted By Sunnys
use sqlconnection connection=new...

use
sqlconnection connection=new sqlconnection();
connection.ConnectionString = ConfigurationManager.ConnectionStrings["name"].ConnectionString;

here name will be the name key of web.config...
Forum: ASP.NET 2.0 Basics March 19th, 2007, 02:47 AM
Replies: 1
Views: 951
Posted By Sunnys
hi U can make template column for your link i...

hi
U can make template column for your link i grid view. Use the GridView.OnRowCommand Method.
The RowCommand event is raised when a button is clicked in the GridView control use it to redirect to...
Forum: C# March 14th, 2007, 07:01 AM
Replies: 2
Views: 4,422
Posted By Sunnys
hi this exception come due to the trust level...

hi
this exception come due to the trust level set to default "Medium" in the machine.config file of server.
this link will help u...
Forum: ASP.NET 2.0 Basics March 14th, 2007, 06:48 AM
Replies: 2
Views: 933
Posted By Sunnys
hi as u want the default value of dropdown list...

hi
as u want the default value of dropdown list u can use on the form load
session["test"]=ddlabc.selectedvalue.tostring() so that if it has a value will be assign to the session variable.
hope...
Forum: ASP.NET 2.0 Professional March 14th, 2007, 04:13 AM
Replies: 0
Views: 1,375
Posted By Sunnys
Getting System.Security.SecurityException

Hi
I have a site which is hosted on the shared hosting environment. It is develop in ASP.Net 2.0 .It was working fine on my development & test server but now it is giving exception like...
Forum: ASP.NET 1.0 and 1.1 Professional March 12th, 2007, 05:16 AM
Replies: 1
Views: 1,113
Posted By Sunnys
hi U can use session variable in child...

hi
U can use session variable in child window.Can u tell what code ur using for that so that it will we more clear were ur making mistake .
Forum: C# March 1st, 2007, 12:05 AM
Replies: 2
Views: 1,985
Posted By Sunnys
hi its possible u can do it by javascript...

hi
its possible u can do it by javascript window.open(); u can open another page like popup window .
Forum: ADO.NET January 13th, 2007, 04:31 AM
Replies: 1
Views: 984
Posted By Sunnys
one way is to set AutoGenerateColumn to false...

one way is to set AutoGenerateColumn to false then define the column u want to show.
or hide the column which u dont want.

hope this help
Forum: ASP.NET 2.0 Basics January 13th, 2007, 02:59 AM
Replies: 2
Views: 5,902
Posted By Sunnys
hi, well u can do this in two ways first ...

hi,
well u can do this in two ways
first include
using System.Net;
using System.Net.Mail;
and then


System.Net.Mail.MailMessage objMailMessage = new System.Net.Mail.MailMessage();...
Forum: ASP.NET 2.0 Professional January 11th, 2007, 08:07 AM
Replies: 1
Views: 3,041
Posted By Sunnys
Problem in HttpRequest?

hi,
My problem is i am getting error "This stream does not support seek operations" at System.Net.ConnectStream.get_Length().
i am working on HttpWebRequest object .

code is [xx(]...
Forum: C# 2005 December 27th, 2006, 02:36 AM
Replies: 2
Views: 1,439
Posted By Sunnys
hi just add line below dgVendor.DataBind(); if...

hi
just add line below dgVendor.DataBind(); if u r not using it

hope this will help u
Forum: C# 2005 December 27th, 2006, 02:32 AM
Replies: 1
Views: 4,851
Posted By Sunnys
hi hope this may help u? ...

hi
hope this may help u?
http://msdn2.microsoft.com/en-us/library/ms178296(vs.80).aspx
Forum: ASP.NET 2.0 Basics December 27th, 2006, 12:53 AM
Replies: 4
Views: 44,404
Posted By Sunnys
if u know which value to select use this ...

if u know which value to select use this
dropDownList1.ClearSelection();
DropDownList.Items.FindByText("Value").Selected=true;
Forum: C# 2005 December 26th, 2006, 09:04 AM
Replies: 1
Views: 2,089
Posted By Sunnys
at design time it has property of tooltip & on...

at design time it has property of tooltip & on run time use btnSave.ToolTip="";
Forum: ASP.NET 2.0 Professional December 26th, 2006, 08:54 AM
Replies: 1
Views: 897
Posted By Sunnys
hi, which version of vs r u using in vs2005...

hi,
which version of vs r u using in vs2005 there is master pages which can help u

think this will help
Forum: ASP.NET 2.0 Basics December 26th, 2006, 08:45 AM
Replies: 2
Views: 1,055
Posted By Sunnys
hi ur code is right ru using the same line ...

hi
ur code is right
ru using the same line
Dim cmd = New SqlCommand("SELECT CategoryID, CategoryName, Description FROM Categories", sqlconnection)
then try
dim cmd as sqlCommand=New...
Forum: ASP.NET 2.0 Basics December 26th, 2006, 08:25 AM
Replies: 2
Views: 1,608
Posted By Sunnys
hi, it dose not required break statement. when...

hi,
it dose not required break statement. when compiler find condition1==true it will go inside if statement otherwise go to else and execute the statement & come out.
Forum: ASP.NET 2.0 Professional December 26th, 2006, 06:52 AM
Replies: 1
Views: 964
Posted By Sunnys
hi, u can directly write this code on pageload...

hi,
u can directly write this code on pageload use this
DropDownList1.Items.FindByText(Label11.Text).selected=true;
it will help
Showing results 1 to 19 of 19

 


All times are GMT -4. The time now is 10:45 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.