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

Presumably because its an invalid URL you're using? Error 400: Requested URL invalid or incomplete I have tried to use the website using the recommended example and it does not work - suspect the site has changed its policy for access

Member Avatar for roopaguru
0
240
Member Avatar for pushkar_it

Seems to be missing the following: Main.master.cs controls/SideMenu.ascx Other that that it seems to be working (When you get build errors on compilation just click the 'Yes' button 'to continue and run the last successful build')

Member Avatar for Jassi sharma
0
570
Member Avatar for erum

How do you intend to set/display this time for people accessing your site from different countries?

Member Avatar for erum
0
134
Member Avatar for Dragonbaki

Any particular reason you want to set the timeout to an arbitary value of 200 or do you just want the session variables to remain indefinately? If its indefinately then check that the user has been authenticated and populate the session variables accordingly

Member Avatar for Dragonbaki
-1
149
Member Avatar for Nitin Daphale

Nitin Daphale: Not actually sure what you're trying to do - presumably the row deleting event is being fired because you are trying to delete the row? So why do you need to remove the row programatically as the inbuilt delete function will take care of this - do you …

Member Avatar for aspproject
0
90
Member Avatar for ng38

Have you tried the following?... [CODE] SELECT T2.ID, T1.Date FROM T2 LEFT JOIN T1 ON T2.ID = T1.ID [/CODE] You will get everyting in table 2 (which has an ID but no date) and only the date from table 1 (which has an ID and a date) The you can …

Member Avatar for eralper
0
131
Member Avatar for Louis_Brasco

Louis, Your problem will be whether you intend on having a 'real-time' look and feel to your application or whether you want to check the actual time spent on the question AFTER the user submits the request to the server. What adatapost has suggested will offer you server-side processing which …

Member Avatar for propertywant
0
128
Member Avatar for abrarHuniedi

If you are loading the pictures and labels proramtically them you must have an idea of which objects are being updated. Do you know which obkjects you want to clear?

Member Avatar for harrypinto11
0
129
Member Avatar for RunTimeError

The code... [CODE] string image = "Images"; +"//" + fileName; [/CODE] Should be.. [CODE] string image = "Images" +"//" + fileName; [/CODE] You have added an unnecessary semi-colon which will effectively terminate that statement so the filename never gets added. Surprised your IDE did not flag up a warning on …

Member Avatar for CrappyCoder
0
609
Member Avatar for Suganya B

It depends on what format you are receiving the data from the WebService but the syntax is as follows: [CODE] Dim reader As New System.IO.StringReader(<Webservice>) DataSet dataset = new DataSet(); dataset.ReadXml(reader); myDropDownList.DataSource = dataset.Tables[0]; myDropDownList.DataValueField = "value_field" myDropDownList.DataTextField = "text_field" myDropDownList.DataBind(); [/CODE] The reader object is used to access the …

Member Avatar for CrappyCoder
0
102
Member Avatar for omeralper

There is some debate whether its a good idea to store images in a database or on a file server. If you insist on using a database then you'll need to set up a webhandler file which streams the image to your webpage. Create a new item in your project …

Member Avatar for omeralper
0
164
Member Avatar for ritika_khanna

As we don't have access to yer data - what exactly is going wrong? BTW would'nt it it easier to bind the DropDownLists to the ticketPrice - then you don't have to do your "If DropDownList2.SelectedValue = ..." [CODE] DropDownList.DataTextField="Ticket_Type" DropDownList.DataValueField="Ticket_Price" [/CODE]

Member Avatar for Ezzaral
0
195
Member Avatar for MARKAND911

Any particular reason you're using an HTML table? Why don't you use a gridview to display the results from a datasource?

Member Avatar for CrappyCoder
0
90
Member Avatar for varsha solshe

Hmmm, I assuming that the 'other machine' is your web server and you've loaded the images to the relevant directory on that server but you are now working on a local machine and cannot find the images. Or have I got it completely wrong?

Member Avatar for varsha solshe
0
128
Member Avatar for RPM1974

How would you know which record to keep if the phone numbers are the same but the record information is different? Do you have a timestamp on each record so you know whioh is the latest record?

Member Avatar for CrappyCoder
0
106
Member Avatar for Dragonbaki

Do you know how to use a validator control or do you want to do the validation in code-behind? [CODE] <asp:RegularExpressionValidator id="RegularExpressionValidator4" runat="server" ControlToValidate="txtPhoneNumber" ErrorMessage="Please enter a default 10 digit contact number (eg:111-111-1111)" ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}">*</asp:RegularExpressionValidator> [/CODE]

Member Avatar for CrappyCoder
0
69
Member Avatar for kiran.madke

Is there any reason why you aren't checking the username directly in your SQL query instead of iterating through the user table? [CODE] // don't ever do this! String sql = "SELECT * FROM UserNew WHERE u_name = '" + uname + "'"; [/CODE] Ideally you should be doing this …

Member Avatar for CrappyCoder
0
766
Member Avatar for bharanidharanit

I've used DotNetNuke and its a very good system but to get the fun stuff you need to buy the commercial add-ons which is not always a good idea as DNN do very regular upgrades and the third-party stuff always lags several version behind. You can easily run multiple sites …

Member Avatar for Borzoi
0
209
Member Avatar for sachintha81
Member Avatar for davemac001

The only issue you will have is ensuring you can update the tables in your database using the logged-in user's identity (which is GUID based) Otherwise the memebrship/roles will do nearly everything you need. Be advised that the Membership data resides in your App_Data folder unless you specifically point to …

Member Avatar for davemac001
0
2K
Member Avatar for mykar_88

Further to the above post you will need to add the following in your webconfig: [CODE] <connectionStrings> add name="LocalSqlServer1" connectionString="Data Source=myServerAddress1;Initial Catalog=myDataBase1;User Id=myUsername1;Password=myPassword1;"/> <add name="LocalSqlServer2" connectionString="Data Source=myServerAddress2;Initial Catalog=myDataBase2;User Id=myUsername2;Password=myPassword2;"/> </connectionStrings> [/CODE] And in your code-behind... [CODE] using System.Configuration; . . . string sqlServer; if(LoginOption ==1){ sqlServer = ConfigurationManager.ConnectionStrings["LocalSqlServer1"].ConnectionString;} elseif(LoginOption ==2) …

Member Avatar for CrappyCoder
0
168
Member Avatar for soroushc

Also you may have the AutoPostBack set to 'true' in the HTML of your textbox in which case it will do a postback on the enter key. Delete this option, create a seperate button and do the postback on that [CODE] In your HTML... <asp:Label ID="Label1" runat="server" Text="Enter Value"></asp:Label> <asp:TextBox …

Member Avatar for CrappyCoder
0
136
Member Avatar for Deven Mehta

Not understanding your requirement. You stated "If the value retrieved is 100, textbox should except 200, 300, 400..." So where does the multiple of 2 mentioned in your previous statement come into play? What should the textbox except for the following retrieved values: 1) 200 2) 300 3) 400

Member Avatar for CrappyCoder
0
130
Member Avatar for angele18

Hmmmm, Assuming you have saved your images in the Images directory and you are storing the path in your SQL database as... ~/Images/Properties/Image1.gif Then you should have no problem in using: Image.ImageUrl=dr[6]; Please check the path that's being returned in dr[6]!

Member Avatar for CrappyCoder
0
1K
Member Avatar for derozza

Your s.suppcode does not join with either a.suppcode or i.suppcode as it does in your previous query

Member Avatar for CrappyCoder
0
179
Member Avatar for arcticM

If you dragged the table onto your form then a datasource will have been added automatically with the relevant INSERT, UPDATE and DELETE routines already created [URL="http://www.asp.net/data-access/tutorials/querying-data-with-the-sqldatasource-control-vb"]http://www.asp.net/data-access/tutorials/querying-data-with-the-sqldatasource-control-vb[/URL]

Member Avatar for kvprajapati
0
117
Member Avatar for jlivvers

Hmmm, Not a good idea to get the Max(IDColumnName) as previously suggested it will only get the last inserted record (not the record you have added) - and in a high transactional database you will get totally incorrect results. Much better to return the ID added within the scope of …

Member Avatar for kvprajapati
0
1K