13,153 Topics
![]() | |
{ conOOC.Open(); SqlCommand cmdDisplay = new SqlCommand("SELECT * FROM [Course] WHERE ([CourseID] = @id)", conOOC); cmdDisplay.Parameters.AddWithValue("@id", ddlCourseList.SelectedValue); SqlDataReader dtrDisplay = cmdDisplay.ExecuteReader(); while (dtrDisplay.Read()) { GridView1.DataSource = dtrDisplay; GridView1.DataBind(); } this one is depends on user select which items on the dropdownlist, once they have selected should display the gridview, but … | |
Good evening guys, i just wanna ask some advice on how will i update the time in DateTime that is displayed on my web page? Thank you in advance | |
<asp:TemplateField HeaderText="Interview Date"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <ajax:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1"/> </EditItemTemplate> </asp:TemplateField> this gives me an error, when i click on EDIT button in gridview, even ajaxtools are installed and work when i use them simply, Could not find any resources appropriate for the specified culture or the neutral … | |
Hi, I have 2 datagridview. 1 to show TANTOU, TOTAL SUM of DURATION and COUNT of event happened. Another 1 is to show TANTOU, AVERAGE of DURATION and COUNT of event happened. I have use LINQ function to get the result. But how can i combine it so that i … | |
i am having problem see, in gridview , i am displaying username, email and shortlist(checkbox), when i click on UPDATE button , then if checkbox has been ticked (selected) then it send email to person , (email address picked from same row) but i want to send interview time/date to … | |
i m working in job poratl ,i want to show jobseeker resume content in jobseeker profile .how shall i find out this problem please someone solve my problem give me any solution | |
hi, my project involving ASP.net & i write a code uisng VB.net. i have design few checkbox in ASP.net and would like to write class function in class file. can anyone guide me how to create and call the function from the class to the page. i have create a … | |
i am filling gridview with with tblJobADv columns: userid, advid (f.k), remarks now i actually want to select advTitle from tblJobAdv from which i already imported foreignkey advid , and want to appear it next to advid column in gridview, so how i know the query , SELECT advTitle from … | |
i m working in job portal ,i want to add progress bar percentage increase with updation of jobseeker profile .please any give me any solution fo this problem | |
i want to grab "DataValueField" of dropdownBox and want to use it in INSERT statement , so how ? i have already filled my Dropdownbox in grid view now want to get DataValueField and using it in insert statement , how ? | |
private void getStudentInformation() { SqlConnection conOOC = new SqlConnection(ConfigurationManager.ConnectionStrings["OlympiaOpenCollegeDatabaseConnection"].ConnectionString); SqlCommand cmdSelectStudent = new SqlCommand("SELECT l.LearnerID, l.Name, l.Email FROM Learner l, Registration r WHERE l.LearnerID = r.LearnerID AND r.RegistrationID = @registerID" , conOOC); SqlDataReader dtrStudent; conOOC.Open(); cmdSelectStudent.Parameters.AddWithValue("@registerID", "R001"); dtrStudent = cmdSelectStudent.ExecuteReader(); while (dtrStudent.Read()) { lblStudentID.Text = dtrStudent["l.LearnerID"].ToString();[Note: Error Occured] lblStudentName.Text = … | |
Hi, I have code that increments values protected void IncrementOccur_Click(object sender, EventArgs e) { if (Page.IsValid) { //build object to insert occurrance Ad a = new Ad(); a.AdID = Convert.ToInt32(ddlAddtype.SelectedValue); a.AdRef = Session["SessAppRef"].ToString(); a.AdOcc = 1; try { //insert advert object into db AdManager.InsertAdOccRef(a); //rebind the gridview GridViewHistory.DataBind(); //reset the … | |
I am trying to implements a Silverlight object into my ASP.NET Webform due to assignment requirement. so i've decide to implements photo into the webform, but i found a problem which is the JS runtime error.. but i don't where do i code wrong because i am follow the guideline … | |
Assume that i have 2 .aspx page (From.aspx and To.aspx) and i have a hyperlink control inside the From.aspx which navigate to To.aspx and i used javascript to open a new window.. so now i have a Label inside From.aspx which have text = 1000. and i want pass it … | |
woww ! but i am wondering that is it possible to have two way communication between sandbox and LOCALHOST, i know that its possible to send parameters to sandbox via url, easy but is it possible to get parameters back from sandbox in LOCALHOST ?confirmation of payments etc ? | |
I want to use hierarchical url for my application.How can i create?How must i save database in slug field?As like parent/parent/productname (such as catch-all) or only productname? For example my database hierarchy as follow, Product table | |--> Electronics | |--> Television | |--> Led Tv |--> Lcd Tv |--> … | |
How to make the dot to be click once and not repeat the dot in calculator ? Protected Sub btnzero_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnzero.Click txtentr.Text += btnzero.Text End Sub | |
for testing purpose i integrated , paypal sand box in my asp.net code, i am doing onlline car shop project now lets suppose , Customers visits my website, and he has to pay before entering my website, so for that purpose i just used PAYPAL sand box with merchant and … | |
I have a drop down menu that when the user selects from it brings up a panel that will have two buttons, an arrow up and an arrow down. This is so the user can record against the option chosen how many times it has been done. I need code … | |
Microsoft's .NET framework is one of the best technologies for creating and building robust desktop and web applications. ARC Infotech has developed and deployed ASP, ASP.NET and VB.NET software solutions for clients worldwide. Past projects range from small websites to enterprise applications used by hundreds of users simultaneously | |
hi If you can use Plus a = new Plus(); a.PlusID = Convert.ToInt32(dropdownPlus.SelectedValue); a.PlusNum = 1; to add a new object and assign a with variable vaules. How can you update this object? Basically I have a recording system and it allows users to use arrow buttons to add or … | |
I need help with an web application . I want to automaticallly update my data only one time a month, without using button just from page load.. I'm waiting your answer... | |
i have a barcode 41/3/100 , 100 will be saved in data base when i scan barcode with scanner it will read 41/3/100 when i click the button how should i search the record only with 100 ???? help | |
Does anyone know or have a source code for calculating Zodiac or Star sign using a given date of Birth Thanks in Advance | |
I`ve done all the work and the numbers appear in the textbox, but when I press equl it does not give the result! Protected Sub EqlBtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles EqlBtn.Click If txtentr.Text.Length > 0 Then Select Case Vals Case 1 ' txtentr.Text = Store / … | |
Hello Community, I would like to know if there is a way to use augmentations on a visual basic.net program? Eg. "ProgramName.exe Command" And i mean on my vb program so i could use a commandline using cmd to do something on my program. Please Help. | |
I want to dynamically connect a database file(may be MS Access/SQL/Oracle). how can i do that? To make it l'll simpler I want GUI through which user chooses a DBfile and connects backend. | |
Hello there, I really need help ASAP. A user has two students(maybe more) where he need to complete marking the score sheet for the students. So, I have a score sheet where the user will insert their id in the textbox and then it will display the first studentName, studentID, … | |
Hello guys, I wonder if some of you can help me out with this. Im working on an application in VWD 2010 with C#. I wonder how can I save like 8 multiline textboxes into a Database. Where every single line of this textboxes is a new row in the … | |
Hi everyone, Currently for a university project I am building a server that can send notifications to a mobile device. Part of the project involves building a front end where I can configure everything for the server - updates to send, rules and so on. On the front end I … |
The End.