Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
81% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #977
~12.5K People Reached
Favorite Tags

52 Posted Topics

Member Avatar for idthiru

As mentioned by [B]leonpwhirl[/B] ASP.net is the web development piece of the .net framework. .Net Framework is the platform, where the application runs. The applications are of 3 types - Windows Forms, Web and Console applications. Normally, the web application part of the .Net Framework is known as asp.net . …

Member Avatar for sathishvv
0
695
Member Avatar for jotae

If you want to update the graphical view of the form, then you need to use forms Refresh() method. But I think you are loading the data from external resources such as database or file to the forms fields like textbox, checkbox etc while [B]Loading the form[/B]. If this is …

Member Avatar for ajaypatidar
0
150
Member Avatar for WildBamaBoy

Check this: [url]http://stackoverflow.com/questions/1437382/get-file-type-in-net[/url]

Member Avatar for WildBamaBoy
0
96
Member Avatar for suvisoya
Member Avatar for jonnysmiths
0
110
Member Avatar for MrCapuchino

You can set the TabIndex property of the buttons accordingly. Ex: TabIndex of First Button to 0, Second Button to 1 & so on.

Member Avatar for aspproject
0
86
Member Avatar for deucalion0

The class diagrams are used to identify how the objects are designed and how they are interacting with each other. Altering the code to create a diagram doesn't make any sense! What is the problem, how you have find solution for that problem using oops(I mean how you have designed …

Member Avatar for deucalion0
0
136
Member Avatar for Arjun_Sarankulu

Try using [B]ColumnMappings[/B] [CODE] bc.ColumnMappings.Add(yourSourceColumnName,yourDestinationCoulmnName); [/CODE] In the above code, replace yourSourceColumnName with exact ColumnName of the DataTable and replace yourDestinationCoulmnName with exact ColumnName of the database. Before doing that, when you create the datatable you need to add the columns with the corresponding datatype: [CODE] yourDataTable.Columns.Add(new DataColumn("yourColumnName", Type.GetType("System.DateTime"))); //Then …

Member Avatar for Knvn
0
200
Member Avatar for girishsp

[QUOTE]if(//get property to get the value of combo box == "")[/QUOTE] [B]Text [/B]is one of the property of ComboBox right? what is the problem you are facing?

Member Avatar for Knvn
0
113
Member Avatar for Faz88

This error occurs, if the object which you are referring is Null. So, modify your last code block to: [CODE] catch (Exception aa) { MessageBox.Show("x " + aa); } finally { if (Adapter.InsertCommand.Connection != null) Adapter.InsertCommand.Connection.Close(); } [/CODE]

Member Avatar for Knvn
0
86
Member Avatar for Saikumar Adep

Create the functions: [CODE]create function idToRow(@ProductID as int) returns Varchar(500) as begin declare @temp varchar(100) set @temp='' select @temp+=CAST(id as varchar)+',' from yourTableName where ProductID=@ProductID return @temp end[/CODE] and [B]TaxDescriptionToRow[/B](same like idToRow), then call it like: [CODE]select ProductID,idToRow(ProductID),TaxDescriptionToRow(ProductID) from @table group by ProductID[/CODE]

Member Avatar for crishjeny
0
140
Member Avatar for aska07

If you are using framework 3.5 or above you can write LINQ query & bind it to listview.

Member Avatar for aska07
0
159
Member Avatar for fawadkhalil

I'm not sure about why this is happening...but I also came across with the same situation once. My Validation controls are not at all validating, then I used the below code on server side to force the validation. [CODE] if (!Page.IsValid) { return; } [/CODE]

Member Avatar for kvprajapati
0
98
Member Avatar for battlex2010
Member Avatar for battlex2010
0
280
Member Avatar for vedro-compota

[QUOTE]is there one more generic specification except T?[/QUOTE] T is just a place holder! you can change it anything that you want. [CODE]public class LinkedSet<T> : ISet<T> { public LinkedListElement<T> Root; public LinkedListElement<T> Focus; public class LinkedListElement<U> { //Below, use T instead if you mean this is a outer type(Then …

Member Avatar for vedro-compota
0
759
Member Avatar for niketakapoor

[B]You can not define a class inside a method.[/B] [CODE] public class Class1 { private void Method1() { //Body of Method1 } private void Method2() { //Body of Method2 } } public class Class2 { private void Method1() { //Body of Method1 } private void Method2() { //Body of Method2 …

Member Avatar for Knvn
0
96
Member Avatar for Nfurman

[QUOTE]I have a label which shows a record from DB. DateTime. I need to format it someway that instead of "Birth: 15/10/2000 00:00:00" it will show only "Birth: 15/10/2000".[/QUOTE] You can do it in many ways, In Code: String.Format("{0:dd/MM/yyyy}", yourDateTime); Or In SQL: SELECT CONVERT(varchar(10),yourDateTimeTyeColumnName,103)

Member Avatar for Nfurman
0
103
Member Avatar for baldandwild

You have declared the list [B]Totals [/B] local to the event handler [B]Averagebtn_Click[/B]. Hence, each time when the button is clicked, a new list is created. Instead, just declare it in the scope of the class.

Member Avatar for baldandwild
0
98
Member Avatar for xanawa
Member Avatar for abelLazm
0
76
Member Avatar for babafemi

Programming means not only(strictly saying NOT) a front end design. It is a way to find a solution for a problem. Any automated tool cannot give a solution for a problem by itself, but it will help to solve the problem. VS-IDE is not .Net architecture! its just a tool …

Member Avatar for Knvn
0
114
Member Avatar for domingo

Does the website is hosted on shared hosting? Does it works if you revert back to older version?

Member Avatar for Knvn
0
475
Member Avatar for functionalCode

In the GridView1_RowCommand event, you have to use [CODE] DropDownList ddl = (DropDownList)GridView1.Rows[Convert.ToInt32(e.CommandArgument)].FindControl("DropDownList1"); [/CODE]

Member Avatar for Knvn
0
122
Member Avatar for Mike Bishop

[CODE] Select SUBSTRING(TESTNAME,0,CHARINDEX('-',TESTNAME)) --Parameters Of SUBSTRING: Expression,from,until --From is passed as 0, because you need first part of the string. --CHARINDEX is used to get the Index of '-' in TESTNAME [/CODE]

Member Avatar for Mike Bishop
0
135
Member Avatar for denmarkstan

In which line you are getting the error? It would be better, if you provide only few lines of code which causes or seems to cause the error!

Member Avatar for Knvn
0
173
Member Avatar for arsheena.alam

[QUOTE]But My property window is different from the one shown by you!!!! [/QUOTE] The screen shot provided by [B]Momerath[/B] is the [B]Asp.Net web application[/B] and the options you are looking for is [B]Asp.Net websites[/B]. Just look @ the link: [url]http://forums.asp.net/p/1429006/3207001.aspx[/url], I guess you will get some useful info there.

Member Avatar for arsheena.alam
0
191
Member Avatar for leo88

The [B]Contains()[/B] method of a string will return [B]true[/B] only, if the given string is matched exactly to the source. So, you need to split the second string into individual characters and can use [B]Contains()[/B] method of the source string like, [CODE] string a = "1 2 2 4 5"; …

Member Avatar for leo88
0
338
Member Avatar for Nfurman

[B]Int32.Parse()[/B] will throw [B]Format exception[/B], if the values is other than [B]integer[/B]. [QUOTE] int Hisclass =Int32.Parse(ddlClasses.DataValueField.ToString()); [/QUOTE] Do you mean to use [B]int Hisclass =Int32.Parse(ddlClasses.SelectedValue);[/B]?

Member Avatar for Nfurman
0
104
Member Avatar for Falcon25

[Quote]The book goes on about overloading constructors but it hasn't actually said what overloading actually is [/Quote] In simple words Overloading is.... Multiple methods with the [COLOR="Green"]same name and different number of arguments[/COLOR] or [COLOR="Green"]same number of argument list with different data types[/COLOR]. Overloading the constructors is known as [B]Constructor …

Member Avatar for Falcon25
0
80
Member Avatar for Derice

I executed the below query on MS-SQL 2008 and it worked as expected. [CODE] DECLARE @table as table(A datetime,B datetime) insert into @table values('2011-04-01 00:00:00.000','2011-03-25 15:45:56.457') insert into @table values('2011-04-01 00:00:00.000','2011-03-25 15:52:37.933') insert into @table values('2011-04-09 00:00:00.000','2011-03-25 15:54:37.197') insert into @table values('2011-04-01 00:00:00.000','2011-03-25 16:05:30.023') insert into @table values('2011-03-31 00:00:00.000','2011-03-27 00:43:23.713') …

Member Avatar for Derice
0
175
Member Avatar for saj_amo

From the [B]Balance [/B] table you can take the latest row using the query: [CODE] select b1.* from @Balance b1 inner join ( select dep_id,MAX(Date) [Date] from @Balance where Date between '2011-03-01' and '2011-03-29' group by dep_id ) as b2 on b1.dep_id=b2.dep_id and b1.Date=b2.Date [/CODE] In order to get the …

Member Avatar for Knvn
0
83
Member Avatar for leo88

You can use foreach loop to your listbox to fetch individual item and add it to the listbox. However, the contents of your listbox items are not comfortable with the type [B]double[/B].

Member Avatar for Mitja Bonca
0
180
Member Avatar for paresh_thummar

What exactly the issue that you are experiencing? are you asking DB query?

Member Avatar for Knvn
0
87
Member Avatar for Arjun_Sarankulu

What exactly the error message that you are receiving? The possible issues that might occur while working on such function is [B]permission issue[/B] or the file is locked by some process.

Member Avatar for Knvn
0
92
Member Avatar for rbeach1955

Check: [url]http://forums.asp.net/t/1112458.aspx/1?Invalid+postback+or+callback+argument[/url]

Member Avatar for rbeach1955
0
112
Member Avatar for khan43
Member Avatar for Knvn
0
179
Member Avatar for khan43
Member Avatar for khan43
0
222
Member Avatar for 303factory

You can force the user using [B]OpenFileDialog[/B] itself. i.e. if the user is not selected desired drive or folder, prompt the dialog again or show some error.

Member Avatar for Knvn
0
50
Member Avatar for axman1000

The SQL server stores the date along with the time. Hence, when you are writing the query like: [B]date_of_req='2011-03-15'[/B] The server need to convert the string to date format. While doing so it will append the time as 00:00:00. So the query will return the result only when the [B]date_of_req[/B] …

Member Avatar for axman1000
0
181
Member Avatar for muzikhera

Take a look @ this: [url]http://stackoverflow.com/questions/905419/image-in-datatable[/url] [url]http://www.codeproject.com/KB/recipes/ImageConverter.aspx[/url]

Member Avatar for Knvn
0
116
Member Avatar for milad_trip
Member Avatar for omarshoaib

You can do it in 2 ways: 1. Store the image in a folder(@ any location on server). 2. Store the path of that folder on database. [B]OR[/B] 1. Convert the image to byte stream and 2. Store it in the database. While retrieving do the reverse process.

Member Avatar for Knvn
0
80
Member Avatar for ShaggyDogg
Member Avatar for ShaggyDogg
0
794
Member Avatar for alex-i
Member Avatar for Nitin Daphale

Since you have set the BodyFormat as MailFormat.Html, you can use [B]<br>[/B] for new line.

Member Avatar for Fortinbra
0
177
Member Avatar for ajinkya112

In Form1, 1. Store the combobox's selected value in the instance of structure. 2. When the button is pressed, pass that struct object to [B]Form2[/B]. In Form2, 1. Receive the struct object. 2. When the button is pressed, show the stored text by calling its method.

Member Avatar for Mitja Bonca
0
128
Member Avatar for surajmatekar

I think [B]session [/B]is the best way to do this. What is your problem with the [B]Sessions?[/B]

Member Avatar for surajmatekar
0
100
Member Avatar for Dhammakirty

Your code seems to be updating the same row of the destination table. [CODE] foreach (DataRow dr in _dtequityData.Rows) { DataRow r = drnew.NewRow(); drnew["fldDate"] = Convert.ToDateTime((dr["flddate"]).ToString(); drnew.Rows.Add(r); } [/CODE]

Member Avatar for Knvn
0
127
Member Avatar for Jay Johengen

Store the connection string in [B]web.config[/B] file and keep it constant on the server. I think the link [url]http://www.asp.net/hosting/tutorials/asp-net-hosting-options-cs[/url] is helpful for whole deployement process. Check [URL="http://www.asp.net/security/tutorials"]this link[/URL] too.

Member Avatar for Fortinbra
0
132
Member Avatar for shajan.lnt@gmai

If I understood your question properly, this is what you are looking for: [CODE]<div> <div style="width: 694px; height: 30px"> <div style="float: left; text-align: right; width: 340px;"> <asp:Label ID="Label1" runat="server" Text="User Name:"></asp:Label> </div> <div style="float: right; width: 340px;"> <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox> </div> </div> <div style="width: 694px; height: 30px"> <div style="float: left; …

Member Avatar for Fortinbra
0
656
Member Avatar for MARKAND911

You can use the following code to display the stack trace: [CODE] StackTrace ObjStackTrace = new StackTrace(); StackFrame[] ObjStackFrameArray = ObjStackTrace.GetFrames(); foreach (StackFrame stackFrame in ObjStackFrameArray) { Response.Write(stackFrame.GetMethod().Name); Response.Write("<br><br>"); } [/CODE]

Member Avatar for kvprajapati
0
139
Member Avatar for james6754

In general, object is a thing which you can realize, which you can identify, which you can able to call with a specific name. Ex: Book, Mobile, Vehicle, Water, Human etc... Lets consider that a bundle of pages are there in a table. That is neatly arranged by putting 2 …

Member Avatar for Momerath
0
143

The End.