Hi.. I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg … |
|
Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values? |
|
Hi, I have a 2 text boxes tbox1 and tbox2 now i want to populate tbox2 when a value is entered in tbox1...how this can be done? note: Supplier Table tbox1: SuppilerID tbox2: SupplierName..Should populate when supplierID is entered. How this can be done. As I am using MSAccess db... … |
|
hello friends... i have done it using FileUpload1.PostedFile.FileName .... but the problem is everything is working fine in IE ....but not in mozilla...safari.... actually i want to get the full path of the selected file...not the file name only.......... thank you..... |
|
hai i have used adrotator in top of the page and left i have link buttons which is in panel . Then right i have iframe..tat iframe shows the page which is clicked by link button. but my adrotator picture is not changing.but when i refresh the page its changed.. … |
|
I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I … |
|
Hay Can some one do me favour:'( I need complete code for Check/Uncheck all items in checkboxlist using asp.net in serverside. I kept one checkboxlist and bound data source to it in runtime and using two linkbutton to check or uncheck items in checkboxlist.i need to reterive data from selected … |
|
hi i have hundreds of records in my gridview and im showing 10 records per page.... i have upto 5 columns and i want to sort records records how will i do it? |
|
we are creating an aptitude test software. here is the problem we are encountering.. help wud be appreciated if (RadioButtonList1.SelectedValue == obj[2].ToString() || RadioButtonList11.SelectedValue != "") { int corr_ans = Convert.ToInt32(Session["corr_ans_count"]); corr_ans += 1; Session["corr_ans_count"] = corr_ans; } else { int wrong_ans = Convert.ToInt32(Session["wrong_ans_count"]); wrong_ans += 1; Session["wrong_ans_count"] = wrong_ans; … |
|
hi i use asp.net with vb.net i do search form i put result in placeholder how i can create dynamic page such that : each page include 4 results only |
|
How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code: [code] <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" runat="server"> <asp:ListItem>Go swimming</asp:ListItem> <asp:ListItem>Play sudoku</asp:ListItem> <asp:ListItem>Practice piano</asp:ListItem> <asp:ListItem>Play solitaire</asp:ListItem> </asp:DropDownList> <br /> <br /> <asp:Button … |
|
I am adding rows to a runtime table as following" dtRecords.Rows.Add("RecordingDate", typeof(DateTime)); the date is stored as long datetime but I want to view the date date only in thos runtime table: the date appears as following: 0206/2008 12:00:00 am but I want it to appear as following:0206/2008 i.e,the date … |
|
Hi All, i want send sms to any mobile in india through my application.i tried using webservice in weservicex.net(not sure?) .bt it's not working.i dont want pay money as this is is very small project.so can any one plz help hw to send sms.any free gateway providers. thanks in advance. … |
|
[code] SqlCommand cmd = new SqlCommand(); cmd.Dispose(); System.GC.Collect(); cmd.CommandText = ""; cmd.Dispose(); [/code] can please explain why this code is not showing error....... |
|
Hi, I have a question, I would like to know how can I add pictures to my datagrid? On my DB I have all images path ex.(/images/image001.jpg), is there a way that I can display that picture in the datagrid. Thank You Ennio Bozzetti |
|
I have 1 data gridview. in that first is ID column . for that i assign a auto index number with sql server (isidentiyt). the next colomn is response id, for this column also i want autonumber id like 1,2,3,4..... . i see we cant assign to index identity with … |
|
Hey all, guys I hav to use calendar control in a data grid.. But the events for tha calendar(selection change n others ) are not getting fired... i am using datagrid_itemcommand and i am searching for the command name but the calendar control doesnt have command name. how i can … |
|
am having trouble changing some data fields within this form, and am wondering if anyone can help me. this is the coding. this is in asp.net c# the last paragraph (child care type onwards) needs to be set to have a dropdown list containg the following information crèches toddler groups … |
|
Hi, I have two combo boxes in an aspx page. [code] <asp:DropDownList ID="drpCategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" AutoPostBack="True" OnSelectedIndexChanged="drpCategory_SelectedIndexChanged" OnTextChanged="drpCategory_SelectedIndexChanged"> </asp:DropDownList> <asp:DropDownList ID="drpSubcategory" runat="server" Font-Names="Verdana" Font-Size="8pt" Width="138px" > </asp:DropDownList> [/code] I need to populate the drpSubcategory depending on the value chosen from drpCategory. As you can see i've added drpCategory_SelectedIndexChanged … |
|
hi all. ok i have been able to create an error message - if the user tries to delete a row which has not been selected first; but it still deletes from the gridview... [CODE]void DeleteRowButton_Click(Object sender, EventArgs e) { LinkButton btn = sender as LinkButton; GridViewRow row = btn.NamingContainer … |
|
hi i use a gridview control with a template column which contains textbox as itemtemplate. i'm trying to change the textbox's border color in runtime like this: [CODE=asp]((TextBox)MyGrid.Rows[i].FindControl("txtEnter")).BorderColor = Color.Red;[/CODE] but it doest change anything. what am i duing wrong ? |
|
I am currently working on a project where i need check whether a date that is inputted is valid. i know how to use this using repetitive if functions. for example; to check the month you do if (month <1 || month >12) Then to check the day which is … |
|
hi, there, im doing a small program and the output should be as below @ ** @@@ **** @@@@@ Ive coded it, but it gives different answers..please help.the code is as below. #include <stdio.h> int main() { int i,j,k,m,a,y; for(k=1;k<=3;k++){ for(j=1;j<=5;j++){ for(i=1;i<=j;i++){ printf("@"); } printf("\n"); for(i=1;i<=j+1;i+=1){ printf("*"); } printf("\n"); } … |
|
I am using the login control in ASP.NET. When I run the program an error msg "Incorrect syntax near the keyword 'User' " appeared in the debugging mode. I have no idea what is the problem. Anyone know what is wrong with my code? [CODE] Protected Sub Login1_Authenticate(ByVal sender As … |
|
hi, there... im having problem with this codings. these codings are meant for login purpose. i dont knw where ive gone wrong. are these the only codes, or are there any other codes that ive not included... please help [code=asp.net]<%@ Page Language="VB" %> <script language="VB" runat="server"> Sub btnLogin_OnClick(Src As Object, … |
|
Hei, Im using ASP.NET as Front end and SQL Server as Backend. the codings are.. [code=asp.net]imports system imports system.data imports system.data.sqlclient [/code] After inherits...... some connectin codingd are there [code=asp.net]dim con as SqlConnection dim adp as SqlDataAdapter dim com as SqlCommand dim data as Dataset[/code] after the connection codings in … |
|
How can i set a text box's text to this format '[COLOR="Green"]0,000,000.00[/COLOR]' rather than '[COLOR="Red"]0000000.00[/COLOR]' ???' Thanks |
|
I am currently working with onlize quiz. Is it possible to disable CTRL, ALT, other keys and status bar? My concern is to secure my page such that nobody can copy any data displayed in the page. How can I do this in ASP.Net using C# as my script? |
|
Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields … |
|
hi, i have used gridview in asp.net 2005 wit c#.i need to update my datas.in tat i hv placed dropdownlist,checkbox controls.but its not updating the datas.when i edit the row,we have dropdownlist but not tat database value.so when i edit the row the database value should be in dropdown list.when … |
0 Reputation Points