15,913,233 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by ParkashKaur (Top 9 by date)
ParkashKaur
14-Nov-18 6:06am
View
Sir I has been try this code which is working in normal page is perfectely, but during email loading it failed? any Idea about this or please Improve it.
Welcome Dear User
ParkashKaur
2-Nov-18 8:07am
View
Thank to answer but this is not working.
ParkashKaur
29-Dec-15 3:11am
View
Sir
I have one table which is full text indexed
I had increase width of one field which is now varchar(300) from varchar(45)
but now at the searching time if I am create query with search table which is full text indexed not shown any result which is till now run perfectally as below
select * from dka.dbo.Title_Search where contains(*,'Plant')
and contains(*,'resources')
and contains(*,'of')
and contains(*,'Nagaland')
ParkashKaur
18-Jul-12 3:48am
View
Thanks for your advice it is quit help full for me.
ParkashKaur
3-Jul-12 8:02am
View
No Sir there is no problem while I am run this code with debug mode. its working perfectly. but when run it with EXE for the it close after 4 or 5th time of Edit record. It may be memory consumption not sure. should I clear memory or refresh something. cannot decide.
ParkashKaur
3-Jul-12 7:50am
View
Actually while debugging code there is no problem at all but while run exe for the same and during edit the record after 4th or 5th time it is close every time.
ParkashKaur
3-Jul-12 7:29am
View
Actually while debugging code there is no problem at all but while run exe for the same and during edit the record after 4th or 5th time it is close every time.
ParkashKaur
8-Jun-12 3:35am
View
I am talking about inbuilt function........
ParkashKaur
12-May-12 1:26am
View
this is my code to create custom control.
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
'using System.Linq;
Imports System.Text
Imports System.Windows.Forms
Imports System.Collections
Imports System.Collections.ObjectModel
Namespace WindowsApplication27
Partial Public Class CheckedListBoxColumn
Inherits DataGridViewColumn
Public Sub New()
MyBase.New(New CheckedListBoxCell())
End Sub
Public Overrides Property CellTemplate() As DataGridViewCell
Get
Return MyBase.CellTemplate
End Get
Set(ByVal value As DataGridViewCell)
If value IsNot Nothing AndAlso Not value.[GetType]().IsAssignableFrom(GetType(CheckedListBoxCell)) Then
Throw New InvalidCastException("Must be a CheckedListBoxCell")
End If
MyBase.CellTemplate = value
End Set
End Property
Friend Sub show()
Throw New NotImplementedException()
End Sub
Private Sub checkedListBoxEditingControl1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
' checkedListBoxEditingControl1.Items.Add("fs");
End Sub
End Class
Public Class CheckedListBoxCell
Inherits DataGridViewCell
Public Sub New()
MyBase.New()
End Sub
Public Overrides Sub InitializeEditingControl(ByVal rowIndex As Integer, ByVal initialFormattedValue As Object, ByVal dataGridViewCellStyle As DataGridViewCellStyle)
' Set the value of the editing control to the current cell value.
MyBase.InitializeEditingControl(rowIndex, initialFormattedValue, dataGridViewCellStyle)
Dim ctl As CheckedListBoxEditingControl = TryCast(DataGridView.EditingControl, CheckedListBoxEditingControl)
InitializeCheckedListBox(ctl, DirectCast(Me.FormattedValue, ICollection))
End Sub
Private Sub InitializeCheckedListBox(ByVal ctrl As CheckedListBox, ByVal value As ICollection)
ctrl.Items.Clear()
For Each obj As Object In value
' ctrl.Items.Add("fd");
ctrl.Items.Add(obj.ToString())
Next
ctrl.Tag = Me.Value
End Sub
Public Overrides ReadOnly Property EditType() As Type
Get
Return GetType(CheckedListBoxEditingControl)
End Get
End Property
Protected Overrides Function GetFormattedValue(ByVal value As Object, ByVal rowIndex As Integer, ByRef cellStyle As DataGridViewCellStyle, ByVal valueTypeConverter As System.ComponentModel.TypeConverter, ByVal formattedValueTypeConverter As System.ComponentModel.TypeConverter, ByVal context As DataGridViewDataErrorContexts) As Object
If value Is Nothing Then
Return New List(Of Object)()
End If
Return MyBase.GetFormattedValue(value, rowIndex, cellStyle, valueTypeConverter, formattedValueTypeConverter, context)
End Function
Public Overrides ReadOnly Property FormattedValueType() As Type
Get
Return GetType(ICollection)
End Get
End Property
Public Overrides Property ValueType() As Type
Get
Return GetType(ICollection)
End Get
Set(ByVal value As Type)
End Set
End Property
Private internalControl As CheckedListBox
Protected Overrides Sub Paint(ByVal graphics As System.Drawing.Graphics, ByVal clipBounds As System.Drawing.Rectangle, ByVal cellBounds As System.Drawing.Rectangle, ByVal rowIndex As Integer, ByVal cellState As DataGridViewElementStates, ByVal value As Object, _
ByVal formattedValue As Object, ByVal errorText As String, ByVal cellStyle As DataGridViewCellStyle, ByVal advancedBorderStyle As DataGridViewAdvancedBorderStyle, ByVal
Show More