Forum: ASP.NET Mar 25th, 2008 |
| Replies: 5 Views: 1,598 For your kind information on SelectedIndexChanged events fires only when index of item changes. it wont fires if there is only one item in drop down.
Permant Solution
if you realy want to achive... |
Forum: ASP.NET Mar 25th, 2008 |
| Replies: 4 Views: 2,790 Please write the code
Button1.Attributes.Add("onclick", "window.close();");
page Load Event. Remove the rest of the things. if you still getting error send you aspx,aspx.cs page i will guide... |
Forum: ASP.NET Mar 25th, 2008 |
| Replies: 4 Views: 2,790 Hi
please write the following code alone Button1.Attributes.Add("onclick", "window.close();");
Remove rest of the things
Regards
razool |
Forum: ASP.NET Mar 25th, 2008 |
| Replies: 2 Views: 4,051 Hi ,
What you are going to do is absolute wright.
before that pls check the global.asax.cs file whether the class has inherits with System.Web.HttpApplication class. more over check the class... |
Forum: C# Mar 24th, 2008 |
| Replies: 6 Views: 1,578 You have declared the variable
int regHours,ovtHours in GetInfo. the scope of the variable is upto the function getinfo. but you used the same variable in the function Calculator.
Inorder to use... |
Forum: C# Mar 24th, 2008 |
| Replies: 8 Views: 13,429 please letme know you finding difficult to retrieve a datarow |
Forum: C# Mar 24th, 2008 |
| Replies: 8 Views: 13,429 Let Assume that your firstrow funcation returns a row of an employee Table
Retrive the records
int c1 = Convert.ToInt32(dr["EMPID"]);
string c2 = Convert.ToString(dr["EMPNAME"]);
double c3... |
Forum: C# Mar 24th, 2008 |
| Replies: 8 Views: 13,429 For Retrieving records from data row use the following code
where ds is the dataset
foreach(DataRow dr in ds.Tables[0].Rows)
{
c1 = Convert.ToString(dr["ColumeName1"]);
... |
Forum: C# Mar 24th, 2008 |
| Replies: 8 Views: 13,429 Hi Can you please provide me source i will guide to solve it |
Forum: VB.NET Mar 23rd, 2008 |
| Replies: 3 Views: 3,235 HI,
use xmldocument object to load the xml file, then traverse into the the xmlnode and read the element value
Regards
razool |
Forum: VB.NET Mar 23rd, 2008 |
| Replies: 3 Views: 3,235 hi
You should use "asp:FileUpload" control
in asp.net 2.0 or ordinary input control with type file in asp.net 1.x insted of filedialog control
Regards
razool |
Forum: ASP.NET Mar 23rd, 2008 |
| Replies: 5 Views: 3,891 Hi
you shouldn't organized global.asax in script folder.
global.aspx should be resides in the root directory of you asp.net application. more over there should be only one global.asax in... |
Forum: C# Mar 22nd, 2008 |
| Replies: 6 Views: 3,365 Please convert the hours to integer
ie Replace string hours = Console.ReadLine(); to
int hours=Convert.ToInt32(Console.ReadLine());
change the datatye numberofhours,weeklypay to int
i... |
Forum: ASP.NET Mar 22nd, 2008 |
| Replies: 5 Views: 3,812 Please do the following
In Aspx page write the following
<script language="javascript">
function MyAlert(var msgStr)
{
alert(msgStr);
}
</script> |
Forum: ASP.NET Mar 22nd, 2008 |
| Replies: 5 Views: 3,891 can you please send the error snap? |
Forum: ASP.NET Mar 22nd, 2008 |
| Replies: 5 Views: 3,891 Please Organize the web.config and global.asax in the same folder
Regards
razool |