No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, i have a problem with my code. i have 1 tab control and 3 tabs. now the problem is that when i switch from one tab to another i want the datagridviews to clear their selection. this code works but when one selects the tab for the second time. … |
|
Hi all, i was trying to create a URL rewrite regex. The regex is something similar to this: \/pa\/*([0-9,a-z,A-Z,-]*) This regex works fine but i want to make this regex more dynamic so instead of "pa" i want that it matches any characters a user inputs. I create a regexr … |
|
Hi i want to pass data from 2 or more models and as i cannot make 2 statements in one model i tried to create a class which had 2 models but i am getting an error The model item passed into the dictionary is of type 'WebsiteMVC.Models.News', but this … |
|
sry guys but i am new to MVC i just want to ask if it is possible to assign a connection string to a particular user from a database (Example) i want to restrict user from selecting a table, which can be done by using SQL Managment studio. This is … |
|
hi, i just have a question. i am creating a website using asp.net(c#) and i want that when a user click on a particular page (ex. login) the page becomes an https by using an IIS self signed certificate. can you help me what i need to search for etc … |
|
hi, i came up with an idea of doing a music recognition for my theses but i do not know where to start from. basically this app will be that one plays a song from his PC (for now) and the program will recognize the song and finds the name, … |
|
Hi i have a problem, on localhost everything works fine but not when i upload to my web server an error occurs: I have tried different methods but nothing succedded. thanks HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, … |
|
Re:
HI guys how can i insert todays date in my query,my query is as follows: [code] myString = @"INSERT INTO wordTbl(word,text,date) Values('" + (string)row["word"] + "','"+richTextBox1.Text+"','"+DateTime.Now.ToString()+"')"; [/code] |
|
Re:
how can i redirect from one form to another in visual studio.Or even better would be if i can just change few panels in the form when i click change or save button for eg. Thanks |
|
hi i am trying to make an if function to check the picturebox background but it is not working. i tried .equal or image.fromfile but nothing is working. can anyone help me pls? [CODE] if (pbxap.BackgroundImage.Equals("..\\..\\Images\\tbl9.jpg")) { //display error MessageBox.Show("No records found on this table"); } [/CODE] |
|
Hi, i have a program that connects with an sql database and it works fine with the sql. Now the problem comes when i publish. When i open the published program it gives me an error. An attempt to attach an auto-named database for file ..... A database with the … |
|
hi, I found on the net that to make a query one needs to create a dataset. therefore i have created a datatable to this dataset with 3 columns into into. Now i have created a query to display the information according to the query. the problem is that i … |
|
hi i tried to search from a dataset but when i try to add from a dataset to a datagridview it is not adding to the datagridview. here is my code. moreover if i try a messagebox the result found is being displayed. [CODE]con.Open(); cmd = new SqlCommand("sp_getUsersDetails", con); cmd.CommandType … |
|
Re:
hello, I tried to change the value of a textbox from another window form. the value is passed to another form properly, but I couldn't change the value in the textbox. here is the code Form1.cs public void setTextbox(String sd) { MessageBox.Show(sd); msg.Text = "fd"; } additem.cs private void button1_Click(object … |
|
Hi i have a problem Error 1 Operator '<' cannot be applied to operands of type 'object' and 'System.TimeSpan'. to use timespan with < is there any type of code? [CODE] SqlCommand cmd = new SqlCommand("SELECT * FROM tblBooking", conn); SqlDataReader rdr = cmd.ExecuteReader(); DateTime ts = new DateTime(); TimeSpan … |
|
hi i have a problem with datagridview. I have about 5 datagridviews displaying different items. Now my issue is that how will i know which datagridview the user selected and add from that datagridview only? at the moment the user can add from different datagridviews because the first row of … |
|
hi i have a datagridview showing the data from a database. Now i have a problem because i want the selected row from the datagridview to be shown on another datagridview near it on button click. I managed to make it from datagridview to listbox but from datagridview to listbox … |