Hi,
I am using dropdown lists. What I need is on the selection of one item in one dropdown list, the second dropdown list should get populated accordingly.
can anyone tell me how to do this in C# .net coding....
regards
kani
User Profile
Collapse
-
creating dependent drop down list in asp .net
-
This is the code I have written in class file.
The class name is Corporate.cs
using System;
using System.Data;
using System.Configur ation;
using System.Web;
using System.Web.Secu rity;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.W ebControls.WebP arts;
using System.Web.UI.H tmlControls;
/// <summary>
/// Summary description... -
How to insert the date in DB using the dataset
Hi
I am trying to insert the data in the DB(sql server2005) using the dataset. I was trying to insert the data using the stored procedures.The problem is I am unable to insert the 'date' in the DB.
It shows an error as "Cannot convert from 'int' to 'System.DateTim e' ". plz anyone help me if u know the answer.
Thanks & Regards,
kani.z -
Thanks for ur reply.
I am new to C# .net I don't know how to type cast? Can u tell me how to type cast with the example coding, then it will be very useful for me to understand better.
Thanks & regards,
kani.z...Leave a comment:
-
A casting error occured
I have created the Data access Logic component and when I execute the DALC an error occured like this "Cannot implicitly convert type 'x' to 'y'. An explicit conversion exists (are you missing a cast?) "
This error occured while I was trying to insert the records in the DB through the DAL component.
plz help me if anyone know the solution for this. Reply me as soon as possible, its very urgent....
Thanks... -
I am using the front end as VS .net2005, the language is C#
the back end is SQL server2005.
I have created the Stored procedures in sql and I want to access those SPs through DAL component.
For that I have added the dataset in C# website project, in that I have added the table from DB and connecting the DB by configuring the methods in the TableAdapter.
I am able to retrieve the data from the table but...Leave a comment:
-
I am using the front end as VS .net2005, the language is C#
the back end is SQL server2005.
I have created the Stored procedures in sql and I want to access those SPs through DAL component.
For that I have added the dataset in C# website project, in that I have added the table from DB and connecting the DB by configuring the methods in the TableAdapter.
I am able to retrieve the data from the table but...Leave a comment:
-
Creation of DALC using stored procedures
Hi Can anyone tell me how to invoke the DALC(Data Access Logic Component)
class using stored procedures in C# .net
I have created the DALC using stored procedure but I was unable to execute it.
Can anyone plz help me how to do this. Reply me as soon as possible its very urgent.
Regards,
kani.Z -
Thank you for ur reply.
How to invoke a DALC (Data Access Logic Component) class which uses stored procedure. Help me plz as soon as possible. Its very urgent.
Regards,
kani...Leave a comment:
-
Creation of DALC using stored procedures
Hi
I am getting an error when I insert the records to the DB in DALC using the stored procedure.
The error is like this "Object reference not set to an instance of an object"
It is very urgrent please reply me if anyboby know the solution for this.
Thanks in advance.
Regards,
kani.Z -
Regarding DALC Creation using stored procedures
Hi
I have created the DAL component using stored procedures but I am unable to insert,update and delete the records in the Database.
But retrieve is done as a whole and unable to retrieve a particular record using the Id.
No activity results to display
Show More
Leave a comment: