Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
~16.3K People Reached
About Me

Programmer

Interests
Programming, mechanical engineering, biology, religion
Favorite Tags

70 Posted Topics

Member Avatar for ManicCW
Member Avatar for uv4u
0
173
Member Avatar for ManicCW

When you are programming web pages it is very important to optimize your code for better and faster performance. In this part I will show you how to optimize code for filling multiple dropdownlists with data from Microsoft Access. The same thing is with SQL Server. I'm using asp.net 2.0 …

Member Avatar for Mariandi
2
342
Member Avatar for wonder_gal

Do you know how to populate one combo? If you don't i suggest that you read some tutorials before.

Member Avatar for giahmed
0
241
Member Avatar for TheNNS

[QUOTE]Macs are easy to use, have all the software a user will ever need incorportated in it.[/QUOTE] And Windows is not easy, does not have all the software? :rolleyes: [QUOTE]There are a lot less viruses for linux than windows.[/QUOTE] That is normal because Linux is not used so much as …

Member Avatar for Ryechi
0
209
Member Avatar for happygeek
Member Avatar for ManicCW

ASP.net 2.0 introduced themes. Theme consists of several files: CSS styles, skin file and images. You create theme by adding App_Themes folder in your project in solution explorer panel. Right click on project - Add ASP.net folder - Theme Now that we created theme we can add files into it. …

0
78
Member Avatar for nccsbim071

You can use URL rewriting, but it is much better, in my opinion, to use folders with default.aspx page inside. Instead Home.aspx, use Home/Default.aspx.

Member Avatar for dnanetwork
0
246
Member Avatar for Embeza

Use Global.asax file and add this [code] Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Application("OnlineUsers") = 0 End Sub Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Application("OnlineUsers") += 1 End Sub Sub Session_End(ByVal sender As Object, ByVal e As EventArgs) Application("OnlineUsers") -= 1 End Sub [/code] …

Member Avatar for jeju
0
704
Member Avatar for mikefitz

My little advice: [B]Never mess with the client computer![/B] I hate when web pages try to do that.

Member Avatar for tcornejo
0
895
Member Avatar for Dhruv Shah

When passing query use parameters: [QUOTE]cmd.CommandText = "SELECT ID, Title, Job FROM Jobs WHERE Title=@Title" cmd.Parameters.Add("@Title", SqlDataType.NVarChar).Value = Me.txtTitle.Text.Trim [/QUOTE] To hide some element while print: [url]http://www.daniweb.com/techtalkforums/thread54946.html[/url]

Member Avatar for krany18
0
423
Member Avatar for Stivi

Try this: [CODE]Me.MyLiteral.Text = Me.MyTextBox.Text.Replace(ControlChars.NewLine, "<br />")[/CODE]

Member Avatar for navyjax2
0
193
Member Avatar for plugsharma

You can use AJAX UpdatePanel and UpdateProgress to solve that problem. [URL="http://ajax.asp.net"]http://ajax.asp.net[/URL]

Member Avatar for plugsharma
0
179
Member Avatar for majestic0110
Member Avatar for nanodano

[QUOTE]No, ruby is mainly use for web applications.[/QUOTE] Ruby is NOT just for web applications! This sub forum should be renamed "Ruby on Rails".

Member Avatar for peter_budo
0
242
Member Avatar for ebabes

This is valid XHTML code for inserting swf. <object type="application/x-shockwave-flash" data="SWFPath" width="SWFWidth" height="SWFHeight"> <param name="movie" value="SWFPath" /> </object>

Member Avatar for ebabes
0
252
Member Avatar for majestic0110
Member Avatar for s1986
Member Avatar for ebabes
Member Avatar for ebabes

Why don't you track it with statistics? Anyway, if you really want it, you can use [B]global.asax[/B] file for that. In Application_Start and Application_End event of global.asax set something like this: [code] Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Application("Online") = 0 End Sub Sub Application_End(ByVal sender As …

Member Avatar for SheSaidImaPregy
0
133
Member Avatar for Dano56

Just put it in Session or QueryString. In first page set on button click event: [CODE] Session("Number") = Me.MyTextbox.Text.Trim --or-- Response.Redirect("Secondmenu.aspx?Number=" & Me.MyTextbox.Text.Trim) [/CODE] Then in second page use something like this: [CODE]Dim myFilter as Int16 Try myFilter = CInt(Session("Number")) --or-- myFilter = CInt(Request.QueryString("Number)) Catch ex As Exception --code for …

Member Avatar for bbqchickenrobot
0
177
Member Avatar for dmison

You can use any Linux mail server for this. Just change your MX records in your Windows hosting panel.

Member Avatar for ManicCW
0
74
Member Avatar for jamello

I don't think you can do that on individual files in asp.net. In vb.net (local programming) it is possible.

Member Avatar for ManicCW
0
76
Member Avatar for majestic0110

Yes, you have all the controls in your Toolbar if you are using Visual Studio 2005, or 2008.

Member Avatar for majestic0110
0
343
Member Avatar for palej

You can use regular expressions but that is complex for this. To use simple formating, just replace control characters with html, like: [QUOTE]Dim htmlText As String = BlogBox.Text htmlText = htmlText.Replace(ControlChars.CrLf, "<br />")[/QUOTE] Then just use htmlText in your insert command.

Member Avatar for SheSaidImaPregy
0
116
Member Avatar for ediddy02
Member Avatar for ManicCW
0
277
Member Avatar for caterpillar

Is your column [B]deptCode[/B] string (varchar, nvarchar ...) type?. LIKE operator should be used only for string values.

Member Avatar for raghu.8
0
112
Member Avatar for sierrasoft

[QUOTE=sierrasoft;272304] Can anyone guide me [B](in detail)[/B] [/QUOTE] :eek: You ask to much. Start planning, coding and then ask some specific question.

Member Avatar for SheSaidImaPregy
-1
149
Member Avatar for msmitch

Create Main table with (example) two rows and three columns. Then merge columns in second row and insert new table in that row. That should do it. Btw. I recomend using div tags for layout and tables just for tabular data.

Member Avatar for GreenDay2001
0
174
Member Avatar for GR Web FX
Member Avatar for thirunavukaras

Why do you even redirect using javascript? :-/ Use code behind to redirect it. In click event of the button: [CODE] Response.Redirect("~/MyPage.aspx?MyQuery=" & Me.MyTextBox.Text.Trim) [/CODE]

Member Avatar for sibotho
0
149
Member Avatar for vidbee

Use forms authentication to restrict user rights. Then use one function to download file. What exactly do you need?

Member Avatar for pandiyarajan
0
190
Member Avatar for sibotho

What is the column of DeparturePlace? Number? What is the value of DropDownList1.SelectedValue?

Member Avatar for w_3rabi
0
130
Member Avatar for sibotho

Pass values using querystring like: [CODE]Response.Rediract("MySecondPage.aspx?DeparturePlace=" & Me.MyDropDownList1.SelectedValue & "&Destination=" & Me.MyDropDownList2.SelectedValue)[/CODE] :icon_wink:

Member Avatar for ManicCW
0
117
Member Avatar for greeny_1984
Member Avatar for 7arouf
Member Avatar for ManicCW
0
66
Member Avatar for popson

Run this in your sql query analyzer: [code] USE master; GO EXEC sp_configure 'user instances enabled', '1'; [/code]

Member Avatar for ManicCW
0
246
Member Avatar for shy_wani

Try replacing [B]qnum.SelectedItem.Value[/B] with [B]qnum.SelectedValue[/B]

Member Avatar for ManicCW
0
90
Member Avatar for yaya_star

Does that server allows relaying or have you used some authentication method?

Member Avatar for ManicCW
0
86
Member Avatar for sibotho

Did you set appropriate permissions on your database file? ASP.net user need read/write permissions.

Member Avatar for sibotho
0
256
Member Avatar for someoneelse

What do you mean popup control? Something like message box, new browser window, show/hide div or what?

Member Avatar for M_K_Higa
0
80
Member Avatar for shy_wani

Simply pass values in querystring like: surveyeditor.aspx?title=MyTitle&Description=MyDescription To accomplish this in gridview use this in your edit button navigation path: surveyeditor.aspx?title=<%# Eval("Title")%>&Description=<%# Eval("Description")%>

Member Avatar for ManicCW
0
135
Member Avatar for senthilkumar24

I don't think there is a way to do this using standard asp.net controls. You need to use client side [B]javascript [/B]or [B]ajax [/B]approach.

Member Avatar for senthilkumar24
0
131
Member Avatar for june_bunga
Member Avatar for someoneelse

Did you import namespace System.Data.Odbc? Btw. You did not declare sConnection as string. Dim sConnection As String

Member Avatar for ManicCW
0
81
Member Avatar for maggik

First of all you should not mess with client computer using web. It always requires some ActiveX controls that need to be installed. Second, you do not need to search for entire HD, you could just set path on client side for client to fill.

Member Avatar for ManicCW
0
56
Member Avatar for sajithkahawatta

I think you would have to install that com components you used in your application. I don't think there is another way.

Member Avatar for ManicCW
0
54
Member Avatar for Rich2701
Member Avatar for ManicCW
0
105
Member Avatar for rickvidallon

Use this code: [CODE]Dim g As Graphics = Graphics.FromImage(YourBitmap) g.SmoothingMode = SmoothingMode.HighQuality g.InterpolationMode = InterpolationMode.HighQualityBicubic g.PixelOffsetMode = PixelOffsetMode.HighQuality[/CODE] And when saving use this: [CODE]Dim myParams As EncoderParameters = New EncoderParameters(1) myParams.Param(0) = New EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 80) YourBitmap.Save(YourPath, GetEncoderInfo(MimeType), myParams)[/CODE] This is GetEncoderInfo function: [CODE]Public Function GetEncoderInfo(ByVal MimeType As String) As ImageCodecInfo …

Member Avatar for ManicCW
0
124
Member Avatar for anupmca

Why would you need to update it? Authentication will be automaticaly updated with IsOnline=False when time runs out.

Member Avatar for ManicCW
0
94
Member Avatar for k_en

[QUOTE]i know HTML is able to do so BUT is ASP.Net able to[/QUOTE] Well what is flash object then HTML? It uses object or embed tags which are standard HTML tags. :)

Member Avatar for ammarcool
0
586

The End.