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
~23.6K People Reached
Favorite Tags

70 Posted Topics

Member Avatar for Shantanu88d

maske sure you are updating the datasource of the gridview before you databind. gridview1.databind = myds

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
65
Member Avatar for RobertKramers

you need a space before and after the "=" sign. That may help. Only enlcose your ID value in single quotes if is a text value.

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

if your looking at having a web application communicating with a windows application/database then maybe web services would be a good place to start. Then look into SOAP or something similiar.

Member Avatar for ninjaimp
0
153
Member Avatar for Khaldoun Latif

have a look here for some help to get started [URL="http://www.homeandlearn.co.uk/net/vbNet.html"]http://www.homeandlearn.co.uk/net/vbNet.html[/URL]

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

This is the code i use to write a image to a sql table in binary along with come other information. I have a fileuplaod control on the page with a button that adds the data which calls this code. Make sure your column in your sql table that is …

Member Avatar for Unhnd_Exception
0
214
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
108
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
67
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
207
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
86
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
138
Member Avatar for WyrdOne

It may be a permissions issue - filemode.open does open (or try to open) the file with read/write access. Maybe worth contacting your provider to find out. have a look here [URL="http://msdn.microsoft.com/en-us/library/b9skfh7s.aspx"]http://msdn.microsoft.com/en-us/library/b9skfh7s.aspx[/URL]

Member Avatar for WyrdOne
0
173
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
240
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
235
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
499
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
72
Member Avatar for blackbr
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
78
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
123
Member Avatar for Traicey

Where are you storing the log on details? Just hold all the logon information in on table e.g. UID Username Password AccessLevel Create a different access level for librarians and students and when the user logs in, depending on what their access level is you can allow/deny access to pages …

Member Avatar for Traicey
0
116
Member Avatar for vyasdev2005

change this line [code] object fileName = Server.MapPath("/WordSample/WordFiles/Test.doc"); [/code] to [code] object fileName = Server.MapPath("~") & "WordSample\WordFiles\Test.doc"; [/code]

Member Avatar for mail2saion
0
284
Member Avatar for jain4

Create an 'Image' table in your DB this could have something like: ImageID (Primary Key) ProductID (foreign key) ImageUrl store the path to the image in this table with the productID it relates to. When use the product details you can pull the related image using the ProductID

Member Avatar for jain4
0
141
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
146
Member Avatar for FallenPaladin

have a look here: [URL="http://www.asp.net/learn/videos/video-07.aspx"]http://www.asp.net/learn/videos/video-07.aspx[/URL]

Member Avatar for ninjaimp
0
70
Member Avatar for oxide54

have a look here for starters: [URL="http://msdn.microsoft.com/en-us/library/ms978378.aspx"]http://msdn.microsoft.com/en-us/library/ms978378.aspx[/URL] and here [URL="http://www.4guysfromrolla.com/webtech/110701-1.shtml"]http://www.4guysfromrolla.com/webtech/110701-1.shtml[/URL]

Member Avatar for ninjaimp
0
135
Member Avatar for da_tikboy

found this: In your modal [code] window.returnValue = "doReload"; window.close(); [/code] Then in your mainpage [code] var modal = window.showModal.... if (modal == "doReload") { window.location = window.location; } [/code] its in c but it can hopefully give you a starting point on where to research!

Member Avatar for greeny_1984
0
206
Member Avatar for nikolas8

check t make sure that all your tables column names are the same if you want to use the built in login code. Else you could just as easy build your own if you have the table already in place.

Member Avatar for greeny_1984
0
649
Member Avatar for cakamaya

what are you trying to acheive? Are you trying to store dates into a table? Search on dates? Do you have any code that you need help on?

Member Avatar for cakamaya
0
159
Member Avatar for netwrkengeer

have a look at the application pool in iis associated with your site, the idel time may need to be extended.

Member Avatar for mail2saion
0
292
Member Avatar for emilio
Member Avatar for ITech

try opening the site in another browser like in firefox? If you are running vista this can have some issues with how it uses ip address's and seems to effect sites running out of the development server on visual studio - check the ipv4 and ipv6 settings in your connections!

Member Avatar for txwebdesign
0
184
Member Avatar for massoud12345

have a look here for: [URL="http://www.devasp.net/net/articles/display/291.html"]http://www.devasp.net/net/articles/display/291.html[/URL]

Member Avatar for massoud12345
0
107
Member Avatar for chriscross86

where are you using this: [code] Dim str As String = "insert into track(TrackingID,PickDATE,Consignment,Reference,Origin,Destination,Status,Destination,RecipientName) Values('" &TextBox1.Text& "','"&TextBox2&"','"&TextBox3.Text&"','" &TextBox4.Text& "','" &TextBox5.Text& "','" &TextBox6.Text& "','" &TextBox7.Text& "','" &TextBox8.Text& "');" [/code]

Member Avatar for ninjaimp
0
182
Member Avatar for chriscross86

hi change your SQL statement to this [CODE] "insert into Registration(AccountNum, ContactPerson , FaxNum, City, Poskod,Address,EmailAdd,H/Pnum,State) values ('" &TextBox1.Text& "','" &TextBox2.Text& "','" &TextBox3.Text& "','" &TextBox4.Text& "','" &TextBox5.Text& "','" &TextBox6.Text& "','" &TextBox7.Text& "','" & TextBox8.Text & "','" & TextBox9.Text & "');" [/CODE] removed the " + " before Value Are you …

Member Avatar for mahendrabilla
0
119
Member Avatar for chris5126

have a look here [URL="http://msdn.microsoft.com/en-us/library/dz12d98w(vs.80).aspx"]http://msdn.microsoft.com/en-us/library/dz12d98w(vs.80).aspx[/URL]

Member Avatar for mail2saion
0
81
Member Avatar for netwrkengeer

look at the requiredfieldvalidator control. This can easily add validation to a text control on your form have a look here: [URL="http://www.w3schools.com/ASPNET/control_reqfieldvalidator.asp"]http://www.w3schools.com/ASPNET/control_reqfieldvalidator.asp[/URL]

Member Avatar for varun allahabad
0
108
Member Avatar for ViRiPuFF

You should check with your provider with regards to security. Your not passing any security information in your string (i.e. username and password) and i would have thought that your provider would require this.

Member Avatar for ViRiPuFF
0
214
Member Avatar for jtok

in code, say the page_load event you could do: [code] me.label.text = "Test Text" [/code]

Member Avatar for jtok
0
140
Member Avatar for Alv45525

create a session like this [CODE] session("MySessionName") = me.txtUsername [/CODE] you can then use this session in other or same page by calling like this [CODE] me.txtUsername = session("MySessionName") [/CODE] have a look here gives a good overview on the session object [URL="http://www.w3schools.com/ASP/asp_sessions.asp"]http://www.w3schools.com/ASP/asp_sessions.asp[/URL]

Member Avatar for Alv45525
0
189
Member Avatar for horseraceuk

There is some great resources and tutorials here: [URL="www.asp.net"]www.asp.net[/URL] If you have any questins or need some help once you get started then there are loads of people on this forum who will try and help! good luck

Member Avatar for greeny_1984
0
82
Member Avatar for Alv45525

If you have created a new DB in SQL Express and the table is in the 'app_data' folder in your project then something like this could work: [CODE] Dim conn As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True") Dim sql As String = "SELECT * FROM tablename" Dim cmd As New SqlCommand(sql, …

Member Avatar for Alv45525
0
92
Member Avatar for ninjaimp

Hi Im tryingto create/run a webbrowser control so that i can check the status. I dont need to see the page so havent placed the webbrowser control on a form - its just in code as follows: [CODE] Sub TestBrowse(ByVal url As String) Dim testbrowse As New WebBrowser testbrowse.Navigate(url) System.Threading.Thread.Sleep(5000) …

Member Avatar for ninjaimp
0
1K
Member Avatar for jain4

The membership settings within asp.net will allow you to do this - have a look as this video tutorial - [URL="http://www.asp.net/learn/videos/video-06.aspx"]http://www.asp.net/learn/videos/video-06.aspx[/URL]

Member Avatar for jain4
0
92
Member Avatar for Hsus

have a look here for starters [URL="http://msdn.microsoft.com/en-us/library/fx29c3yd(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/fx29c3yd(VS.71).aspx[/URL]

Member Avatar for ninjaimp
0
75
Member Avatar for brightline

You might want to look at how the 'Session' variable is being set/maintained. If a session is created for a user then that remains until the browser session is ended or you directly end it. What is the code of your login page?

Member Avatar for P.K.Chaudhary
0
101
Member Avatar for mansi sharma

Try looking at the linkbutton control. You can write events that can be fired by it! have a look here [URL="http://www.w3schools.com/aspnet/control_linkbutton.asp"]http://www.w3schools.com/aspnet/control_linkbutton.asp[/URL]

Member Avatar for mail2saion
0
100
Member Avatar for ninjaimp

Hi Im trying to display image binary data but its not working. I have the code below but on the line: newimage = System.Drawing.Image.FromStream(ms) i keep getting the error 'Parameter is not valid' [code] Dim obj As Byte() obj = StringToByteArray(ImageString) Dim ms As New MemoryStream(obj) Dim newimage As System.Drawing.Image …

Member Avatar for ninjaimp
0
397
Member Avatar for uthman4u2nv

The End.