Hi,
I have an array like this:
string[3] arr;
arr[0]="ck1";
arr[1]="ck2";, arr[2]= "ck3"..
Now In my aspx page I have 3 checkboxes. Now I want to set the Checkbox text from the array arr values (for the first checbox text as arr[0]. like this) instead of setting the text while declaring...
Hi,
I have a Gridview which contain the 2 columns first column is textbox: ID and second column is the Label for Name. Initially I am loading data into the Gridview from database and the Textbox for ID is in editable mode only. With one save button click I am updating all rows into database...
Hi,
I have a Gridview. I am adding new row to Gridview with a button click which is outside gridview. User can add as many rows and I need to update all the rows with one button click. The user add row to gridview and enter some information in the new row and again when he adds new row the...
Hi,
I have a Gridview and one button ADD which will insert new row to Gridview and is outside of Gridview. Gridview contain one button DELETE column which is used to delete that row from gridview.
When the Delete button is clicked I want to delete that row For this I am doing like this...
Hi,
I have defined the User control which containg one label and textbox.
<asp:Label id=”xx” …>
<asp:textbox id=”name” runat=”server”..>
In the user control class I am defining like this:
Class us: System.Web.UI.UserControl
{
Public string setname
{
Get
{
Return name.text;
}
Set...
Hi,
I have the wizard control. O n each Wizard step I have put some code next I converted that wizard to templates like the below:
</WizardSteps>
<StepNavigationTemplate>
<asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False"...
Hi,
I have a gridview User enter values into rows and with one button click I Want to save all data to Gridview. I am able to save all data from the Gridview to Database with one click.
Here my problem is :
On the Page_Load I am getting the data from Database. And storing it in the Data Table...
Hi,
My Provider is System.Data.OracleClient. I need to use the OracleTransaction with Enterprise Library Data Access Application Blocks. With out DAAB we can write Like this:
OracleConnection con=”…”
OracleTransaction tr=Con.BeginTransaction(..);
With DAAB we have to write like this:
Database...
Hi,
In my application I am having two parts one is user part and second one is Admin part.
In user part I am using so many controls like Panel, Wizard, Gridview, Textboxes, Labels.. to enter data. In my Admin part I am using the same screens that user used to enter data. In Admin part I am...
Hi,
Can you explain me a bit clear about these two lines:
when adding controls to a page you must add them in the OnInit(). Do custom controls contain a similiar event?
this event must be added everytime, does your control check of postback?
Hi,
I am designing the custom control which contains a Panel. Panel header row contains some text, Imagebutton. That text and text for image button is passed through the Properties. For the Image button I need to add the click event when the user clicks on Image button I need to transfer to...
Hi,
In order to handle the error i.e page cannot be dsplayed when we upload file size more than 4 mb using Fileupload control: Iam writing the following code in Global.asax file:
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
//...
Hi,
I have Gridview to enter some details by user. First user enters one row, in that row last column I need to show 'Add another emp' link button to add another row to gridview. if he clicks on add another emp we need to add new row to gridview and show that 'Add another emp' in the newly...
Hi,
I need to implement the custom control for the Collapsible panel that means when we click on panel header it needs to be expanded or collapsed. For this I am writing the code like this:
http://www.codeproject.com/aspnet/collapsiblepanel.asp
Here I am creating the three table cells...
Hi,
In my application I have one file upload control. When the user selectes a file to upload and when he clicks on Attach button I need to show him the file name of the file he selected to upload and also show the Remove link button after the file name. In this case I need to generate link...
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.