13,153 Topics
![]() | |
guys i need help i have a programming logic test for a job and i dont know what to expect. what can i expect what how can i prepare for this test. if i past i will be trained about the NET.FRAMEWORK. HELP ME GUYS | |
whenever i delete, insert or update my datasource, gridview does not refresh. However, when i manually refresh my page, then it does. How to make it such a way that it refreshes by it's own whenever I insert,delete or update anything from my datasource. [B]P.s[/B]: DataBind() method is not working | |
Hello All, I have a web application with master page. master page has accordian (vertical) menu with favorites section where user can drag menu items dynamically. user has to press 'save' button to save these newly dragged items. My problem is after pressing 'save' button, these control's do not render … | |
Hey guys, I'm not very familiar with asp.net (Doing this in c#) or session cookies for that matter, just the basics. Trying to store a list of items in a session cookie, then when needed, pull those items back out as a list to then use them in a MS … | |
Imports System.Windows.Forms Partial Class ExisitingApplication Inherits System.Web.UI.Page Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If Me.txtLastN.Text = "" Then Dim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK) End If 'Define connection string with datasource Dim str As String = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString 'Define sql … | |
I'm trying to make a hit counter. I have it working but when I add it to my website, I get a web config. error... <%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.IO" %> <script language="VB" runat="server"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e … | |
Hey guys, still working on creating some sort of shopping basket and have decided to try using session cookies. I can populate the cookie with at least 1 entry, but either can't seem to convert string <> arraylist correctly or am working with cookies incorrectly. I'm using asp.net/c# and am … | |
how to get specific row values from asp:repeater and sent that specific row data to another repeater on another page.can any one have any idea or any type simple code related to it from that we can take idea your sincer regard Mian Sahib Jan | |
Good Afternoon. I am using ms VWD 2010 Express with vb.net 2010. I have an Access 2007 database with a table called Members. Members has 10 columns. The primary key is HouseNumber & StreetName. The problem is using Parameters in the Sql Update command. I use parameters to read the … | |
Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in … | |
I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method … | |
how to pass the value of one webpage to another at same project i mean me have to webpage one have item and the second for a cart mean to add these item to the cart on one click.me have the following control in item webpage image,lblName,lblPrice,lblQuantity me want to … | |
Hello All, I have one webbrowser control and I took a dependency source property from the Internet and binded the same to my string Url. I took this dependency property because .Net doesn't lets you bind the Source property to a string datatype and only Uri datatype. Now I am … | |
How to show/Hide a content page according to user login according to database value | |
Hi, I have an drop downlist whic contains the products and a textbox for quantity. when i am selecting the dropdownlist and write the quantity value in the textboxes and click the Button1 textboxes are dynamically generating in the placeholder with labels according to quantity but when again i am … | |
i have four columns in a gridview .Every field is a template field with checkboxes.I have a button. when i check the check boxes and store it in database the checkbox value is storing. but after clicking the button the checkboxes unchecked. how to make the checkboxes checked . public … | |
Hi Everyone, i have created a role page in which i can create roles and whatever roles i have created is stored in database and a gridview. In that gridview an edit button column is there. When i am clicking the edit button another page known as permission page of … | |
I all as anybody tried, passing a pdf tha is in memory stream and so it directly on a div, without the creatio od a file?? Best Regards | |
I have a placeholder control where i have added the files from my folder. I have also binded a check box with each file How i can download the files if checkbox is clicked. string strDir = Request.QueryString["d"] == null ? FileBrowerProperty.IntialPath : Request.QueryString["d"]; //read the directory DirectoryInfo DirInfo = … | |
This is my code am getting the result as byte array. i want to print this byte array without saving as pdf in system. kindly note this is web application not window application Page p = new Page(); string fname = string.Empty; string filetype = string.Empty; ReportViewer rptvw1 = new … | |
I have a button which make it add data to accees database,but i want to another button which will make export data from access to excel. here is my button : try { string cmdText = "Insert INTO data(Name,Mail) Values(?,?)"; db_conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Alpozkanm\\Documents\\Visual Studio 2012\\WebSites\\IntegratedSubscribeSystem\\veri.accdb;Persist Security Info=False;"); OleDbCommand … | |
Good Afternoon. I submitted a question a couple of days ago under the article name: Change asp:menuitem properties from other programs. I'm working with the following web pages - Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb JorgeM answered my question and showed me the code to use. It worked great. Dim navMenu As Menu navMenu … | |
I want to print byte array using print() in javascript. Is there any way to implement this..? | |
Hi everyone, I'm new here and is in need of some help. I'm trying to complete my project, however I'm stuck at writing the data from the sql into the vb.net/asp.net gridview. Was never good at database to start with and I had never learnt how to query from VB.NET. … | |
Good Afternoon. I'm working with the following web pages using ms vwd 2010 express: Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb I have the following code in the Login.aspx.vb program: Dim WelcomeLabel As New Label WelcomeLabel = CType(Master.FindControl("WelcomeLabel"), Label) WelcomeLabel.Text = "Welcome " & OLEdr.Item("ho1FirstName") Dim LogHyperlink As New HyperLink LogHyperlink = CType(Master.FindControl("LogHyperlink"), HyperLink) LogHyperlink.Text … | |
Hi I have a webform to allow users to register this information is stored in a Clients tables but I would like some of the information to be stored in another table that will store the username, security question and answer. I tried using two separate insert commands but it … | |
Thought it would be very complicated to include speech in your programs. As it seems, in it most simplest form it can be done in two lines. Don't forget to include the System.Speech reference in your References. Enjoy! | |
Hi, I've a project compiled for .net 3.5. In the project there is a form with a DataGridView. In CellPainting I'am adding row numbers in row header: private void dataGridView1_CellPainting(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == -1) { e.PaintBackground(e.ClipBounds, true); using (StringFormat st = new StringFormat()) { st.Alignment = … | |
Good afternoon. I am using MS Visual Web Developer 2010 Express with VB.Net. I have 3 web pages - Site.Master with Site.Master.vb, Login.aspx with Login.aspx.vb, CreateAccount.aspx with CreateAccount.aspx.vb If I put the following statement in the Site.Master.vb Page_Load: `NavigationMenu.Items.Item(2).Selectable = False` it works fine. It makes the menu item unselectable. … | |
i try to show documents with specific department id computer-science admin will be able to view only computer-science documents and hr admin view only hr documents here i create a sp ALTER procedure [dbo].[sphrdocid1] @DepID int as SELECT DocumentInfo.DocID, dbo.DocumentInfo.DocName, dbo.DocumentInfo.Uploadfile, dbo.DocType.DocType, dbo.Department.DepType , dbo.ApproveType.ApproveType AS ApproveID FROM dbo.DocumentInfo left … |
The End.