- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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 |
|
Hi, I'm wondering if what I want to do is best practice or not. We are just about to go live with a new site (built by another company) and pages of this will need to make calls to a web service which will be hosted on the same server … |
|
Hi, I am trying to put together a content manegment system for a site. I have created a number of 'Template Pages' for the layout each with different CSS. All the different layouts will have the same content just laid out in different ways. So 4 pictures and text. These … |
|
Re:
Hi there, Im getting the error above, when i run my code. [code] string myCommand = "SELECT * FROM Manager WHERE UserName=" + ID; SqlDataAdapter da = new SqlDataAdapter(myCommand, con); DataSet ds = new DataSet(); try { con.Open(); da.Fill(ds); [B]// <- highlighting this part of the code..[/B] } finally { … |
|
Re:
hi i want to ask about how to disable the button when the datagrid have 9 rows? i want to control the button.after the datagrid have 9 rows, then the button.enabled=false. tq. |
|
Re:
Hi. I'm working on a project using VB.net. Just wondering, can VB connect with Dreamweaver/Frontpage? Let say an online food ordering, customer fill the form in the website then the VB program receive the request. I know more about VB than HTML so I'm not so sure about it. My … |
|
Re:
any one here can help me to make access database and connect it to a visual basic 2010 program and update and retrive information from it please help me if you can |
|
Re:
The code for this is: [CODE=VB.NET]'IMAGE HANDLING Dim bytes() As Byte = DS.Tables("Location").Rows(0).Item(4) Dim ProductImage As Image = Image.FromStream(New System.IO.MemoryStream(bytes)) pic_ProductImageDisplay.Image = ProductImage pic_ProductImageDisplay.Load()[/CODE] The error occurs line 3 stating "ArgumentException was unhandled: Parameter is not valid." Any idea on a solution to this problem? |
|
Hi I have a script that queries wmi to get logged on users. The script works fine if i run it on the server i am query but if i choose a remote server it returns nothing. It gets the user 'logonid' but does not return anything when running the … |
|
Hi I am trying to list all users logged into a speceific server but am getting nowhere. Im using the below code which i have formulated from various resources but it always returns 'not logged in'. when drilling into the oReturn object it says on alot of the items that … |
|
hi I thought this was simple so i guess i am doing something wrong. I want to read the value of an item in the registry. the value im after is the centralprofile key which im trying to get by passing the SID and looking up the subkey but it … |
|
Hi I dont have a huge wealth of experince with SQL statements and im struggling; i have two tables table one holds employee data table two holds payent histroy for employee so essentially a 1 to many relationship I would like to list all of the job titles(for which there … |
|
Hi, This seems really stupid i cant get my head around this. I have a listbox that has items added to it from selections from another one. I have also added code that an item can be double clicked to remove it, which works, until the page is refreshed and … |
|
Re:
I have an ASP.Net site that includes a folder named "files" as a subdirectory of the site. I have a help page set up with links that are set to "~/files/help1.doc", "~/files/help2.doc", etc... These all work great. I have another section of the site where the user clicks a button … |
|
HI I am trying to write data to an access table from vb.net. The code all seems to run fine but no data is being sent to the db though! the code i have got is [code] Dim itemcount As Integer Dim MyCn As OleDbConnection Dim sql As String 'Dim … |
|
Hi Im trying to position a window with MoveWindow() API but it just keeps hiding the window and it has to be maximised to be able to see it. The code im using is [CODE] Public Declare Function MoveWindow Lib "user32" _ (ByVal hwnd As Long, _ ByVal x As … |
|
Hi Im trying to to simply list all security groups from active directory as i will then be doing checks on folders with the mathcing security group. I can list all the users from active directory with this: [CODE] Dim myDirectoryEntry As DirectoryEntry = New DirectoryEntry(String.Format("LDAP://DC=domain,DC=org")) Dim mySearcher As DirectorySearcher … |
|
HI I am having difficulty gettting the current users username in a web application because the web app is set to use a specific account. if i use 'Page.User.Identity.Name' it returns nothing nad if i use 'System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()' it returns the details of the account used in the IIS (so is … |
|
Re:
For some reason, selectedindexChanged vb.net code is no longer firing. autopostback and enable viewstate are sill true. Enabled is set to true in code behind. Using VS2008. Any idea on what can cause this? Thanks, Randy [CODE]<asp:DropDownList id="ddlEmpName2" style="Z-INDEX: 138; LEFT: 192px; POSITION: absolute; TOP: 32px" runat="server" Width="152px" ForeColor="DarkBlue" DataValueField="EmployeeId" … |
|
Hi All, I have been developing an app that will run on my work intranet. The whole appliation works but part of the app is to open a specific PDF file from a selection. So i pass the file name and path to the System.Diagnostics.Process.Start(FileName) But it keeps erroring telling … |
|
Hi I have a procedure that performs checks on controls in my page against rules set in a SQL table. It all works fine except that when im casting the control e.g. [CODE] CType(Me.Page.FindControl(control1), TextBox).Text[/CODE] and its a dropdownlist it of course fails. Im trying to create a variable that … |
|
Re:
I am designing a Library website, and I have two table Libarian and Student table so when the Libarian login should have access to all the database(Adding new record, updating and all) but when the student login should only view the database without changing anything, so What I want to … |
|
Re:
I am trying to opening Word file in asp.net application. I Try Following Code For That [CODE] private Word.ApplicationClass WordApp = new Word.ApplicationClass(); protected void Button1_Click(object sender, EventArgs e) { Installation.doc"; object fileName = Server.MapPath("/WordSample/WordFiles/Test.doc"); object readOnly = false; object isVisible = true; object missing = System.Reflection.Missing.Value; WordApp.Visible = true; … |
|
Re:
Hi There, I am fairly new to ASP.net and MS Access. I am workin gon a site where i need to make a product catalogue. The products can be maintained from an admin section. I Have designed and got the page ready for inserting new products. I am stuck at … |
|
While i thought this would be really simple im really struggling on filtering a gridview twice! I can bind data to my gridview on the choice of my first dropdown box from a dataset but i would like to then filter those results from a selection in a second dropdown … |
|
Re:
Hi there, I am hoping someone will be able to help me, I have a datagridview control bound to a linq data source on a parent page. The dataview has a select button col. When the user clicks the button I want to open a new page that will be … |
|
Re:
Hi, great forum here! i've learnt lots reading throught the posts. I have a problem with an ASP.NEt 2.0 web application i have designed. It is designed to allow users to access their documents from home and several shared areas. The ASP.net forms authentication doesn't appear to be working properly. … |
|
Re:
I have a FormView InsertItemTemplate which has a databound dropdownlist. The dropdownlist displays a list of names retrieved through a SQL Server stored proc. The user has an option to add a new name to the database by clicking a button next to the dropdownlist. Clicking the button fires a … |
|
Re:
Hi, I have a problem with my login control. I changed the code in order to use my own database (SQL Server 2005) and no matter what i do i get the message "Your login attempt was not successful. Please try again. "!!! in the web.config file i chose my … |
|
Re:
could anyone help me how to use a date function for reservation on ASP.NET.... thanx |