Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
33% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
2
0 Endorsements
Ranked #3K
~10K People Reached

62 Posted Topics

Member Avatar for love_dude1984

Hi.. I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page. for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg …

Member Avatar for Dhanya_1
0
2K
Member Avatar for love_dude1984

Hi, Im using a datagridview with a object as its datasource.. Im willing to provide sorting functionality for the same but as the datasource is object it is not allowing me to sort the columns in the gridview. is ther any way to achieve the same? i have visited the …

Member Avatar for fairbanj
0
119
Member Avatar for love_dude1984

Hi, I'm willing to build a application which is very similar like an SVN application. (for more info on SVN, Please click [URL="http://en.wikipedia.org/wiki/Apache_Subversion"]HERE[/URL]. to see an example of SVN Please click [URL="http://tortoisesvn.net/downloads.html"]HERE[/URL].) Is it possible to build such an application in .net? i also want to know when the user …

0
91
Member Avatar for love_dude1984

Hi, I'm trying to build an windows application in C#, where i will be using Cache Application Block. I have downloaded the Microsoft's Enterprise Library (5.0), & also tried a sample too.. The sample works fine but there is a catch. I'm not willing to use a configuration file in …

0
118
Member Avatar for love_dude1984

Hi.. Im using VS08 to build my C# App. Im using a MVP architecture & LINQ. I have populated my datagridview. but my problem is, i want to sort the columns in the grid view whenver i click on the header of the column. There is no property to do …

Member Avatar for kvprajapati
0
314
Member Avatar for love_dude1984

hi.. im having a problem with a MDI forms..Im building an app where i need to call an MDI form in a MDI form.for ex., if MDI1 is my first MDI form, then i want to call the second MDI form, say MDI2, in the MDI1..that is MDI1 should work …

Member Avatar for love_dude1984
0
91
Member Avatar for love_dude1984

hi.. im using VS 2008 to build my app. i need to generate a report for a specific user. i have a SQl database which contains all my tables & Stored Proc's.. i have created a proc to retrieve data for tht specific user & used the same to bind …

Member Avatar for jbisono
0
96
Member Avatar for khan17

You can Sign out programatically using Session.Abandon() Method. To know more about Sessions click [URL="http://www.codeproject.com/KB/aspnet/ExploringSession.aspx"]here[/URL]

Member Avatar for khan17
-1
297
Member Avatar for love_dude1984

hi.. im trying to do some practice on interfaces when i found this problem. i just want to know that if i have 2 interfaces with the same method names. i can implement this 2 same method names in a derived class but i just don understand how to call …

Member Avatar for kvprajapati
0
113
Member Avatar for love_dude1984

hi.. im building an app wher i want to retrieve data from PDF which will be questions of some sort...like as follows.. A. Group A A.1 Whats your name? A.1.1 Whats your Middle name? A.1.2 Whats your sur name? The questions could also be like as follows.. A.1.1.2.3 question 1? …

Member Avatar for bhavu4u
0
127
Member Avatar for love_dude1984

hi all.. few ideas crossed my mind so i thought to discuss with you all & see if i get a good solution to build that application. usually i have seen that while surfing on the internet, or while on a skype call, i suddenly have to go out for …

0
79
Member Avatar for love_dude1984

hi.. i just wanted to know how can we create an installer for a website with the required packages in the same. the installer should check the host system for the requires softwares like .net framework or iis n etc. & if its not available then it should install the …

0
59
Member Avatar for love_dude1984

hi.. Im building an application in ASP.net where i have a button which should add more textboxes when clicked. the other textboxes are placed in a table so if i click the button it should a new row containin the textboxes.. please let me know wht code i can use …

Member Avatar for kvprajapati
0
69
Member Avatar for love_dude1984

hi... i just wanted to know how we can access the variable of 1 form to another form.as far as i know, ther is no session management concept in C#. for ex., i want to access my login id into the next form. then what will be the procedure to …

Member Avatar for rodrigobraz
0
452
Member Avatar for richamohit

you can make use of session variables. If the login is successful, then on the put this code [CODE] Session["id"]=[I]Id of the user[/I] Session["pwd"]=[I]password of the user[/I] [/CODE] & then redirect to the next page. on that page, on page load event, retrieve the session values as follows, [CODE] string …

Member Avatar for love_dude1984
0
86
Member Avatar for Sickness1

You can't update them directly. say, when u r in products page, insert the data into the database & load the admin page on its save button. or simply redirect to the admin page. & in the page load event of the admin page, write code to bind those 4 …

Member Avatar for love_dude1984
0
74
Member Avatar for love_dude1984

hi.. im trying to put my data on a server & work on the same from other machine..im using win2003 as OS of my server & on the other machine's XP is the OS. my problem is, when i try to run my C# applications from the other machines, it …

0
80
Member Avatar for love_dude1984

hi.. Im trying to install SQL Server 2005 on my server.. but at a certain point it is giving an error which is unknown to me..im attaching a snap of the error.please let me know how to solve this error.. What does that domain account mean??? wher i can create …

Member Avatar for Seten
0
116
Member Avatar for love_dude1984

hi... im writing a code in which i need to upload some files like pdf's images etc on ftp....my code saves all the files on ftp properly...but ther is one form which allows user to delete the same contents from ftp..n d code written to delete the contents is as …

0
69
Member Avatar for love_dude1984

hi.. im using a a gridview with template fields which contains labels to display the dynamic data from database.. my problem is, i want to use paging concept in the gridview. but as im using template fields & a dynamic database, im getting an error.. this is how im binding …

Member Avatar for mail2saion
0
130
Member Avatar for swethareddy

hi.. you cant add a calender control in a dropdown list..wht you need to do is, either use a button to show ur calender control or use Ajax Calender control. Click [URL="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx"]Here[/URL] for an Example. another way is to take a textbox control & place a imagebutton beside it. by …

Member Avatar for love_dude1984
0
95
Member Avatar for love_dude1984

hi.. im using a grid with a template field which contains a button.i just want to know how can i retrive a value from a 2nd cell of the same row... for ex. my grid contains 5 columns.the last col is a template field with a button. ther are say …

Member Avatar for love_dude1984
0
130
Member Avatar for kanuri1

Which database ur using?if SQL05 thn simply change the Identity specification property of the column to yes..it will automatically increment the value in that column.

Member Avatar for Ezzaral
0
136
Member Avatar for newcoder10

hi.. you want to restrict some specific words for a specific textbox? for ex, is it like you wanna restrict "abc","pqr","Xxx" for textbox1 & "^","&","#" for textbox10? or the words/chars are fixed for each n every textbox on the form?? you can either go for Regular expression or use client …

Member Avatar for newcoder10
0
119
Member Avatar for anup.maverick

you can even make use of sessions too... create a session on first page & on the 2nd n 3rd page check if any session exist or not. if session does not exist redirect user to 1st page... or create a session variable on first page (may be on your …

Member Avatar for greyhound
0
572
Member Avatar for mandar2886

try using following code, add the namespaces, [CODE]using System.Web.Mail; using System.Web.SessionState; using System.ComponentModel; [/CODE] modify the following code as per your convenience. [CODE]#region Code to send emails automatically //code for sending mail to Admin try { // Create a new blank MailMessage MailMessage email = new MailMessage(); // Set the …

Member Avatar for love_dude1984
0
115
Member Avatar for love_dude1984

hi.. Im using Sql server 2005 SP3 edition & i want to store my database on the live Database server..As i try to connect to the server normally, it gives me error, so i asked the server administrator, he asked me to connect to the server using Query editor. As …

-1
79
Member Avatar for love_dude1984

hi.. i want to know how we can attach a ext. javascript to server controls like buttons or Imagebuttons. cause in my app. im using few image buttons. i want to change the image of image button on mouseover event, but when i try to write properties in my source …

Member Avatar for chandru7
0
154
Member Avatar for love_dude1984

hi im trying to upload a file with the help of fileupload control. im using following code to save the file in to the database [code] upPic.SaveAs(Server.MapPath("Images/") + txtPrdId.Text.Trim() + ".jpg");//System.IO.Path.GetExtension(upPic.PostedFile.FileName)); [/code] the file gets saved perfectly..but when i try to display the same image somewher else, it shows a …

Member Avatar for Sals
0
132
Member Avatar for theAviator

hi.. Check This code and modify it..i have used a datagrid with template field. [CODE] #region To Set Image links for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { HyperLink chk2 = (HyperLink)(GridView1.Rows[i].Cells[5].FindControl("hypImage")); Label lbl = (Label)(GridView1.Rows[i].Cells[4].FindControl("lblPrId")); string s = Server.MapPath("Images\\"+ lbl.Text + ".jpg"); FileInfo file = new FileInfo(s); …

Member Avatar for theAviator
0
193
Member Avatar for love_dude1984

hi... im using a word editor in my app..i want to save all the data in the word editor to be saved in microsoft's word. does anybody have a code to create and save the data into the word doc. automatically? like when i click a button, it should automatically …

Member Avatar for chandru7
0
121
Member Avatar for love_dude1984

hi.. im having an issue with a table's border..im dev. an asp.net website,in which im retriving some images from the database & showing them into a datalist. i hv used 18 datalists in a table for the proper alignment of the datalists & images. now, my problem is, when i …

0
100
Member Avatar for misslilbit02

Set ur dropdownlists AutoPostback property to True, and write code on the SelectedIndexChanged property. for ex., you have items ABC,XYZ in your dropdownlist, then on SelectedIndexChanged event write a code something like this, [CODE] protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { if(DropDownList1.SelectedItem.Value=="ABC") { //code to display statewise jobs.. } if(DropDownList1.SelectedItem.Value=="XYZ") …

Member Avatar for Sals
0
209
Member Avatar for love_dude1984

hi.. im in need of a free word editor which can be used in my website.. if any1 knows where i can find it, please let me know.and also tell me how to use it too... Thanks..

Member Avatar for love_dude1984
0
90
Member Avatar for mystic2230

you need to create a GUI for the same, & need to write code to add new menus.. Click [URL="http://tinyurl.com/yarz6lp"]Here [/URL] for some Menu Info

Member Avatar for chandru7
0
118
Member Avatar for love_dude1984

hi.. im retriving some data from a database to a dataset...i want to show the data in a gridview..but my problem is, i want data to be shown in last to first format. i mean, if the dataset contains, A as first record & z as last record, then the …

Member Avatar for love_dude1984
0
117
Member Avatar for love_dude1984

hi.. i just wanted to know what exactly sharepoint server does??..and how we can use it when building web sites? Please let me know if any1 is having a good Ebook or tutorials on Sharepoint server. i dont know anything about sharepoint server so i need info. from scratch.. thanks..

Member Avatar for kvprajapati
0
63
Member Avatar for love_dude1984

hi.. im using file upload control to upload some files on my server. but the problem with the same is it uploads the files of specific size only. for ex, if i upload a file in KB's, it works perfectly...but when i try to upload files of more than 1 …

Member Avatar for mail2saion
0
92
Member Avatar for dskumar_85
Member Avatar for love_dude1984

hi.. can anybody help me to encrypt/decrypt a string? i want to encrypt a URL along with the parameters... plz let me know if any1 knows some good resources for the same.. thanks..

Member Avatar for Ramesh S
-1
134
Member Avatar for diru

Try this: [code] SqlConnection cn = new SqlConnection("Your ConnectionsString here"); SqlCommand cmd = new SqlCommand("Query to Retrieve data from database",cn); SqlDataAdapter da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds, "Data"); gridview.DataSource = ds.Tables[0]; gridview.DataBind(); [/code] define the variables globally if u want to use them more thn once.

Member Avatar for diru
0
94
Member Avatar for love_dude1984

hi, how can we create a new session? n i also want to knw how can i generate a new session id everytime i visit a page. even if i use Session.clear/Abandon method, it generates a same session id everytime i visit the page. hoping for a reply soon Thanks

Member Avatar for Ramesh S
0
163
Member Avatar for love_dude1984

hi, i want to store a arraylist in a session variable & retrieve it on the other page. how it can be done.. for example, [code] ArrayList ar = new ArrayList(); ar.Add("a"); ar.Add("b"); Session["id"] = ar; [/code] now how can i retrieve the arraylist on the other page? i tried …

Member Avatar for sanjaycedti
-1
88
Member Avatar for love_dude1984

hi.. i want to knw how i can create a link to some website which is valid for 3 hours only..im building an app wher i need to send this link to a user with the page name in encrypted format n which will be expired in 3 hours.. forexample, …

Member Avatar for sknake
-1
80
Member Avatar for love_dude1984

hello frndz.. i really need some urgent help on a simple problem. im storing a string in a database, say its "1 2 3",these are actually the id's of something. in order to get the name from the ID, i need to seperate the id's from the string, that is …

Member Avatar for carobee
0
167
Member Avatar for thilinam

hi.. Check for the ConnectionString.if the path of the database is of you file system, then copy your database into your directory in IIS.and thne you need to change the ConnectionString. Hope this will help. Thanks.

Member Avatar for thilinam
0
131
Member Avatar for sakhi kul

hi.. vuyiswamb's method is right. you can even use this method. take your calender control on a different form. and on event,say button click event,call the form by Javascript. Following is the code for the same. [code] protected void btnCalShow_Click(object sender, EventArgs e) { string str="<Script> window.open('form2.aspx','mywinodw','height=300,width=300') </script>"; Response.Write(str) } …

Member Avatar for sakhi kul
0
121
Member Avatar for love_dude1984

hello frends... well...i have got a prob here...im building a webuser Control and want to create a property for the same..i want to set multiple choices in the property box.i mean when ill use it on a .aspx form it should allow user to select to a value from multiple …

Member Avatar for love_dude1984
0
103
Member Avatar for love_dude1984

hello.. i just want to know how can i generate a new form using javascript which will be displayed just below one of my dropdownlist control. what i want to do is, i want a form to be generated just below a dropdownlist when i will click on a button.but …

Member Avatar for Ramesh S
0
89
Member Avatar for love_dude1984

hello frends.. i want to know how can we display a gridview in a drop down list? i want to retrieve some values from database and i want to show them into the a dropdownlist like displaying in a gridview. also when i select the item it should be used …

Member Avatar for reach_yousuf
0
101

The End.