Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~22.9K People Reached
Member Avatar for Shantanu88d

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

Member Avatar for naimerkallis
0
6K
Member Avatar for ninjaimp

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 …

Member Avatar for LastMitch
0
69
Member Avatar for ninjaimp

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 …

0
63
Member Avatar for RobertKramers

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 { …

Member Avatar for samuelmac
0
3K
Member Avatar for sarifah n

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.

Member Avatar for sarifah n
0
126
Member Avatar for lielee

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 …

Member Avatar for ninjaimp
0
151
Member Avatar for Khaldoun Latif

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

Member Avatar for Khaldoun Latif
0
113
Member Avatar for Mike Askew

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?

Member Avatar for Unhnd_Exception
0
210
Member Avatar for ninjaimp

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 …

0
106
Member Avatar for ninjaimp

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 …

0
64
Member Avatar for ninjaimp

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 …

Member Avatar for ninjaimp
0
203
Member Avatar for ninjaimp

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 …

Member Avatar for sandeepparekh9
0
84
Member Avatar for ninjaimp

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 …

Member Avatar for scrappedcola
0
137
Member Avatar for WyrdOne

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 …

Member Avatar for WyrdOne
0
169
Member Avatar for ninjaimp

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 …

Member Avatar for happy@usa
0
238
Member Avatar for ninjaimp

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 …

Member Avatar for JohnTheGrateful
0
232
Member Avatar for ninjaimp

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 …

Member Avatar for master0418
0
483
Member Avatar for ninjaimp

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 …

Member Avatar for dnanetwork
0
70
Member Avatar for blackbr

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" …

Member Avatar for CodeGorilla
0
2K
Member Avatar for ninjaimp

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 …

Member Avatar for Ramesh S
0
76
Member Avatar for ninjaimp

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 …

Member Avatar for Datsun90
0
121
Member Avatar for Traicey

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 …

Member Avatar for Traicey
0
114
Member Avatar for vyasdev2005

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; …

Member Avatar for mail2saion
0
280
Member Avatar for jain4

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 …

Member Avatar for jain4
0
131
Member Avatar for ninjaimp

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 …

Member Avatar for ninjaimp
0
142
Member Avatar for FallenPaladin

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 …

Member Avatar for ninjaimp
0
68
Member Avatar for oxide54

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. …

Member Avatar for ninjaimp
0
131
Member Avatar for da_tikboy

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 …

Member Avatar for greeny_1984
0
204
Member Avatar for nikolas8

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 …

Member Avatar for greeny_1984
0
608
Member Avatar for cakamaya

could anyone help me how to use a date function for reservation on ASP.NET.... thanx

Member Avatar for cakamaya
0
157