Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements

15 Posted Topics

Member Avatar for Wiizl

I'm imitating progressbar value change like: [CODE]private void playAnimation() { for(int i=1;i<=100;i++) { this.progressBar1.Value = i; System.Threading.Thread.Sleep(20); percent = i; } }[/CODE] At the same time I try to run another thread, to update label text like "...% completed". Of course I couldn't change text of label that was created …

Member Avatar for Matthew.diggide.speakman
0
7K
Member Avatar for Wiizl

Hello Just one question- is it possible, to solve 15 game if grid is not square? I have written this game for 6x5 grid, however I've tried about 20 times I always fail to solve last row. So I started to think the solvability may depend on width/height ratio or …

Member Avatar for Wiizl
0
101
Member Avatar for Ritushido

I think you should check the PageID in code behind so you can debug it and see what happens. Like: [CODE] int pid = Request.QueryString["PageID"]; SQLDataSource1.SelectCommand = "SELECT PageID, Title, PageBody FROM Pages WHERE PageID ="+pid; SQLDataSource1.Select(DataSourceSelectArguments.Empty); [/CODE] and then just databind() whatever needs the selected data..

Member Avatar for sknake
0
157
Member Avatar for Anupama G

[CODE]GridView1.Rows[0].Height = Unit.Pixel(40);[/CODE] or [CODE] foreach(GridViewRow r in GridView1.Rows) { r.Height=Unit.Pixel(...); } [/CODE]

Member Avatar for guru_sarkar
0
121
Member Avatar for Wiizl

I have SQL datasource and all columns are directly displayed in gridview. [CODE] DS_params.SelectCommand = "SELECT ID, ParamName, ParamValue FROM Params WHERE ProductID=" + pid; DS_params.Select(DataSourceSelectArguments.Empty); grid_productdata.DataBind(); [/CODE] The first thing I cannot figure out is how to make some column read-only so it can't be edited, without directly adding …

0
79
Member Avatar for Wiizl

I'm using this piece of code to get the number of search results. However it says- Incorrect syntax near ')' (the very last ')' ) [CODE] SELECT COUNT(*) FROM (SELECT ID, ProductDescription FROM Products WHERE ProductDescription LIKE '%tech%') [/CODE] The inner select works fine and gives correct results, so I …

Member Avatar for Wiizl
0
148
Member Avatar for Wiizl

I have written windows application for managing specific win service. it can start, stop install and uninstall. also i have setup project ( in the same solution of course). the problem is that after i uninstall the application (add/remove programs) the service of course remains in the service list, if …

Member Avatar for Wiizl
0
186
Member Avatar for Wiizl

So... I have 3 textboxes and a Submit button. Here's the code behind: [CODE] public void Submit1_onClick(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); DateTime laiks = new DateTime(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('" & ThreadTextbox.Value …

Member Avatar for misselegant
0
162
Member Avatar for Wiizl

I'm trying to make basic windows service that should write into application event log some text once every minute. So I'm using a timer. But the Tick event doesn't fire.. I've tried all kinds of timer1.start() or timer1.enabled=true ... but nothing works. Everything with service itself is ok- I mean …

Member Avatar for nvmobius
0
578
Member Avatar for Wiizl

I'm sorry if it's not the right place for this question, but I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if …

Member Avatar for Wiizl
0
315
Member Avatar for Wiizl

I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if the length of current field's value is less than 6 digits. I …

Member Avatar for peter_budo
0
84
Member Avatar for Wiizl

OK, one last thing. Now I have 3 textboxes and here's what I wrote: [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('"+ThreadTextBox.Value+"','"+PostTextBox.Value+"','"+NameTextBox.Value+"')"; cmd.Connection = conn; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/CODE] Can you please tell me what's …

Member Avatar for Wiizl
0
124
Member Avatar for Wiizl

Hello guys! So here's the problem. I'm making kinda simple forum and I'm using SiteMapPath to navigate through sections and threads. Like HOME>>Programming>>SomeThread. But that's not important... Also I have database with 3 tables. One with SectionID and SectionTitle, other one with ThreadTitle and SectionTitle , and the third table …

0
76
Member Avatar for Wiizl

Hello there! I.m trying to write a function that should delete specified entry from .dat file. But it just ADDS TWO MORE NEW ENTRIES- the same as the last entry in that file. I'm trying to read all entries into temporary file and then write them all back, except the …

Member Avatar for Wiizl
0
309
Member Avatar for Wiizl

I have to find out if any line of the txt file ends with 'end'. If any line does, then my program must go to specific label. I've read PASCAL help from beginning to the end but I couldnt figure out how to check what are the last three letters …

Member Avatar for radu84
0
89

The End.