- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 96
- Posts with Upvotes
- 90
- Upvoting Members
- 58
- Downvotes Received
- 14
- Posts with Downvotes
- 14
- Downvoting Members
- 11
- Interests
- Computer programming , books , games , movies
- PC Specs
- windows 7 , 2nd Generation Intel(R) Core(TM) i5-2320 processor [3.0GHz, 6MB Shared Cache] 6GB DDR3-1333MHz…
Re: as Pgmer said you can use the rowindex to get your last row here is code to get the last index . dim lastIndex as integer lastIndex=datagridview.rows.count -1 ' this code will give you the last index of row. Regards | |
Re: hello ! you can do this in this way also . [CODE] dim mycon as new sqlconnection("connectionstring") mycon.open() dim da as new sqldataadapter("select * from table1",mycon) dim dt as datatable da.fill(dt) combobox1.datasource = dt combobox.displaymember = "field name you want to show " combobox.valuemember ="field name you want to get … | |
Re: you can do like this [CODE] datetimepicker.value.date.tostring() 'or you can set format property according to your requirement . [/CODE] Regards | |
Re: try cmd.parameters.addwithvalue("@param",value) may be this will help you , but it is better to tell us what error you got at cmd.executenonquery() Regards | |
hello ! i want to develop the keycounter , i mean i want to get the total no. of key pressed by the user in the specific time , i have a code of keylogger , i can use it to get the text in that time period and after … | |
Re: to calculate the total payment use this code . [CODE] 'for example you have a grid having column name payment . 'now use this code at the button click event dim i as int dim total as decimal for i=0 to datagrid.rows.count -1 total = total + val(datagrid.item("payment",i).value.tostring)' or you … | |
Re: see this thread , for solution[URL="http://www.daniweb.com/software-development/vbnet/threads/401336"]http://www.daniweb.com/software-development/vbnet/threads/401336[/URL] | |
Re: just right click on your project in solution explorer window and select properties then just change the framework . it works for me in c# . i dont know it works for you in vb or not. or you can also try to add reference ,or just right click on … | |
Re: hello ! can you please tell me are you populating combo box from db using any method ? if yes then call that method at the load event of you form having combo box , if no then can you please rephrase your prob , Regards M.Waqas Aslam | |
Dear All , Hope everyone is fine. I have little question. We use this query normally in MSSQL select * from emp where empid in (1,2,3,4) How to write this query in lambda expression. Is there any way to perfrom above mentioned operation ? Best Regards | |
Re: well it is better to first add all the records of your all players in a datagrid then insert them in db by using loop . if you are not able to use datagrid then use datatable , insert all records in it then then save them using loop. If … | |
Dear All, I am working on IM app . I want to add call featuer in my app. I googled alot and downloaded 10's of projects but unable to execute them due to missing files. I am looking for running project of Doubango or PJSIP so that I can use … | |
Re: Hi , If you want to do it manually then follow following steps. 1- make a zip folder of wp-content folder. 2- now generate the database script. 3- open the generated script in any good text editor. replace localhost:port with your new web url in complete doc. 4- upload folder … | |
Dear All, I am not clear that where to ask this question so i am starting this thread here. In my country youtube is banned by the Govt. I want to create the website same as playit.pk. I dont know how this site is working are they using any proxy … | |
Re: just go to file menu then new project ---> other project types ---> setup and development ---> give name and select path where you want save your setup --->press ok after that a page will open having two columns , on your left side there will be there options 1-application … | |
Re: because all sharks are eated by whale :P why cant my computer do auto coding for me :P | |
Hello! I am working on updation of an old asp classic website. I have experience in Asp.net but dont know much about asp classic. I want to show my query results in xml format. I am getting data in my record set but unable to convert it into xml and … | |
Dear All! I am facing a small issue in showing xml in a proper format. I am getting proper xml data from my webservice. but after receiving it browser is treating it as a text and showing all test in single line. I want to show my xml data same … | |
Re: you can do something like this Page.ClientScript.RegisterStartupScript(this.GetType(),"CallMyFunction","MyFunction()",true); | |
Re: yes you can work on this idea. But I think you need something new in your inventory solution as there are lots of free online solutions are available. | |
Re: it is database application ? if yes then store data in encrypted format and on load of you master form check the date. You can also write date value in windows registry. here is the link [Click Here](http://stackoverflow.com/questions/1250455/read-and-write-to-the-registry-with-vb-net) . you can also save the date value in .ini file after … | |
Re: try to do something like this 'assume we have 8 textboxes with following name txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8 'now use this code Random random = new Random(); for(int i = 0;i<=3;i++) { int randomNumber = random.Next(1, 8); if(randomNumber == 1) txt1.Enable= false; if(randomNumber == 1) txt1.Enable= false; if(randomNumber == 1) txt1.Enable= false; . … | |
Re: I think you are changing just html of the grid and not performing backend operation. If possible please post your code here. | |
Re: you can use repeater control of asp.net for this purpose. just assign datasource to it. | |
Dear all! I am creating a proxy website, which will open a restricted site. Proxy is working very fine and I am happy with it.Now there is a site which only allow in my clients country. Site need username and password to allow user to view contents, Now I want … | |
Re: what type of elements you want to display ? you can use javascript and jquery for this purpose. Please be more specific about your issue. | |
Re: yes you can use ajax for this purpose. as minitauros said. |